Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wicd will not connect to wireless network
Date: Sun, 26 Feb 2012 09:36:44
Message-Id: 20120226113401.3c4ba4f4@khamul.example.com
In Reply to: [gentoo-user] wicd will not connect to wireless network by Dan Johansson
1 On Sun, 26 Feb 2012 10:19:56 +0100
2 Dan Johansson <Dan.Johansson@×××.nu> wrote:
3
4 > Hi,
5 >
6 > After running an update yesterday (about 50 packages) on my ~x86
7 > laptop, wicd stopped working, and no wicd was not updated neither was
8 > any other network related packages. Today after a reboot my wireless
9 > network refused to start from wicd, starting it manually works. This
10 > is a part of the wicd.log:
11 >
12 > 2012/02/26 09:53:51 :: enctype is wpa
13 > 2012/02/26 09:53:51 :: Generating psk...
14 > 2012/02/26 09:53:51 :: ['/usr/bin/wpa_passphrase', 'DMJ',
15 > 'Do_not_care_about_this'] 2012/02/26 09:53:51 :: Attempting to
16 > authenticate... 2012/02/26 09:53:51 :: ['wpa_supplicant', '-B', '-i',
17 > 'wlan0', '-c', '/var/lib/wicd/configurations/000f90ac2780', '-D',
18 > dbus.String(u'wext', variant_level=1)] 2012/02/26 09:53:51 ::
19 > ['iwconfig', 'wlan0', 'essid', '--', 'DMJ'] 2012/02/26 09:53:51 ::
20 > iwconfig wlan0 channel 13 2012/02/26 09:53:51 :: iwconfig wlan0 ap
21 > 00:0F:90:AC:27:80 2012/02/26 09:53:51 :: WPA_CLI RESULT IS
22 > DISCONNECTED 2012/02/26 09:53:52 :: WPA_CLI RESULT IS COMPLETED
23 > 2012/02/26 09:53:52 :: Running DHCP with hostname mutgdjoda1
24 > 2012/02/26 09:53:52 :: /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0
25 > 2012/02/26 09:53:52 :: dhcpcd[12434]: sending commands to master
26 > dhcpcd process 2012/02/26 09:53:52 :: 2012/02/26 09:53:52 ::
27 > 2012/02/26 09:53:52 :: DHCP connection successful
28 > 2012/02/26 09:53:52 :: not verifying
29 > 2012/02/26 09:53:52 :: Connecting thread exiting.
30 > 2012/02/26 09:53:52 :: ifconfig wlan0
31 > 2012/02/26 09:53:52 :: IP Address is: None
32 > 2012/02/26 09:53:52 :: Sending connection attempt result success
33 > 2012/02/26 09:53:52 :: ifconfig eth0
34 > 2012/02/26 09:53:52 :: iwconfig wlan0
35 > 2012/02/26 09:53:52 :: Forced disconnect on
36 > 2012/02/26 09:53:52 :: /sbin/dhcpcd -k wlan0
37 >
38 >
39 > Running the commands "by hand" everything works:
40 >
41 > # wpa_supplicant -B -i wlan0
42 > -c /var/lib/wicd/configurations/000f90ac2780 -D wext
43 >
44 > # wpa_cli status
45 > Selected interface 'wlan0'
46 > bssid=00:0f:90:ac:27:80
47 > ssid=DMJ
48 > id=0
49 > mode=station
50 > pairwise_cipher=TKIP
51 > group_cipher=TKIP
52 > key_mgmt=WPA-PSK
53 > wpa_state=COMPLETED
54 > ip_address=192.168.1.21
55 >
56 > # /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0
57 > dhcpcd[28962]: sending commands to master dhcpcd process
58 >
59 > # ifconfig wlan0
60 > wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
61 > inet 192.168.1.21 netmask 255.255.255.0 broadcast
62 > 192.168.1.255 ether 00:18:de:e1:c9:71 txqueuelen 1000 (Ethernet)
63 > RX packets 128 bytes 21081 (20.5 KiB)
64 > RX errors 0 dropped 20 overruns 0 frame 0
65 > TX packets 143 bytes 24546 (23.9 KiB)
66 > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
67 >
68 > And my wireless connection works!
69 >
70 > Anny suggestions what's wrong?
71 >
72 > Regards,
73
74 I'm having similar issues with an Intel N6300 since a reboot.
75
76 In my case it fails with this:
77
78 [ 76.232020] wlan0: deauthenticating from
79 xx:xx:xx:xx:xx:xx by local choice (reason=3)
80
81 Which means something deauthed the connection in the meantime. This
82 happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
83
84 It doesn't make a whole lot of sense. If you are also running 3.2.6,
85 try 3.2.5 - if that works we are onto something.
86
87
88 --
89 Alan McKinnnon
90 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] wicd will not connect to wireless network Willie WY Wong <wongwwy@××××××××××.org>