Salut.
Je me connecte à la main en faisant /etc/init.d/networking start puis ifup wlan0.
Voici mes configs :
[quote=“dhclient.conf”]option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
#send host-name “andare.fugue.com”;
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
supersede domain-name-servers 80.10.246.2, 80.10.246.129;
#prepend domain-name-servers 208.67.222.222,208.67.220.220;
request subnet-mask, broadcast-address, time-offset, routers;
#require subnet-mask, domain-name-servers;
timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script “/etc/dhcp3/dhclient-script”;
#media “-link0 -link1 -link2”, “link0 link1”;
#reject 192.33.137.209;
#alias {
interface “eth0”;
fixed-address 192.5.5.213;
option subnet-mask 255.255.255.255;
#}
#lease {
interface “eth0”;
fixed-address 192.33.137.200;
medium “link0 link1”;
option host-name “andare.swiftmedia.com”;
option subnet-mask 255.255.255.0;
option broadcast-address 192.33.137.255;
option routers 192.33.137.250;
option domain-name-servers 127.0.0.1;
renew 2 2000/1/12 00:00:01;
rebind 2 2000/1/12 00:00:01;
expire 2 2000/1/12 00:00:01;
#}
[/quote]
Voilà mon problème : ce que me dit mon syslog :
Oct 7 18:25:50 localhost kernel: iwl3945 0000:02:00.0: firmware: requesting iwlwifi-3945-2.ucode
Oct 7 18:25:50 localhost kernel: iwl3945 0000:02:00.0: loaded firmware version 15.32.2.9
Oct 7 18:25:50 localhost kernel: Registered led device: iwl-phy0::radio
Oct 7 18:25:50 localhost kernel: Registered led device: iwl-phy0::assoc
Oct 7 18:25:50 localhost kernel: Registered led device: iwl-phy0::RX
Oct 7 18:25:50 localhost kernel: Registered led device: iwl-phy0::TX
Oct 7 18:25:52 localhost wpa_supplicant[7652]: Failed to initiate AP scan.
Oct 7 18:25:52 localhost dhclient: Internet Systems Consortium DHCP Client V3.1.2p1
Oct 7 18:25:52 localhost dhclient: Copyright 2004-2009 Internet Systems Consortium.
Oct 7 18:25:52 localhost dhclient: All rights reserved.
Oct 7 18:25:52 localhost dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Oct 7 18:25:52 localhost dhclient:
Oct 7 18:25:53 localhost dhclient: Listening on LPF/wlan0/00:1c:bf:ab:a7:1d
Oct 7 18:25:53 localhost dhclient: Sending on LPF/wlan0/00:1c:bf:ab:a7:1d
Oct 7 18:25:53 localhost dhclient: Sending on Socket/fallback
Oct 7 18:25:53 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Oct 7 18:25:54 localhost wpa_supplicant[7652]: CTRL-EVENT-SCAN-RESULTS
Oct 7 18:25:54 localhost wpa_supplicant[7652]: Trying to associate with 00:1e:37:ab:1f:9b (SSID='Livebox-40dd' freq=2457 MHz)
Oct 7 18:25:54 localhost wpa_supplicant[7652]: Association request to the driver failed
Oct 7 18:25:54 localhost kernel: wlan0: authenticate with AP 00:1e:37:ab:1f:9b
Oct 7 18:25:54 localhost kernel: wlan0: authenticated
Oct 7 18:25:54 localhost kernel: wlan0: associate with AP 00:1e:37:ab:1f:9b
Oct 7 18:25:54 localhost kernel: wlan0: RX AssocResp from 00:1e:37:ab:1f:9b (capab=0x411 status=0 aid=1)
Oct 7 18:25:54 localhost kernel: wlan0: associated
Oct 7 18:25:54 localhost wpa_supplicant[7652]: WPA: No SSID info found (msg 1 of 4).
Oct 7 18:25:54 localhost wpa_supplicant[7652]: Associated with 00:1e:37:ab:1f:9b
Oct 7 18:25:55 localhost wpa_supplicant[7652]: WPA: Key negotiation completed with 00:1e:37:ab:1f:9b [PTK=TKIP GTK=TKIP]
Oct 7 18:25:55 localhost wpa_supplicant[7652]: CTRL-EVENT-CONNECTED - Connection to 00:1e:37:ab:1f:9b completed (auth) [id=0 id_str=]
Oct 7 18:25:56 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Oct 7 18:25:57 localhost dhclient: DHCPOFFER from 192.168.1.1
Oct 7 18:25:57 localhost dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Oct 7 18:25:57 localhost dhclient: DHCPACK from 192.168.1.1
Oct 7 18:25:58 localhost dhclient: bound to 192.168.1.11 -- renewal in 267142 seconds.
Oct 7 18:26:04 localhost ntpdate[8342]: adjust time server 88.191.108.178 offset 0.482047 sec
Oct 7 18:27:31 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Oct 7 18:27:39 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
Oct 7 18:27:58 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
Oct 7 18:28:12 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
Oct 7 18:28:27 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Oct 7 18:28:32 localhost dhclient: No DHCPOFFERS received.
Oct 7 18:28:32 localhost dhclient: Trying recorded lease 192.168.1.16
Oct 7 18:28:32 localhost dhclient: bound: immediate renewal.
Oct 7 18:28:32 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:28:37 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:28:43 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:28:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:29:12 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:29:29 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:29:44 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:29:51 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:30:00 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Oct 7 18:30:18 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
(etc, etc... ça n'en finit pas)
Pourquoi s’obstine-t-il à se connecter en eth0 ? J’ai pourtant commenté la ligne allow-hotplug dans le fichier interfaces, et j’ai mis “timeout 60” dans dhclient.conf, mais ça ne change rien.
Remarquez j’ai quand même accès au net et tout mais ça pollue mon syslog…
____________________[i]
Remarques bonus :
je ne peux me connecter en wifi avec un dhclient wlan0. Seul ifup wlan0 fonctionne.
ma box c’est une livebox sagem qui fait parfois des siennes. J’utilise les dns orange comme précisé dans je ne sais plus quel fil de Junichirô[/i]
Merci