Passphrase issue ends with "Unable to obtain IP"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
New
|
Undecided
|
Unassigned |
Bug Description
Original forum post was http://
The end resolution of his problem is as follows:
Then I have edited the template: /etc/wicd/
name = WEP (Passphrase)
author = Adam Blackburn
version = 1
require passphrase *Passphrase
-----
ctrl_interface=
network={
priority=5
}
I experienced a similar issue which was made more confusing by the fact that the error message in the GUI showed that I was connected but unable to obtain an IP address, when in fact I had apparently never successfully authenticated. The fix above took care of the issue.
My WICD version = Wicd 1.6.2.2
Linux distro = SuSE 11.2
Wicd log file
First section is failure:
2009/12/18 17:33:27 :: setting use global dns to 0
2009/12/18 17:33:27 :: setting global dns
2009/12/18 17:33:27 :: global dns servers are
2009/12/18 17:33:27 :: domain is
2009/12/18 17:33:27 :: search domain is
2009/12/18 17:33:27 :: setting wireless interface wlan0
2009/12/18 17:33:27 :: setting wired interface eth0
2009/12/18 17:33:27 :: setting wpa driver wext
2009/12/18 17:33:27 :: setting automatically reconnect when connection drops 1
2009/12/18 17:33:27 :: setting backend to external
2009/12/18 17:33:27 :: Setting dhcp client to 0
2009/12/18 17:33:29 :: Connecting to wireless network 2WIRE250
2009/12/18 17:33:29 :: Putting interface down
2009/12/18 17:33:30 :: Releasing DHCP leases...
2009/12/18 17:33:30 :: Setting false IP...
2009/12/18 17:33:30 :: Stopping wpa_supplicant
2009/12/18 17:33:30 :: Flushing the routing table...
2009/12/18 17:33:30 :: Putting interface up...
2009/12/18 17:33:30 :: Attempting to authenticate...
2009/12/18 17:33:32 :: Running DHCP
2009/12/18 17:33:52 :: err, wlan0: timed out
2009/12/18 17:33:52 ::
2009/12/18 17:33:52 :: DHCP connection failed
2009/12/18 17:33:52 :: exiting connection thread
2009/12/18 17:33:52 :: Sending connection attempt result dhcp_failed
Second section is success:
2009/12/18 18:07:29 :: wicd initializing...
2009/12/18 18:07:29 :: -------
2009/12/18 18:07:29 :: wicd is version 1.6.2.2 463
2009/12/18 18:07:29 :: setting backend to external
2009/12/18 18:07:29 :: trying to load backend external
2009/12/18 18:07:29 :: successfully loaded backend external
2009/12/18 18:07:29 :: trying to load backend external
2009/12/18 18:07:29 :: successfully loaded backend external
2009/12/18 18:07:29 :: Automatically detected wireless interface wlan0
2009/12/18 18:07:29 :: setting wireless interface wlan0
2009/12/18 18:07:29 :: automatically detected wired interface eth0
2009/12/18 18:07:29 :: setting wired interface eth0
2009/12/18 18:07:29 :: setting wpa driver wext
2009/12/18 18:07:29 :: setting use global dns to False
2009/12/18 18:07:29 :: setting global dns
2009/12/18 18:07:29 :: global dns servers are None None None
2009/12/18 18:07:29 :: domain is None
2009/12/18 18:07:29 :: search domain is None
2009/12/18 18:07:29 :: setting automatically reconnect when connection drops True
2009/12/18 18:07:29 :: Setting dhcp client to 0
2009/12/18 18:07:29 :: Wireless configuration file found...
2009/12/18 18:07:29 :: Wired configuration file found...
2009/12/18 18:07:29 :: chmoding configuration files 0600...
2009/12/18 18:07:29 :: chowning configuration files root:root...
2009/12/18 18:07:29 :: Using wireless interface...wlan0
2009/12/18 18:07:29 :: Using wired interface...eth0
2009/12/18 18:07:36 :: Autoconnecting...
2009/12/18 18:07:38 :: No wired connection present, attempting to autoconnect to wireless network
2009/12/18 18:07:39 :: trying to automatically connect to...2WIRE250
2009/12/18 18:07:39 :: Connecting to wireless network 2WIRE250
2009/12/18 18:07:39 :: Putting interface down
2009/12/18 18:07:39 :: Releasing DHCP leases...
2009/12/18 18:07:39 :: Setting false IP...
2009/12/18 18:07:39 :: Stopping wpa_supplicant
2009/12/18 18:07:39 :: Flushing the routing table...
2009/12/18 18:07:39 :: Putting interface up...
2009/12/18 18:07:39 :: Attempting to authenticate...
2009/12/18 18:07:41 :: Running DHCP
2009/12/18 18:07:44 ::
2009/12/18 18:07:44 :: DHCP connection successful
2009/12/18 18:07:44 :: Connecting thread exiting.
2009/12/18 18:07:46 :: Sending connection attempt result Success
I am having similar problems (using WPA2), though removing the quotes in my WPA/WPA-PSK template did not correct the issue. :-/ I can switch over to using the networkmanager daemon to connect to the same network without a hitch, but when I try to use wicd, no dice... Just fails at obtaining an IP address.