Bonwlanconfig ath0 destroy a réglé le problème:
[code]PCsalon:/home/gerard# wlanconfig ath0 destroy
PCsalon:/home/gerard# wlanconfig ath0 create wlandev wifi0 wlanmode managed
ath0
PCsalon:/home/gerard# iwconfig ath0 essid XXXXX-XXXXXX
PCsalon:/home/gerard# iwconfig ath0 key XXXXXXXXXXXXXXXXXXXX
PCsalon:/home/gerard# iwconfig ath0 channel 11
PCsalon:/home/gerard# ifconfig ath0 up
PCsalon:/home/gerard# dhclient ath0
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/06:18:4d:ed:8e:d8
Sending on LPF/ath0/06:18:4d:ed:8e:d8
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
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 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
PCsalon:/home/gerard# wlanconfig ath0 create wlandev wifi0 wlanmode managed
wlanconfig: ioctl: Input/output error
PCsalon:/home/gerard# wlanconfig ath0 destroy
PCsalon:/home/gerard# wlanconfig ath0 create wlandev wifi0 wlanmode managed
ath0
PCsalon:/home/gerard# iwconfig ath0 essid XXXXX-XXXXXX
PCsalon:/home/gerard# iwconfig ath0 ap 00:16:38:CD:39:6F
PCsalon:/home/gerard# iwconfig ath0 channel 11
PCsalon:/home/gerard# iwconfig ath0 key XXXXXXXXXXXXXXXXXXXX
PCsalon:/home/gerard# ifconfig ath0 up
PCsalon:/home/gerard# dhclient ath0
There is already a pid file /var/run/dhclient.pid with pid 2604
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/06:18:4d:ed:8e:d8
Sending on LPF/ath0/06:18:4d:ed:8e:d8
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
PCsalon:/home/gerard# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:“XXXXX-XXXXXX” Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 00:16:38:CD:39:6F
Bit Rate:0 kb/s Tx-Power:18 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:XXXXXXXXXXXXXXXXXXXX Security mode:restricted
Power Management:off
Link Quality=0/70 Signal level=-96 dBm Noise level=-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code]
Manifestement, cela ne marche pas