Comment 9 for bug 1419464

Revision history for this message
Cem Aydin (cem-aydin) wrote :

> wpa_supplicant is used for all types of encryption, including WEP, WPA,...

Ah, okay then.

> Can you do "sudo ifconfig wlan0 up" and right after that a "sudo wpa_cli -i wlan0 status; echo $?" to be sure? Thx :-)

Yes, of course:

~~~
$ sudo ifconfig wlan0 up
$ sudo wpa_cli -i wlan0 status;echo $?
Failed to connect to non-global ctrl_ifname: wlan0 error: No such file or directory
255
$ sudo ifconfig wlan0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
        ether 94:39:e5:50:23:5f txqueuelen 1000 (Ethernet)
        RX packets 49 bytes 16863 (16.4 KiB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 102 bytes 17153 (16.7 KiB)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
~~~

I tried it with wicd service stopped and running, both times the same.
I tried what happens when the downgraded wicd is installed and when the wlan is not connected, I get the same:

~~~
$ sudo ifconfig wlan0
wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500
        ether 94:39:e5:50:23:5f txqueuelen 1000 (Ethernet)
        RX packets 313 bytes 105306 (102.8 KiB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 396 bytes 59979 (58.5 KiB)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

$ sudo ifconfig wlan0 up
$ sudo ifconfig wlan0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
        ether 94:39:e5:50:23:5f txqueuelen 1000 (Ethernet)
        RX packets 313 bytes 105306 (102.8 KiB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 396 bytes 59979 (58.5 KiB)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

$ sudo wpa_cli -i wlan0 status;echo $?
Failed to connect to non-global ctrl_ifname: wlan0 error: No such file or directory
255
~~~

However, when the wlan is connected, by clicking "Connect" in wicd-client first (which works with the downgraded version), I get:

~~~
$ sudo ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 192.168.0.126 netmask 255.255.255.0 broadcast 192.168.0.255
        inet6 fe80::cb8:f5e0:14e9:f8e5 prefixlen 64 scopeid 0x20<link>
        ether 94:39:e5:50:23:5f txqueuelen 1000 (Ethernet)
        RX packets 323 bytes 108098 (105.5 KiB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 417 bytes 62385 (60.9 KiB)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

$ sudo wpa_cli -i wlan0 status;echo $?
bssid=e0:91:f5:78:7c:f0
freq=0
ssid=WG-WLAN
id=0
mode=station
pairwise_cipher=WEP-40
group_cipher=WEP-40
key_mgmt=NONE
wpa_state=COMPLETED
ip_address=192.168.0.126
address=94:39:e5:50:23:5f
uuid=554f2c74-3abb-5580-80ad-3da1e1e3b3d5
0
~~~

So the error before connecting is basically the same...