wicd 1.7.0-6 + dhcpcd/dhclient = fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
New
|
Undecided
|
Unassigned | ||
Debian |
New
|
Unknown
|
Bug Description
Hello,
Not so long ago I've upgraded my arch on eeepc901. Before that everything worked properly.
But now I've got troubles with connecting to my open wifi network:
wicd can't get IP via dhcpcd or dhclient.
But if I try to connect to the network manually I'm succeded.
I've searched for the problem, and found some threads for 2008-2010. But none of them had the solution, only the description of problem.
System info:
2.6.35-ARCH #1
Python 2.7 and 3.1.2 installed
wicd 1.7.0-6
testing repo added
wlan0 Ralink STA ESSID:"" Nickname:
Mode:Auto Frequency=2.462 GHz Access Point: 00:1C:F0:DA:6E:DB
Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Link Quality=100/100 Signal level:-42 dBm Noise level:-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Got following, while tried to connect via wicd:
dhcdcd enabled:
2010/10/16 15:23:31 :: setting use global dns to 0
2010/10/16 15:23:31 :: setting global dns
2010/10/16 15:23:31 :: global dns servers are
2010/10/16 15:23:31 :: domain is
2010/10/16 15:23:31 :: search domain is
2010/10/16 15:23:31 :: setting wireless interface wlan0
2010/10/16 15:23:31 :: setting wired interface eth0
2010/10/16 15:23:31 :: setting wpa driver wext
2010/10/16 15:23:31 :: setting automatically reconnect when connection drops 0
2010/10/16 15:23:31 :: setting backend to external
2010/10/16 15:23:31 :: Setting dhcp client to 2
2010/10/16 15:23:33 :: Connecting to wireless network HOME
2010/10/16 15:23:33 :: Putting interface down
2010/10/16 15:23:33 :: Releasing DHCP leases...
2010/10/16 15:23:33 :: Setting false IP...
2010/10/16 15:23:33 :: Stopping wpa_supplicant
2010/10/16 15:23:34 :: Flushing the routing table...
2010/10/16 15:23:34 :: Putting interface up...
2010/10/16 15:23:36 :: Running DHCP with hostname atomsk
2010/10/16 15:23:36 :: dhcpcd[4208]: version 5.2.7 starting
2010/10/16 15:23:36 ::
2010/10/16 15:23:36 :: dhcpcd[4208]: wlan0: broadcasting for a lease
2010/10/16 15:23:36 ::
2010/10/16 15:24:06 :: dhcpcd[4208]: timed out
2010/10/16 15:24:06 ::
2010/10/16 15:24:06 :: DHCP connection failed
2010/10/16 15:24:06 :: exiting connection thread
2010/10/16 15:24:09 :: Sending connection attempt result dhcp_failed
dhclient enabled:
2010/10/16 15:26:17 :: setting use global dns to 0
2010/10/16 15:26:17 :: setting global dns
2010/10/16 15:26:17 :: global dns servers are
2010/10/16 15:26:17 :: domain is
2010/10/16 15:26:17 :: search domain is
2010/10/16 15:26:17 :: setting wireless interface wlan0
2010/10/16 15:26:17 :: setting wired interface eth0
2010/10/16 15:26:17 :: setting wpa driver wext
2010/10/16 15:26:17 :: setting automatically reconnect when connection drops 0
2010/10/16 15:26:17 :: setting backend to external
2010/10/16 15:26:17 :: Setting dhcp client to 1
2010/10/16 15:26:19 :: Connecting to wireless network HOME
2010/10/16 15:26:19 :: attempting to set hostname with dhclient
2010/10/16 15:26:19 :: using dhcpcd or another supported client may work better
2010/10/16 15:26:19 :: Putting interface down
2010/10/16 15:26:19 :: Releasing DHCP leases...
2010/10/16 15:26:19 :: attempting to set hostname with dhclient
2010/10/16 15:26:19 :: using dhcpcd or another supported client may work better
2010/10/16 15:26:19 :: Setting false IP...
2010/10/16 15:26:19 :: Stopping wpa_supplicant
2010/10/16 15:26:19 :: Flushing the routing table...
2010/10/16 15:26:19 :: Putting interface up...
2010/10/16 15:26:21 :: Running DHCP with hostname atomsk
2010/10/16 15:26:21 :: attempting to set hostname with dhclient
2010/10/16 15:26:21 :: using dhcpcd or another supported client may work better
2010/10/16 15:26:21 :: Internet Systems Consortium DHCP Client 4.2.0
2010/10/16 15:26:21 :: Copyright 2004-2010 Internet Systems Consortium.
2010/10/16 15:26:21 :: All rights reserved.
2010/10/16 15:26:21 :: For info, please visit https:/
2010/10/16 15:26:21 ::
2010/10/16 15:26:21 :: can't create /var/db/
2010/10/16 15:26:23 :: Listening on LPF/wlan0/
2010/10/16 15:26:23 :: Sending on LPF/wlan0/
2010/10/16 15:26:23 :: Sending on Socket/fallback
2010/10/16 15:26:23 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
2010/10/16 15:26:26 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
2010/10/16 15:26:33 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
2010/10/16 15:26:44 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
2010/10/16 15:26:59 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
2010/10/16 15:27:16 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
2010/10/16 15:27:24 :: No DHCPOFFERS received.
2010/10/16 15:27:24 :: No working leases in persistent database - sleeping.
2010/10/16 15:27:24 :: DHCP connection failed
2010/10/16 15:27:24 :: exiting connection thread
2010/10/16 15:27:25 :: Sending connection attempt result dhcp_failed
2010/10/16 15:27:25 :: attempting to set hostname with dhclient
2010/10/16 15:27:25 :: using dhcpcd or another supported client may work better
And then I type:
iwconfig wlan0 essid HOME
dhcpcd wlan0
and got connected.
Changed in debian: | |
status: | Unknown → New |
My guess - it's a duplicate issue of #1098978
To see if it's so, just perform these steps:
while wicd is in state "obtaining IP address", run 'ps fax | grep dhcp' (without quotes) from terminal. You might need to run it few times till you obtain actual dhcp call that might look like this: "7736 ? S 0:00 \_ /sbin/dhcpcd -h darkstar --noipv4ll eth0"
Now try to run the command from terminal (/sbin/dhcpcd -h darkstar --noipv4ll eth0). If it fails, try to remove -h myhostname part and run again. If it succeeds, it's a bug #1098978.