Hello All,
Sorry for bothering everybody with a long-standing issue, but (guess what?) I am stuck with continuous attempt to access my WPA wlan.
I have just migrated by HP Pavilion dv5 laptop from Kubuntu to openSUSE 12.1 KDE (root cause: I was fed up with the former’s awful new package manager…:sarcastic: ).
Everything seems fine, except for my frustration with the wireless. I have been through most how-to’s and forums on the internet, but still stuck with no result.
PROBLEM
Wireless board is up and running, but when I try to access my wlan, KNetworkManager scans, finds it, and then contacts it correctly. Unfortunately, then it keeps on trying to get authorization without succeeding, and is forced to give up after 1min or so; with Kubuntu or Windows, I had no problem with it, so HW failure is out of scope.
A few times it was in fact able to get authorization and access internet, only to lose connection after roughly 30s.
DATA
HW-wise, I do not start from the best point: my laptop makes use of the infamous Broadcom BCM4312. See below:
Xabaras:~ # hwinfo --wlan
24: PCI 200.0: 0282 WLAN controller
[Created at pci.319]
Unique ID: y9sn.bL_9V016GP1
Parent ID: z8Q3.TJZXZ7JTzMB
SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0
SysFS BusID: 0000:02:00.0
Hardware Class: network
Model: "Hewlett-Packard Company BCM4312 802.11b/g Wireless LAN Controller"
Vendor: pci 0x14e4 "Broadcom"
Device: pci 0x4315 "BCM4312 802.11b/g"
SubVendor: pci 0x103c "Hewlett-Packard Company"
SubDevice: pci 0x137d "BCM4312 802.11b/g Wireless LAN Controller"
Revision: 0x01
Driver: "b43-pci-bridge"
Driver Modules: "ssb"
Device File: wlan0
Features: WLAN
Memory Range: 0xde200000-0xde203fff (rw,non-prefetchable)
IRQ: 16 (no events)
HW Address: 00:21:00:ad:6f:19
Link detected: no
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: "pci:v000014E4d00004315sv0000103Csd0000137Dbc02sc80i00"
Driver Info #0:
Driver Status: ssb is active
Driver Activation Cmd: "modprobe ssb"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #7 (PCI bridge)
As of drivers, I have attempted both the wl and the b43 solutions (each time blacklisting the other one), and finally resolved to use the latter, since the wl drivers were giving more setup problems. So, my current blacklist is:
more /etc/modprobe.d/blacklist.conf
blacklist wl
Now, I have not been properly able yet to understand how NetworkManager and wpa_supplicant properly interacts. I setup my wlan into NM and then, due to lack of success, have tried to shut it down and directly work with wpa_gui. Pointlessly. Even wpa_gui is not able to connect to my lan. See below my wlan profile and how I set up wpa_supplicant.conf:
Xabaras:~ # iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:22:B0:B1:0A:D0
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=70/70 Signal level=-3 dBm
Encryption key:on
ESSID:"XXXXXXXXXXXXXXXXXXXXXXX"
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=000001fa49bac59b
Extra: Last beacon: 1052ms ago
IE: Unknown: 001C5069616E2046616D696C7920576972656C657373204E6574776F726B
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 02 - Address: 00:22:3F:56:74:28
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=28/70 Signal level=-82 dBm
Encryption key:on
ESSID:"XXXXXXXXXXXXXXXXXXXXXXX"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000008b2bbc53ec
Extra: Last beacon: 1128ms ago
IE: Unknown: 001C5069616E2046616D696C7920576972656C657373204E6574776F726B
IE: Unknown: 010882848B962430486C
IE: Unknown: 030101
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD710050F204104A00011010440001021041000100103B00010310470010000102030405060708090A0B0C0D0EBB1021000744474E323030301023000744474E323030301024000631323334353610420004313233341054000800060050F20400011011000744474E32303030100800020088
IE: Unknown: DD090010180202F4050000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
Note: I have two AP’s for the same wlan. Cell0 is my close-by repeater (-3dBM) and Cell1 is the faraway router (-72dBm). I access the former of course.
Xabaras:~ # more /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="XXXXXXXXXXXXXXXXXXXXXXX"
proto=RSN
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk=YYYYYYYYYYYYYYYYYYY
}
That’s it. It is getting into real frustration and I can see the subject has already been widely covered, but really I cannot sort out this WPA thing (unprotected, it works of course).
Can anybody help met?
Thank you!