wifi starts but loses association with AP

I have opensuse 12.1 dual bootable with Windows Vista SP2. My internet access is by wifi, which works perfectly on Vista but fails to connect on Linux. Following lwfinger’s instructions on getting wifi to work, I have established the following:

  • YaST => Hardware => Hardware Information generates the following information confirming the presence of wlan0:

net interface: name = wlan0, path = /class/net/wlan0
type = 1
carrier = 0
hw_addr = 00:1f:1f:e4:4f:66
net device: path = /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0
net driver: name = rtl8192cu, path = /bus/usb/drivers/rtl8192cu

  • firmware appears to be present:

linux-txl6:/home/jdgale/Documents # dmesg | grep firmware

16.565380] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin

  • iwlist scan isn’t very helpful, which may in itself be an indication of what is wrong:

linux-txl6:/home/jdgale/Documents # iwlist scan
lo Interface doesn’t support scanning.

eth0 Interface doesn’t support scanning.

wlan0 No scan results

  • ifconfig generates the following:

linux-txl6:/home/jdgale/Documents # ifconfig

wlan0 Link encap:Ethernet HWaddr 00:1F:1F:E4:4F:66
inet6 addr: fe80::21f:1fff:fee4:4f66/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:339 (339.0 b) TX bytes:465 (465.0 b)

  • dmesg gerates:

16.529979] rtl8192cu: MAC auto ON okay!
16.562615] rtl8192cu: Tx queue select: 0x05
16.563376] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin
16.719861] bootsplash: status on console 0 changed to on
16.964446] ADDRCONF(NETDEV_UP): wlan0: link is not ready
16.970447] NET: Registered protocol family 17
17.907857] wlan0: authenticate with 00:81:d8:42:1e:9a (try 1)
17.912769] wlan0: authenticated
17.935238] wlan0: associate with 00:81:d8:42:1e:9a (try 1)
17.945122] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
17.945129] wlan0: associated
17.957348] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
27.985224] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
28.004100] cfg80211: Calling CRDA to update world regulatory domain
28.004651] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)
28.009258] cfg80211: World regulatory domain updated:
28.009262] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
28.009265] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
28.009267] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
28.009270] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
28.009273] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
28.009276] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
28.322007] wlan0: no IPv6 routers present
28.827789] wlan0: authenticate with 00:81:d8:42:1e:9a (try 1)
29.027035] wlan0: authenticate with 00:81:d8:42:1e:9a (try 2)
29.030635] wlan0: authenticated
29.030729] wlan0: associate with 00:81:d8:42:1e:9a (try 1)
29.034746] wlan0: RX ReassocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
29.034752] wlan0: associated
39.073821] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
39.094130] cfg80211: Calling CRDA to update world regulatory domain
39.094974] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)
39.102085] cfg80211: World regulatory domain updated:
39.102090] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
39.102096] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
39.102101] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
39.102106] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
39.102111] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
39.102116] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
39.917304] wlan0: authenticate with 00:81:d8:42:1e:9a (try 1)
40.117030] wlan0: authenticate with 00:81:d8:42:1e:9a (try 2)
40.317051] wlan0: authenticate with 00:81:d8:42:1e:9a (try 3)
40.517030] wlan0: authentication with 00:81:d8:42:1e:9a timed out

It looks as if authentication and association take place but then dissociates and then deauthenticates. I don’t know what the local choice element or reason 3 mean:

39.073821] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
39.094130] cfg80211: Calling CRDA to update world regulatory domain
39.094974] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)

This is a long-standing problem which I have been trying to resolve myself without success, so now I am turning to a wider audience. Can anyone help, please?

Following my initial post the obvious occurred to me; since it appeared that there was a problem with authentication I looked at the relevant settings on my router and wifi stick. They were set to WPA2 and AES (I think the one infers the other; is this correct?). So I changed them to WPA and TKIP. The effect appears to be significant:

The unhelpful response to iwlist scan is now:

wlan0 Scan completed :
Cell 01 - Address: 12:81:D8:42:1E:9A
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=59/70 Signal level=-51 dBm
Encryption key off
ESSID:“BTFON”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000000c94f825
Extra: Last beacon: 336ms ago
IE: Unknown: 00054254464F4E
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1AAC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606080000000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD180050F2020101890003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3406080000000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F
Cell 02 - Address: 02:81:D8:42:1E:9A
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=59/70 Signal level=-51 dBm
Encryption key off
ESSID:“BTOpenzone-H”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000000c95b4f3
Extra: Last beacon: 339ms ago
IE: Unknown: 000C42544F70656E7A6F6E652D48
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1AAC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606080000000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD180050F2020101890003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3406080000000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F
Cell 03 - Address: 00:81:D8:42:1E:9A
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=59/70 Signal level=-51 dBm
Encryption key on
ESSID:“BTHub3-TZM5”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000000c9568da
Extra: Last beacon: 358ms ago
IE: Unknown: 000B4254487562332D545A4D35
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1AAC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606080000000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101890003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3406080000000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F

dmesg|less now gives:

39.731739] wlan0: authenticate with 00:81:d8:42:1e:9a (try 1)
39.737878] wlan0: authenticated
39.760367] wlan0: associate with 00:81:d8:42:1e:9a (try 1)
39.766501] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
39.766507] wlan0: associated
39.778727] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
49.803840] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
49.824129] cfg80211: Calling CRDA to update world regulatory domain
49.824620] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)
49.832717] cfg80211: World regulatory domain updated:
49.832722] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
49.832727] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
49.832733] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
49.832738] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
49.832743] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
49.832748] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
50.530023] wlan0: no IPv6 routers present
50.649300] wlan0: authenticate with 00:81:d8:42:1e:9a (try 1)
50.849029] wlan0: authenticate with 00:81:d8:42:1e:9a (try 2)
50.852513] wlan0: authenticated
50.852608] wlan0: associate with 00:81:d8:42:1e:9a (try 1)
50.856625] wlan0: RX ReassocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
50.856630] wlan0: associated

But ifstatus indicates something related to DHCP is still missing:

wlan0     name: 802.11n WLAN Adapter

DHCP4 client (dhcpcd) is running
. . . but is still waiting for data
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 00:1f:1f:e4:4f:66 brd ff:ff:ff:ff:ff:ff
wlan0 is up

With the exception that ifstatus indicates that DHCP is missing something, it appears to me that all is well and that I should be able to gain access to the internet through a browser. However, Firefox and Konqueror both report that URLs cannot be found.

On 08/28/2012 09:26 AM, forsate wrote:
>
> Following my initial post the obvious occurred to me; since it appeared
> that there was a problem with authentication I looked at the relevant
> settings on my router and wifi stick. They were set to WPA2 and AES (I
> think the one infers the other; is this correct?). So I changed them to
> WPA and TKIP. The effect appears to be significant:

It should not make any difference in associating. The main difference is that
WPA2-AES is significantly more secure that WPA-TKIP.

> The unhelpful response to iwlist scan is now:
>
> wlan0 Scan completed :
> Cell 01 - Address: 12:81:D8:42:1E:9A
> Channel:6
> Frequency:2.437 GHz (Channel 6)
> Quality=59/70 Signal level=-51 dBm
> Encryption key off
> ESSID:“BTFON”
> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> 9 Mb/s; 12 Mb/s; 18 Mb/s
> Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
> Mode:Master
> Extra:tsf=000000000c94f825
> Extra: Last beacon: 336ms ago
> IE: Unknown: 00054254464F4E
> IE: Unknown: 010882848B960C121824
> IE: Unknown: 030106
> IE: Unknown: 2A0100
> IE: Unknown: 32043048606C
> IE: Unknown:
> 2D1AAC011BFFFF000000000000000000000000000000000000000000
> IE: Unknown:
> 3D1606080000000000000000000000000000000000000000
> IE: Unknown: 4A0E14000A002C01C800140005001900
> IE: Unknown: 7F0101
> IE: Unknown:
> DD180050F2020101890003A4000027A4000042435E0062322F00
> IE: Unknown:
> DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000
> IE: Unknown:
> DD1A00904C3406080000000000000000000000000000000000000000
> IE: Unknown: DD0900037F01010000FF7F
> Cell 02 - Address: 02:81:D8:42:1E:9A
> Channel:6
> Frequency:2.437 GHz (Channel 6)
> Quality=59/70 Signal level=-51 dBm
> Encryption key off
> ESSID:“BTOpenzone-H”
> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> 9 Mb/s; 12 Mb/s; 18 Mb/s
> Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
> Mode:Master
> Extra:tsf=000000000c95b4f3
> Extra: Last beacon: 339ms ago
> IE: Unknown: 000C42544F70656E7A6F6E652D48
> IE: Unknown: 010882848B960C121824
>
>
> IE: Unknown: 030106
>
>
> IE: Unknown: 2A0100
>
>
> IE: Unknown: 32043048606C
>
>
> IE: Unknown:
> 2D1AAC011BFFFF000000000000000000000000000000000000000000
>
> IE: Unknown:
> 3D1606080000000000000000000000000000000000000000
>
> IE: Unknown: 4A0E14000A002C01C800140005001900
>
>
> IE: Unknown: 7F0101
>
>
> IE: Unknown:
> DD180050F2020101890003A4000027A4000042435E0062322F00
>
> IE: Unknown:
> DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000
>
> IE: Unknown:
> DD1A00904C3406080000000000000000000000000000000000000000
>
> IE: Unknown: DD0900037F01010000FF7F
>
>
> Cell 03 - Address: 00:81:D8:42:1E:9A
>
>
> Channel:6
>
>
> Frequency:2.437 GHz (Channel 6)
>
>
> Quality=59/70 Signal level=-51 dBm
>
>
> Encryption key on
> ESSID:“BTHub3-TZM5”
> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> 9 Mb/s; 12 Mb/s; 18 Mb/s
> Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
> Mode:Master
> Extra:tsf=000000000c9568da
> Extra: Last beacon: 358ms ago
> IE: Unknown: 000B4254487562332D545A4D35
> IE: Unknown: 010882848B960C121824
> IE: Unknown: 030106
> IE: Unknown: 2A0100
> IE: Unknown: 32043048606C
> IE: Unknown:
> 2D1AAC011BFFFF000000000000000000000000000000000000000000
> IE: Unknown:
> 3D1606080000000000000000000000000000000000000000
> IE: Unknown: 4A0E14000A002C01C800140005001900
> IE: Unknown: 7F0101
> IE: WPA Version 1
> Group Cipher : TKIP
> Pairwise Ciphers (2) : CCMP TKIP
> Authentication Suites (1) : PSK
> IE: Unknown:
> DD180050F2020101890003A4000027A4000042435E0062322F00
> IE: Unknown:
> DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000
> IE: Unknown:
> DD1A00904C3406080000000000000000000000000000000000000000
> IE: Unknown: DD0900037F01010000FF7F
>
> dmesg|less now gives:
>
> 39.731739] wlan0: authenticate with 00:81:d8:42:1e:9a (try 1)
> 39.737878] wlan0: authenticated
> 39.760367] wlan0: associate with 00:81:d8:42:1e:9a (try 1)
> 39.766501] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431
> status=0 aid=1)
> 39.766507] wlan0: associated
> 39.778727] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> 49.803840] wlan0: disassociating from 00:81:d8:42:1e:9a by local
> choice (reason=3)
> 49.824129] cfg80211: Calling CRDA to update world regulatory domain
> 49.824620] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local
> choice (reason=3)

Your device authenticated and associated and deauthenticated almost immediately.
That is why you get no throughput.

> 49.832717] cfg80211: World regulatory domain updated:
> 49.832722] cfg80211: (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp)
> 49.832727] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> 49.832733] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz),
> (300 mBi, 2000 mBm)
> 49.832738] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz),
> (300 mBi, 2000 mBm)
> 49.832743] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> 49.832748] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> 50.530023] wlan0: no IPv6 routers present
> 50.649300] wlan0: authenticate with 00:81:d8:42:1e:9a (try 1)
> 50.849029] wlan0: authenticate with 00:81:d8:42:1e:9a (try 2)
> 50.852513] wlan0: authenticated
> 50.852608] wlan0: associate with 00:81:d8:42:1e:9a (try 1)
> 50.856625] wlan0: RX ReassocResp from 00:81:d8:42:1e:9a
> (capab=0x431 status=0 aid=1)
> 50.856630] wlan0: associated
>
> But ifstatus indicates something related to DHCP is still missing:
>
> wlan0 name: 802.11n WLAN Adapter
> DHCP4 client (dhcpcd) is running
> . . . but is still waiting for data
> 3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state
> DOWN qlen 1000
> link/ether 00:1f:1f:e4:4f:66 brd ff:ff:ff:ff:ff:ff
> wlan0 is up
>
> With the exception that ifstatus indicates that DHCP is missing
> something, it appears to me that all is well and that I should be able
> to gain access to the internet through a browser. However, Firefox and
> Konqueror both report that URLs cannot be found.

That DHCP is a symptom, not a cause.

When you post computer output, please use advanced editing and put it inside
code tags as follows:


Cell 11 - Address: 00:15:6D:72:0B:08
ESSID:"KCCoyote,180th,E-SE"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.452 GHz (Channel 9)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Signal level=23/100

See how much more readable it becomes?

The rtl8192cu driver is not as stable as most wireless drivers. I am working on
it when I get time, but the gains are slow. I would suggest that you install the
compat-wireless package for your kernel as the driver in it has been improved
over what you are using.

Thanks for your response and advice on using advanced mode - I’ll use it and the code tags in future.

Downloaded compat-wireless-3.1.1-1.tar.bz2 (my kernel is 3.1.0) from stable - Linux Wireless and decompressed. Found the directory rtl8192cu, changed the permissions for the makefile and ran “make”. Got the response “No targets. Stop”. Looked at the text of the makefile, which did not help. Neither did the installation instructions on the above web page. I’m now operating at the limits of my expertise, which as you will gather is indeed limited. I’m probably adopting too simplistic an approach. As King Alfred said when he burnt the cakes (or maybe on some other occasion), a little learning is a dangerous thing. Can you please give me steer on where I am going wrong?

On 08/30/2012 08:46 AM, forsate wrote:
>
> Thanks for your response and advice on using advanced mode - I’ll use it
> and the code tags in future.
>
> Downloaded ‘compat-wireless-3.1.1-1.tar.bz2’
> (http://tinyurl.com/dy5a79j) (my kernel is 3.1.0) from ‘stable - Linux
> Wireless’ (http://www.linuxwireless.org/en/users/Download/stable/) and
> decompressed. Found the directory rtl8192cu, changed the permissions
> for the makefile and ran “make”. Got the response “No targets. Stop”.
> Looked at the text of the makefile, which did not help. Neither did
> the installation instructions on the above web page. I’m now operating
> at the limits of my expertise, which as you will gather is indeed
> limited. I’m probably adopting too simplistic an approach. As King
> Alfred said when he burnt the cakes (or maybe on some other occasion), a
> little learning is a dangerous thing. Can you please give me steer on
> where I am going wrong?

First of all, the compat-wireless source you downloaded is the source for 3.1.1,
which is not much newer that your kernel. If you had built it, it would not have
helped. From source, you need version 3.5.X.

Secondly, there is a package built for your kernel available from the wireless
repo. That is what you should use. When I say package, I mean binary that can be
installed with YaST. With packages involving kernel modules, then you must match
your kernel version.

I found and downloaded copat-wireless-kmp-dektop-3.5_k3.1.0_1.2-6.1.i586.rpm from Index of /repositories/driver:/wireless/openSUSE_12.1/i586. I then installed it with YAST, ignoring the missing dependencies. There is still no internet access, so it looks as though I should not have done that; not a great surprise in retrospect. However, the responses to commands looks healthy enough:

linux-txl6:~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"BTHub3-TZM5"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:81:D8:42:1E:9A   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=60/70  Signal level=-50 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


linux-txl6:~ # iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:81:D8:42:1E:9A
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=59/70  Signal level=-51 dBm  
                    Encryption key:on
                    ESSID:"BTHub3-TZM5"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000001944093180
                    Extra: Last beacon: 17232ms ago
                    IE: Unknown: 000B4254487562332D545A4D35
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAC011BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606080000000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP                                                        
                        Authentication Suites (1) : PSK                                                         
                    IE: Unknown: DD180050F2020101860003A4000027A4000042435E0062322F00                           
                    IE: Unknown: DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000               
                    IE: Unknown: DD1A00904C3406080000000000000000000000000000000000000000                       
                    IE: Unknown: DD0900037F01010000FF7F                                                         

linux-txl6:~ # dmesg|grep wlan                                                                                  
   99.547276] ADDRCONF(NETDEV_UP): wlan0: link is not ready
  187.262436] ADDRCONF(NETDEV_UP): wlan0: link is not ready
  188.160552] wlan0: authenticate with 00:81:d8:42:1e:9a
  188.184510] wlan0: send auth to 00:81:d8:42:1e:9a (try 1/3)
  188.187195] wlan0: authenticated
  188.199026] wlan0: associate with 00:81:d8:42:1e:9a (try 1/3)
  188.207458] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
  188.207720] wlan0: associated
  188.207927] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  198.253090] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
  198.279510] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)
  199.060341] wlan0: authenticate with 00:81:d8:42:1e:9a
  199.083751] wlan0: send auth to 00:81:d8:42:1e:9a (try 1/3)
  199.218014] wlan0: no IPv6 routers present
  199.284016] wlan0: send auth to 00:81:d8:42:1e:9a (try 2/3)
  199.286076] wlan0: authenticated
  199.298012] wlan0: associate with 00:81:d8:42:1e:9a (try 1/3)
  199.303573] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
  199.303846] wlan0: associated

Where now? At least wlan0 stays associated and the DHCP waiting appears to have gone.

On 08/30/2012 02:16 PM, forsate wrote:
>
> I found and downloaded
> copat-wireless-kmp-dektop-3.5_k3.1.0_1.2-6.1.i586.rpm from ‘Index of
> /repositories/driver:/wireless/openSUSE_12.1/i586’
> (http://tinyurl.com/c39vjno). I then installed it with YAST, ignoring
> the missing dependencies. There is still no internet access, so it
> looks as though I should not have done that; not a great surprise in
> retrospect. However, the responses to commands looks healthy enough:

Unless you are a whiz, NEVER EVER ignore dependencies!!!

You should add the wireless repo to YaST and install the compat-wireless package
using YaST => Software Management, or use ‘zypper in <package name>’. That way
the dependencies will be satisfied.

I will not try to debug a system that has such unsatisfied dependencies. Who
knows what might be wrong.

Apologies; unhealthy combination of ignorance, laziness and wishful thinking. As you will appreciate. because I have no internet connection through linux I have to revert to windows, go searching, download, restart linux and transfer to a repo I have set up on my hard disk. A real pain!

Reexamination of the rpm I tried to install showed me that I needed one for compat-wireless scripts. I found compat-wireless-scripts-3.5-6.1.noarch.rpm in Index of /repositories/driver:/wireless/openSUSE_12.1/noarch. Downloaded and went through the rigmarole as described above. Deleted the offending package and reinstalled. No problem; the new scripts package satisfied the dependencies. YAST used throughout. No internet connection so rebooted and deleted wlan0 using YAST=>Network Devices=>Settings. Rebooted and configured with YAST=>Network Devices=>Settings. No internet connection so rebooted again with no joy.

Responses as follows:

dmesg|less


   16.849100] rtl8192cu: MAC auto ON okay!
   16.881849] rtl8192cu: Tx queue select: 0x05
   16.901278] bootsplash: status on console 0 changed to on
   17.252522] ADDRCONF(NETDEV_UP): wlan0: link is not ready
   17.281152] NET: Registered protocol family 17
   18.172571] wlan0: authenticate with 00:81:d8:42:1e:9a
   18.196279] wlan0: send auth to 00:81:d8:42:1e:9a (try 1/3)
   18.202017] wlan0: authenticated
   18.214039] wlan0: associate with 00:81:d8:42:1e:9a (try 1/3)
   18.218374] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
   18.218527] wlan0: associated
   18.218635] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
   28.258699] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
   28.282044] cfg80211: Calling CRDA to update world regulatory domain
   28.282631] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)
   28.293871] cfg80211: World regulatory domain updated:
   28.293874] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
   28.293877] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   28.293880] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
   28.293883] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
   28.293885] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   28.293888] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   28.554013] wlan0: no IPv6 routers present
   29.063484] wlan0: authenticate with 00:81:d8:42:1e:9a
   29.086806] wlan0: send auth to 00:81:d8:42:1e:9a (try 1/3)
   29.287027] wlan0: send auth to 00:81:d8:42:1e:9a (try 2/3)
   29.290382] wlan0: authenticated
   29.302044] wlan0: associate with 00:81:d8:42:1e:9a (try 1/3)
   29.305875] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
   29.306029] wlan0: associated
   39.351251] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
   39.372050] cfg80211: Calling CRDA to update world regulatory domain
   39.372649] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)
   39.383879] cfg80211: World regulatory domain updated:
   39.383882] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
   39.383885] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   39.383888] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
   39.383890] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
   39.383893] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   39.383896] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   40.153342] wlan0: authenticate with 00:81:d8:42:1e:9a
   40.176933] wlan0: send auth to 00:81:d8:42:1e:9a (try 1/3)
   40.377018] wlan0: send auth to 00:81:d8:42:1e:9a (try 2/3)
   40.578015] wlan0: send auth to 00:81:d8:42:1e:9a (try 3/3)
   40.779011] wlan0: authentication with 00:81:d8:42:1e:9a timed out
  139.590046] EXT4-fs (sda6): re-mounted. Opts: acl,user_xattr,commit=0
  139.595616] EXT4-fs (sda7): re-mounted. Opts: acl,user_xattr,commit=0
  139.598736] EXT4-fs (sda8): re-mounted. Opts: acl,user_xattr,commit=0

linux-txl6:~ # ifstatus wlan0


    wlan0     name: 802.11n WLAN Adapter
DHCP4 client (dhcpcd) is running
. . . but is still waiting for data
DHCP6 client (dhclient6) is running
. . . but is still waiting for data
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:1f:1f:e4:4f:66 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21f:1fff:fee4:4f66/64 scope link 
       valid_lft forever preferred_lft forever
    wlan0     is up
wpa_state=AUTHENTICATING

linux-txl6:~ # iwlist wlan0 scan


wlan0     No scan results

linux-txl6:~ # iwconfig wlan0


wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off

Things seem to have gone backwards to where I started, with wlan0 dropping association and authentication. Perhaps a result of my forcing on the compat-wireless package without dependencies?

Checked YAST => Network Devices => Network Settings and reentered encryption settings, which has led to a change in repsonses. Things now seem closer to where they ought to be, but still no internet connection. Rebooted two or three times to check consistency; no internet connection but new responses are the same:

dmesg|less


   19.771222] rtl8192cu: MAC auto ON okay!
   19.803982] rtl8192cu: Tx queue select: 0x05
   20.164807] ADDRCONF(NETDEV_UP): wlan0: link is not ready
   20.192259] NET: Registered protocol family 17
   21.077397] wlan0: authenticate with 00:81:d8:42:1e:9a
   21.100910] wlan0: send auth to 00:81:d8:42:1e:9a (try 1/3)
   21.108262] wlan0: authenticated
   21.121020] wlan0: associate with 00:81:d8:42:1e:9a (try 1/3)
   21.130760] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
   21.131020] wlan0: associated
   21.131151] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
   28.050280] EXT4-fs (sda6): re-mounted. Opts: acl,user_xattr,commit=0
   28.058033] EXT4-fs (sda7): re-mounted. Opts: acl,user_xattr,commit=0
   28.065040] EXT4-fs (sda8): re-mounted. Opts: acl,user_xattr,commit=0
   31.166095] wlan0: disassociating from 00:81:d8:42:1e:9a by local choice (reason=3)
   31.193146] cfg80211: Calling CRDA to update world regulatory domain
   31.198797] cfg80211: World regulatory domain updated:
   31.198801] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
   31.198804] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   31.198807] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
   31.198810] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
   31.198812] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   31.198815] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
   31.200197] wlan0: deauthenticating from 00:81:d8:42:1e:9a by local choice (reason=3)
   31.682009] wlan0: no IPv6 routers present
   31.987315] wlan0: authenticate with 00:81:d8:42:1e:9a
   32.010946] wlan0: send auth to 00:81:d8:42:1e:9a (try 1/3)
   32.211012] wlan0: send auth to 00:81:d8:42:1e:9a (try 2/3)
   32.215130] wlan0: authenticated
   32.228019] wlan0: associate with 00:81:d8:42:1e:9a (try 1/3)
   32.232010] wlan0: RX AssocResp from 00:81:d8:42:1e:9a (capab=0x431 status=0 aid=1)
   32.232139] wlan0: associated


linux-txl6:/home/jdgale/Documents # iwlist wlan0 scan


wlan0     Scan completed :
          Cell 01 - Address: 00:81:D8:42:1E:9A
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=57/70  Signal level=-53 dBm  
                    Encryption key:on
                    ESSID:"BTHub3-TZM5"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000277135f180
                    Extra: Last beacon: 1076031353ms ago
                    IE: Unknown: 000B4254487562332D545A4D35
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAC011BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606080000000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101860003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C33AC011BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3406080000000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F


linux-txl6:/home/jdgale/Documents # iwconfig wlan0


wlan0     IEEE 802.11bgn  ESSID:"BTHub3-TZM5"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:81:D8:42:1E:9A   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=60/70  Signal level=-50 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


linux-txl6:/home/jdgale/Documents # ifstatus wlan0


    wlan0     name: 802.11n WLAN Adapter
DHCP4 client (dhcpcd) is running
. . . but is still waiting for data
DHCP6 client (dhclient6) is running
. . . but is still waiting for data
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1f:1f:e4:4f:66 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21f:1fff:fee4:4f66/64 scope link 
       valid_lft forever preferred_lft forever
    wlan0     is up
bssid=00:81:d8:42:1e:9a
ssid=BTHub3-TZM5
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=TKIP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED


Still looks as if DHCP is waiting for something, but to me everything else looks OK.

Been away for a few days - back now and hoping for some response to my last post.

lwfinger - any prospect of picking this one up again, please?