Probleme de connexion wifi sous debian

lolay -  
R-Daneel Messages postés 1168 Statut Membre -
Bonjour,
j' ai configuré mon pc portable acer aspire 5720Z sous débian mais jai un probleme pour la connexion wifi :

* modèle de carte wifi: atheros =>madwifi
* distribution=> debian
* type de routeur => neufbox
* le résultat des commandes :

exo:/home/exo# /sbin/iwconfig

lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"eXo_Home" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s Tx-Power:16 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/70 Signal level=-94 dBm Noise level=-94 dBm
Rx invalid nwid:9853 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

exo:/home/exo# /sbin/ifconfig
ath0 Link encap:Ethernet HWaddr 00:1c:26:ae:a3:ed
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:930 errors:0 dropped:0 overruns:0 frame:0
TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:438966 (428.6 KiB) TX bytes:80093 (78.2 KiB)

ath0:avahi Link encap:Ethernet HWaddr 00:1c:26:ae:a3:ed
inet adr:169.254.9.160 Bcast:169.254.255.255 Masque:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1

eth0 Link encap:Ethernet HWaddr 00:1b:38:62:04:a9
inet adr:192.168.1.24 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::21b:38ff:fe62:4a9/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1579 errors:0 dropped:0 overruns:0 frame:0
TX packets:1636 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:1447449 (1.3 MiB) TX bytes:266417 (260.1 KiB)
Interruption:18

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:184 errors:0 dropped:0 overruns:0 frame:0
TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:15990 (15.6 KiB) TX bytes:15990 (15.6 KiB)

wifi0 Link encap:UNSPEC HWaddr 00-1C-26-AE-A3-ED-6C-6F-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62447 errors:0 dropped:0 overruns:0 frame:3213
TX packets:17804 errors:2 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:280
RX bytes:6977648 (6.6 MiB) TX bytes:885131 (864.3 KiB)
Interruption:17

exo:/home/exo# /sbin/route -n

Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ath0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 1000 0 0 ath0

exo:/home/exo# cat /etc/resolv.conf

nameserver 192.168.1.1


exo:/home/exo# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp



iface ath0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf



exo:/home/exo# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1

network={
ssid="eXo_Home"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk=xxxxxxxxxxxxxxxxxxxx
priority=5
}

voila si quelqun peu maider merci d'avance

29 réponses

R-Daneel Messages postés 1168 Statut Membre 142
 
Bonjour,

As tu regardé ICI ?
0
lolay
 
oui jai deja regarder la ...

ca me prend la tete parce que qd je desactive sur le routeur une identifaication par clé wep ou wap sa fonctionne ... mais bon vaut mieux sécuriser!!
0
R-Daneel Messages postés 1168 Statut Membre 142 > lolay
 
Oui tu as raison.
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Je pense que tu as déjà fait ça :

iwconfig ath0 essid MYACCESSPOINT
iwconfig ath0 key 12345abcde
0
lolay
 
quand je met ma clé avec la commande que tu m'as donné ca me marque :
"Error for wireless request "Set Encode" (8B2A) :
invalid argument ............"
0
lolay > lolay
 
puis c'est peut etre parce que jai mal configurer les reglage reseaux.... en fait je sais pas ou ca ne va pas!!!

quand jai taper:
sudo ifconfig ath0 up
sudo dhclient ath0

ca ma donné ca :

exo:/home/exo# dhclient ath0

There is already a pid file /var/run/dhclient.pid with pid 11143
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1c:26:ae:a3:ed
Sending on LPF/ath0/00:1c:26:ae:a3:ed
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

donc c'est la qui ya un beug.
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Et si tu utilises cette commande ?

iwconfig wlan0 enc < key >
0
Kharec Messages postés 4146 Date d'inscription   Statut Contributeur Dernière intervention   510
 
Et si tu branche en ethernet pour configurer ça ?
0
R-Daneel Messages postés 1168 Statut Membre 142
 
non non c'est la configuration du wifi donc pas besoin de brancher un cable.
0
lolay
 
ca marche tjs pas argument invalide ....
0
lolay > lolay
 
ms qd on tape cette commande:

dhclient ath0


on devrai avoir par exemple ca:
mando@cenedra) (~) $ sudo dhclient eth1
[sudo] password for root:
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth1/00:19:d2:4d:2e:f5
Sending on LPF/eth1/00:19:d2:4d:2e:f5
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.13 on eth1 to 255.255.255.255 port 67
....
DHCPACK of 192.168.0.13 from 192.168.0.254
bound to 192.168.0.13 -- renewal in 343576 seconds


moi j'ai pas ca , jai:

exo:/home/exo# dhclient ath0
There is already a pid file /var/run/dhclient.pid with pid 11143
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1c:26:ae:a3:ed
Sending on LPF/ath0/00:1c:26:ae:a3:ed
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


dc c la que ca beug , non?
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
R-Daneel Messages postés 1168 Statut Membre 142
 
Pourrais-tu copier ici le résultat d'un lspci, s'il te plait ?
0
lolay
 
voila:

exo:/home/exo# lspci

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)
04:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
07:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
07:00.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:00.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
07:00.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Je pense qu'il va faloir que tu recopiles le pilote à partir d'ICI
0
lolay
 
oula je fais comment?
0
R-Daneel Messages postés 1168 Statut Membre 142 > lolay
 
recompile pas recopile :-)
0
lolay > R-Daneel Messages postés 1168 Statut Membre
 
donc en fait ds le lien que tu mas passé je doi cliquer sur quoi "reply" ou attach file"?
0
R-Daneel Messages postés 1168 Statut Membre 142
 
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Avant d'aller plus loin, essayes de le suivre. Il est bien
0
lolay
 
oui c ce tuto que jai suivi ms ca a pas marcher je v le refaire on vera bien
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Oups ! pardon. Tu as du le faire car je suis remonté et ton fichier wpa_suplicant.conf est bon.

Désolé.
0
lolay
 
c'est a la 4eme etape que ca marche pas.
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Bon ben il ne reste plus que la compilation du pilote.

Il faut que tu charge les headers correspondant à ton noyau (ex: linux-headers-2.6.....), le paquet de fichier source linux (ex : linux-source-2.6......) . Normalement le compilateur GCC est installé.

Pour connaitre ta version de linux : uname -r
0
lolay
 
quand jai chargé les 2 paquet je fai comment apres ?
0
lolay
 
je les ai installé avec synaptic........
0
R-Daneel Messages postés 1168 Statut Membre 142
 
tu décompresses linux-sources dans le dossier /usr/src

Puis tu télécharges le pilote mdwifi ICI

Tu le décompresse dans un dossier et tu lis les README..... où est expliqué comment le compiler.
0
lolay
 
jai decompressé et la je fais la commande "make" et "make install" .... puis on verra bien
0
lolay
 
par contre ce n'est pas di dans quel repertoire je doi mettre cest fichier ... jai juste creé dans mon home un dossier driver......
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Ok. Make install le met au bon endroit
0
lolay
 
oki dc ben jai plu rien a faire apart voir avec iwconfig comment ca été configuré.....
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Tu n'as pas eu de messages d'erreur ?
0
lolay
 
qd jai fai make install non pas d'erreur...
0
R-Daneel Messages postés 1168 Statut Membre 142
 
Cool
0
lolay
 
par contre je doit activer ath0 ou wifi0 parce que jai refai la commande "dhclient athO" ca me met toujour la meme chose:exo:~# dhclient ath0
There is already a pid file /var/run/dhclient.pid with pid 11480
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1c:26:ae:a3:ed
Sending on LPF/ath0/00:1c:26:ae:a3:ed
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
0
lolay > lolay
 
si on passe ce pb je suis cencé faire quelle manipulation apres?
0
R-Daneel Messages postés 1168 Statut Membre 142
 
redémarre l'ordi pour tout mettre à jour
0
lolay
 
oki
0
lolay > lolay
 
ca y est redemarer...
0
R-Daneel Messages postés 1168 Statut Membre 142
 
copie ici le iwconfig svp
0
lolay
 
exo:/home/exo# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"eXo_Home" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:11 Mb/s Tx-Power:16 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=7/70 Signal level=-89 dBm Noise level=-96 dBm
Rx invalid nwid:21568 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
0
R-Daneel Messages postés 1168 Statut Membre 142
 
tu peux me faire une copie de /etc/network/interfaces svp ?
0
lolay
 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp



iface ath0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wireless-essid eXo_Home

auto ath0
0
R-Daneel Messages postés 1168 Statut Membre 142
 
face ath0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wireless-essid eXo_Home

ajoute cela :


wireless_mode managed
wireless_chanel <ton numéro de canal wifi>
0
lolay
 
c'est fait!
0