Same output in wicd-cli even if fail or not

Bug #713656 reported by Samuel
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Unassigned

Bug Description

This is the only output of wicd-cli even if a connection success or fail
[piccolo@aspire wicd]$ wicd-cli -ySl
# BSSID Channel ESSID
0 00:1B:2F:98:BB:DA 11 NETGEAR
1 00:24:89:37:0D:95 6 Vodafone-11027936
2 00:0C:F6:4A:40:01 11 Sitecom4A4001
3 00:0C:F6:50:89:42 11 Sitecom508942
4 00:0E:8E:7F:79:DA 3 WLAN1603
5 00:18:4D:68:FA:A2 11 ANALISISERVICEWIRELESS
6 00:0C:F6:39:BD:52 11 Sitecom
7 00:90:D0:EC:24:78 6 SpeedTouch8350DB
[piccolo@aspire wicd]$ wicd-cli -y -c -n 1
Connecting to Vodafone-11027936 with None on wlan0
done!
[piccolo@aspire wicd]$ wicd-cli -y -c -n 0
Connecting to NETGEAR with None on wlan0
done!
[piccolo@aspire wicd]$ wicd-cli -y -c -n 3
Connecting to Sitecom508942 with wep-hex on wlan0
interface down...
resetting ip address...
flushing routing table...
interface up...
generating wpa config...
validating authentication...
running dhcp...
done!
[piccolo@aspire wicd]$ wicd-cli -y -c -n 0
Connecting to NETGEAR with None on wlan0
done!
[piccolo@aspire wicd]$ wicd-cli -y -c -n 2
Connecting to Sitecom4A4001 with None on wlan0
done!
[piccolo@aspire wicd]$ wicd-cli -y -c -n 3
Connecting to Sitecom508942 with wep-hex on wlan0
done!
[piccolo@aspire wicd]$ wicd-cli -y -c -n 3
Connecting to Sitecom508942 with wep-hex on wlan0
done!

wicd 1.7.0-6
Arch Linux
Kernel 2.6.37-ARCH

Revision history for this message
Samuel (samuelp88) wrote :
Revision history for this message
Martin Fox (belden-fox) wrote :

I encountered this bug also. From what I can tell the problem is that the connection is not synchronous; the connect call spawns a thread to actually connect and until that thread is initialized the CheckIfWiredConnecting or CheckIfWirelessConnecting calls return false. My (hack) solution was to insert this line

time.sleep(0.1)

into the script before the check calls are made. The correct solution is for the CheckIfBlahConnecting calls to return the right value during the interval between the Connect call and when the thread starts running.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.