Bonjour !
Je suis l’heureux propriétaire d’un nouveau routeur Wifi, que j’ai configuré WPA-PSK. La connexion se fait sans problème en IP statique, mais impossible d’utiliser le DHCP…
Le routeur envoie bien des offres:
12/12/2008 23:27:47 sending OFFER to 192.168.1.3
12/12/2008 23:27:44 sending OFFER to 192.168.1.3
12/12/2008 23:27:43 sending OFFER to 192.168.1.3
...
… mais dhclient ne reçoit rien.
Par ethernet, tout fonctionne avec ou sans DHCP. Idem avec WEP.
Que puis-je tenter ?
Machine sous Debian sid, noyau:
# uname -a
Linux stachpc 2.6.26-1-686-bigmem #1 SMP Wed Nov 26 20:00:34 UTC 2008 i686 GNU/Linux
Le chipset :
# lspci | grep -i wireless
06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Le driver :
# lsmod | grep iwl
iwl3945 79572 0
firmware_class 7584 1 iwl3945
mac80211 141248 1 iwl3945
cfg80211 23816 2 iwl3945,mac80211
led_class 4676 2 iwl3945,asus_laptop
Le fichier d’interfaces:
$ cat /etc/network/interfaces
(...)
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf &
post-down killall -q wpa_supplicant
(...)
ifconfig / iwconfig
# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:13:02:bc:18:43
adr inet6: fe80::213:2ff:febc:1843/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:703 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:2825 (2.7 KiB) TX bytes:236448 (230.9 KiB)
# iwconfig wlan0
wlan0 IEEE 802.11abg ESSID:"Mon SSID"
Mode:Managed Frequency:2.457 GHz Access Point: 00:1D:19:D6:F6:0A
Bit Rate=54 Mb/s Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:95BF-CB48-AB65-6576-8F72-7B97-B8E5-6B48 [3] Security mode:open
Power Management:off
Link Quality=91/100 Signal level:-40 dBm Noise level=-127 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0