Static wired connection never succeeds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When configured to use DHCP, a connection to my wired network succeeds (assuming I have the DHCP server running elsewhere). However, if I configure the wired connection to use a static IP number instead, wicd never succeeds to make a connection. When "connect" is hit wicd goes off to do its thing. Using "ifconfig" in a terminal shows that it does in fact correctly set up the interface. However, after a few seconds this is undone and the GUI connection status reverts to "disconnected".
After turning on "debug" the following is written to the log file during a connection attempt as described above.
{{{
2011/09/16 22:38:02 :: Putting interface up...
2011/09/16 22:38:02 :: ifconfig eth0 up
2011/09/16 22:38:04 :: Setting static IP : 192.168.1.199
2011/09/16 22:38:04 :: ifconfig eth0 192.168.1.199 netmask 255.255.255.0
2011/09/16 22:38:04 :: Setting default gateway : 192.168.1.254
2011/09/16 22:38:04 :: route add default gw 192.168.1.254 dev eth0
2011/09/16 22:38:04 :: Setting DNS : 192.168.1.254
2011/09/16 22:38:04 :: Connecting thread exiting.
2011/09/16 22:38:04 :: ifconfig eth0
2011/09/16 22:38:04 :: IP Address is: 192.168.1.199
2011/09/16 22:38:04 :: Sending connection attempt result Success
2011/09/16 22:38:04 :: ifconfig wlan0
2011/09/16 22:38:04 :: Forced disconnect on
2011/09/16 22:38:04 :: iwconfig wlan0
2011/09/16 22:38:04 :: /sbin/dhcpcd -k wlan0
2011/09/16 22:38:04 :: ifconfig wlan0 0.0.0.0
2011/09/16 22:38:04 :: /sbin/ip route flush dev wlan0
2011/09/16 22:38:04 :: ifconfig wlan0 down
2011/09/16 22:38:04 :: ifconfig wlan0 up
2011/09/16 22:38:05 :: wpa_cli -i wlan0 terminate
2011/09/16 22:38:05 :: /sbin/dhcpcd -k eth0
2011/09/16 22:38:05 :: ifconfig eth0 0.0.0.0
2011/09/16 22:38:05 :: /sbin/ip route flush dev eth0
2011/09/16 22:38:05 :: ifconfig eth0 down
}}}
In other words, the daemon believes it has connected successfully and sends a message to this effect. However, the GUI doesn't seem to understand this, concludes that there was a problem and promptly shuts the connection down.
This is with wicd 1.7.0 running on Slackware 13.37, using the package provided in extra/ on the Slackware 13.37 distribution.
I have the same problem on Ubuntu 12.04 using wicd 1.7.2.3