Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wpa_supplicant connect-disconnect loop
Date: Sun, 12 Dec 2010 02:07:41
Message-Id: 4D042E46.9000909@gmail.com
In Reply to: Re: [gentoo-user] wpa_supplicant connect-disconnect loop by Valmor de Almeida
1 On 12/11/2010 08:35 PM, Valmor de Almeida wrote:
2 > On 12/11/2010 06:28 PM, Mick wrote:
3 >> On Saturday 11 December 2010 20:26:54 Valmor de Almeida wrote:
4 >>> Hello,
5 >>>
6 > [snip]
7 >>>
8 >>> There were a number of steps to get to where I am now and I would be
9 >>> glad to post additional information if required.
10 >>
11 >> You could try changing channels (if there is a clash with other local APs) but
12 >> it's most likely that the dropouts you notice are due to the wireless driver.
13 >> Waiting for developers to catch up or using later drivers/firmware usually
14 >> fixes this problem.
15 >
16 > Here is some info.
17 >
18 > -> dmesg | grep -i iwl
19 > [ 12.442620] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
20 > in-tree:d
21 > [ 12.442622] iwlagn: Copyright(c) 2003-2010 Intel Corporation
22 > [ 12.442691] iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) ->
23 > IRQ 16
24 > [ 12.442699] iwlagn 0000:02:00.0: setting latency timer to 64
25 > [ 12.442743] iwlagn 0000:02:00.0: Detected Intel Wireless WiFi Link
26 > 6000 Series 3x3 AGN REV=0x74
27 > [ 12.452866] iwlagn 0000:02:00.0: Tunable channels: 13 802.11bg, 24
28 > 802.11a channels
29 > [ 12.452988] iwlagn 0000:02:00.0: irq 31 for MSI/MSI-X
30 > [ 12.453271] iwlagn 0000:02:00.0: firmware: requesting
31 > iwlwifi-6000-4.ucode
32 > [ 12.486540] iwlagn 0000:02:00.0: loaded firmware version 9.221.4.1
33 > [ 12.488339] phy0: Selected rate control algorithm 'iwl-agn-rs'
34 > [ 807.914432] iwlagn 0000:02:00.0: RF_KILL bit toggled to enable radio.
35 >
36 > I could use the iwl6050 firmware. I am currently using iwl6000 (both are
37 > masked for amd64)
38 >
39 > * net-wireless/iwl6000-ucode
40 > Latest version available: 9.221.4.1
41 > Latest version installed: 9.221.4.1
42 > Size of files: 211 kB
43 > Homepage: http://intellinuxwireless.org/?p=iwlwifi
44 > Description: Intel (R) Wireless WiFi Advanced N 6000 ucode
45 > License: ipw3945
46 >
47 > * net-wireless/iwl6050-ucode [ Masked ]
48 > Latest version available: 9.201.4.1
49 > Latest version installed: [ Not Installed ]
50 > Size of files: 212 kB
51 > Homepage: http://intellinuxwireless.org/?p=iwlwifi
52 > Description: Intel (R) Wireless WiFi Link 6250-AGN ucode
53 > License: ipw3945
54 >
55 > I am using the 2.6.34-gentoo-r12 kernel with the iwlagn driver built
56 > with the following kernel config
57 >
58 > <M> Intel Wireless Wifi
59 > [*] Enable full debugging output in iwlagn and iwl3945 drivers
60 > [ ] iwlwifi device access tracing
61 > <M> Intel Wireless WiFi Next Gen AGN (iwlagn)
62 > [ ] Intel Wireless WiFi 4965AGN
63 > [*] Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000,
64 >
65 > This is based on searching the web.
66 >
67 > Also in the wpa_supplicant.conf I use
68 >
69 > # Let wpa_supplicant take care of scanning and AP selection
70 > ap_scan=1
71 >
72 > This is all new to me. Do I still need to configure the iwl6000-ucode
73 > microcode?
74 >
75 > Thanks,
76 >
77 > --
78 > Valmor
79 >
80
81 To add to the above from the message logs, wlan0 deauthenticates from
82 the AP by "local choice (reason=3)"
83
84 Dec 11 15:37:01 lpt1 wpa_cli: interface wlan0 CONNECTED
85 Dec 11 15:37:01 lpt1 rc-scripts: Configuration not set for wlan0 -
86 assuming DHCP
87 Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: dhcpcd 4.0.15 starting
88 Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: broadcasting for a lease
89 Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: offered 192.168.10.9 from
90 192.168.10.1
91 Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: acknowledged 192.168.10.9
92 from 192.168.10.1
93 Dec 11 15:37:01 lpt1 dhcpcd[11253]: wlan0: checking 192.168.10.9 is
94 available on attached networks
95 Dec 11 15:37:06 lpt1 kernel: [13221.781187] wlan0: deauthenticating from
96 00:0c:e5:52:09:13 by local choice (reason=3)
97 Dec 11 15:37:06 lpt1 dhcpcd[11253]: wlan0: carrier lost
98 Dec 11 15:37:41 lpt1 dhcpcd[11253]: wlan0: timed out
99 Dec 11 15:37:41 lpt1 wpa_cli: executing '/etc/init.d/net.wlan0 --quiet
100 start' failed
101 Dec 11 15:37:41 lpt1 wpa_cli: interface wlan0 DISCONNECTED

Replies

Subject Author
Re: [gentoo-user] wpa_supplicant connect-disconnect loop Mick <michaelkintzios@×××××.com>