Bonjour,
J'essaye d'installer le wifi sous Debian Sid mais impossible de me connecter. Plus génant, je n'arrive pas à savoir pourquoi
Voici ce que j'ai fait pour l'installation :
- Installation des modules pour ma clés USB wifi Asus WL-167g :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 # apt-get install rt2x00-source # module-assistant prepare # module-assistant get rt2x00 # module-assistant build rt2x00- Installation des outils de configuration
Code : Sélectionner tout - Visualiser dans une fenêtre à part # apt-get install wireless-tools wpasupplicant- Configuration de la clés WPA :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 # cat /etc/wpa_supplicant.conf network={ ssid="La_Poisse" psk=xxx key_mgmt=WPA-PSK pairwise=TKIP }
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 # cat /etc/default/wpasupplicant ENABLED=1 OPTIONS="-B -Dwext -iwlan0 -dd -c/etc/wpa_supplicant.conf"- Configuration de l'interface :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 # 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 wlan0 inet dhcp wireless-essid La_Poisse auto wlan0
Test de connexion :
J'ai aussi essayé en modifiant uniquement le fichier /etc/network/interfaces :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 # ifup wlan0 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 SIOCSIFFLAGS: No such file or directory SIOCSIFFLAGS: No such file or directory wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:18:f3:9a:75:75 Sending on LPF/wlan0/00:18:f3:9a:75:75 Sending on Socket/fallback receive_packet failed on wlan0: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 send_packet: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1 send_packet: Network is down No DHCPOFFERS received. No working leases in persistent database - sleeping.
Mais j'obtiens une erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 iface wlan0 inet dhcp pre-up iwconfig wlan0 essid "La_Poisse" pre-up iwconfig wlan0 mode Managed pre-up iwpriv wlan0 set param AuthMode=WPAPSK pre-up iwpriv wlan0 set param EncrypType=AES pre-up iwpriv wlan0 set param WPAPSK="xxx"
Si vous avez la moindre idée pour faire avancer le smilblick
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 # /etc/init.d/networking restart Reconfiguring network interfaces...Invalid command : set Failed to bring up wlan0. done.
---
Informations utiles :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 # cat /var/log/messages [...] Oct 13 17:27:58 moisi-box kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2. Oct 13 17:27:58 moisi-box kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2. Oct 13 17:27:58 moisi-box kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2. Oct 13 17:27:58 moisi-box kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2. Oct 13 17:27:58 moisi-box kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2. Oct 13 17:27:58 moisi-box kernel: phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'. Oct 13 17:27:58 moisi-box kernel: phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'. [...]
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 # ifconfig -a eth0 Lien encap:Ethernet HWaddr 00:18:F3:EC:ED:AB BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interruption:17 Adresse de base:0x6000 lo Lien 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:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:1400 (1.3 KiB) TX bytes:1400 (1.3 KiB) wlan0 Lien encap:Ethernet HWaddr 00:18:F3:9A:75:75 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) wmaster0 Lien encap:UNSPEC HWaddr 00-18-F3-9A-75-75-00-00-00-00-00-00-00-00-00-00 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 # iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11g ESSID:"La_Poisse" Mode:Managed Channel:0 Access Point: Not-Associated Retry min limit:7 RTS thr:off Fragment thr=2346 B Encryption key:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70 #lsusb -v [...] Bus 001 Device 005: ID 0b05:1723 ASUSTek Computer, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0b05 ASUSTek Computer, Inc. idProduct 0x1723 bcdDevice 0.01 iManufacturer 1 Ralink iProduct 2 802.11 bg WLAN iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 300mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered) [...]
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 # lsmod [...] rt73usb 27008 0 rt2x00usb 10784 1 rt73usb rt2x00lib 23680 2 rt73usb,rt2x00usb crc_itu_t 2144 1 rt2x00lib firmware_class 9504 2 rt2x00lib,bttv mac80211 120644 3 rc80211_simple,rt2x00usb,rt2x00lib usbcore 125096 9 snd_usb_audio,snd_usb_lib,rt73usb,rt2x00usb,usbhid,usb_storage,ohci_hcd,ehci_hcd [...]
Partager