openSUSE 12.2 KDE i686: b43 installed but KDE Wallet keeps asking for passwords:

Hello,

Toshiba laptop with Celeron M CPU, 2 GB RAM, using Linksys WPC300N V1 wireless N PCMCIA adapter.
openSUSE 12.2 M4 KDE with kernel 3.3.0-2-default

Installed b43 successfully via the following as previously prompted by dmesg, and two SOLID pilot lights appear on the wireless card:


#sudo /usr/sbin/install_bcm43xx_firmware

Edited /etc/sysconfig/kernel to show MODULES_LOADED_ON_BOOT=b43

Edited /etc/init.d/rc to include “modprob b43” before “0 exit” then saved file

Still have no wireless despite the above steps!


#lspci -nnk

0a:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11b/g/n [14e4:4329] (rev 01)
        Subsystem: Linksys WPC300N v1 Wireless-N Notebook Adapter [1737:0058]
        Kernel driver in use: b43-pci-bridge


#dmesg

   13.130937] b43-phy0: Broadcom 4321 WLAN found (core revision 11)
   13.234490] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
   13.235365] Registered led device: b43-phy0::tx
   13.235395] Registered led device: b43-phy0::rx
   13.235425] Registered led device: b43-phy0::radio
  13.235448] Broadcom 43xx driver loaded  Features: PMNLS ]

   23.654574] b43-phy0: Loading firmware version 508.154 (2009-08-18 00:58:22)
   23.779799] ADDRCONF(NETDEV_UP): wlan0: link is not ready
   23.862347] 8139too 0000:09:06.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
   24.123416] NET: Registered protocol family 17
   40.729281] martian source 192.168.1.255 from 192.168.1.104, on dev eth0

   wlan0: authenticate with 00:1f:33:b4:e1:d8 (try 1)
  243.665981] wlan0: authenticated
  243.672130] wlan0: associate with 00:1f:33:b4:e1:d8 (try 1)
  243.674747] wlan0: RX AssocResp from 00:1f:33:b4:e1:d8 (capab=0x411 status=18 aid=0)
  243.674755] wlan0: 00:1f:33:b4:e1:d8 denied association (code=18)
  243.675163] wlan0: deauthenticating from 00:1f:33:b4:e1:d8 by local choice (reason=3)

NB: This time I only use Network Manager to configure wireless connection. However, KDE Daemon keeps asking for password to open kwallet and passphrase to authenticate wireless connection. I got these 2 prompts several times whether wireless connection is created the first time or deleted then re-created later, so wireless connection is never established.

/usr/sbin/rfkill list shows no blocks.

# /usr/sbin/iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
Cell 02 - Address: 00:1F:33:B4:E1:D8
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=35/70  Signal level=-75 dBm  
                    Encryption key:on
                    ESSID:"snynhatrang"
                    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=0000008ac3768bb1
                    Extra: Last beacon: 568ms ago
                    IE: Unknown: 000B736E796E68617472616E67
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A1E181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D16010D0400000000000000000000000000000000000000
                    IE: Unknown: 7F0101
                    IE: Unknown: DD090010180201F0010000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C331E181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C34010D0400000000000000000000000000000000000000

Any ideas or suggestions? Thank you

Delete any connection in the kde network manager
Make a new one and make sure you check it to be a system connection
http://dl.dropbox.com/u/10573557/SUSE%20Misc/kde-wireless-new.png

I do use kwallet, but it should bother you after you have set it up this way

Hello caf4926,

Yes, I did exactly what you suggested before posting this thread but the problem remains. It’s possible that using the same password for system and Kwallet is the cause. How do I clean up Kwallet settings and start over?

Thank you.

Delete this folder
.kde4/share/apps/kwallet/

this file
.kde4/share/config/kwalletrc

Hi caf4926,

Thanks for your suggestions in Posts #3 &4. This time I also deleted the kwalletmanagerrc file. Uninstalled, rebooted then re-installed kwalletmanager. After another reboot, I followed the guide in Post#3. The APPLY button in the first window is grayed out so I can only hit OK. I then provide system password to make changes to network settings and used a different password to open kwallet. The first time kwallet opened it only asked for a password to set up and open the wallet; however, subsequently it did not ask for the WPA passphrase nor did it ask if I ALWAYS want to use the passphase.

I then keep getting prompts for kwallet password and WPA passphrase. I gave up after 4 times, ie. 4 sets of these two prompts. The Wireless Connection window still shows:

Last use= never
State= not connected

By the way, I also tried switching to NetworkManager Gnome (nm-applet) but ran into the same problem.

I don’t know why KNM does not pass the WPA passphrase secrets along to Kwallet. On the same laptop, openSUSE 12.1 KNetworkManager and Broadcom wl give no problem.

Could be a bug
I only have M3 Gnome and no problem

On 05/08/2012 09:26 PM, caf4926 wrote:
>
> Could be a bug
> I only have M3 Gnome and no problem

I have had no problems with KDE M3 and the Factory update to pseudo-M4.

Hello caf4926 & lwfinger,

I installed 12.2 M3 GNOME then updated to M4. Installed bcm43xx_firmware and the card shows 2 solid pilot lights. However, Network Manager does not detect my SSID and as a result, network connection window shows my connection as never connected. Here’s part of terminal output:


   30.382639] b43-phy0: Loading firmware version 508.154 (2009-08-18 00:58:22)
   30.497317] ADDRCONF(NETDEV_UP): wlan0: link is not ready
   30.575042] 8139too 0000:09:06.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
   30.652774] NET: Registered protocol family 17
   33.925838] wlan0: authenticate with 00:1f:33:b4:e1:d8 (try 1)
   33.937449] wlan0: authenticated
   33.938388] wlan0: associate with 00:1f:33:b4:e1:d8 (try 1)
   33.968344] wlan0: RX AssocResp from 00:1f:33:b4:e1:d8 (capab=0x411 status=18 aid=0)
   33.968352] wlan0: 00:1f:33:b4:e1:d8 denied association (code=18)
   33.968768] wlan0: deauthenticating from 00:1f:33:b4:e1:d8 by local choice (reason=3)


 /usr/sbin/rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Any idea or suggestion?

Thank you!

On 05/09/2012 11:46 PM, taytong888 wrote:
>
> Code:
> --------------------
>
> 30.382639] b43-phy0: Loading firmware version 508.154 (2009-08-18 00:58:22)
> 30.497317] ADDRCONF(NETDEV_UP): wlan0: link is not ready
> 30.575042] 8139too 0000:09:06.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> 30.652774] NET: Registered protocol family 17
> 33.925838] wlan0: authenticate with 00:1f:33:b4:e1:d8 (try 1)
> 33.937449] wlan0: authenticated
> 33.938388] wlan0: associate with 00:1f:33:b4:e1:d8 (try 1)
> 33.968344] wlan0: RX AssocResp from 00:1f:33:b4:e1:d8 (capab=0x411 status=18 aid=0)
> 33.968352] wlan0: 00:1f:33:b4:e1:d8 denied association (code=18)
> 33.968768] wlan0: deauthenticating from 00:1f:33:b4:e1:d8 by local choice (reason=3)

This output says that you have the authentication secret correctly entered as
your system was able to authenticate and associate. That “denied association”
output is the clue. I did a quick google for “denied association code 18” and
the second result yielded the answer to be “Association denied due to requesting
station not supporting all of the datarates in the BSSBasicServiceSet Parameter
(0x0012)”. That seems to be “official speak” for “your AP is misconfigured”. I
know that b43 is providing the correct data rate info.

Please post the result returned by your AP for the command


sudo /usr/sbin/iwlist wlan0 scan

Hello Larry,

Here it is:


# sudo /usr/sbin/iwlist wlan0 scan

wlan0     Scan completed :
                    
                    
                 
                    
          Cell 02 - Address: 00:1F:33:B4:E1:D8
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=38/70  Signal level=-72 dBm  
                    Encryption key:on
                    ESSID:"snynhatrang"
                    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=000000c238bbd185
                    Extra: Last beacon: 572ms ago
                    IE: Unknown: 000B736E796E68617472616E67
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A1E181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D16010D0000000000000000000000000000000000000000
                    IE: Unknown: 7F0101
                    IE: Unknown: DD090010180200F0010000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C331E181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C34010D0000000000000000000000000000000000000000

On 05/10/2012 04:16 PM, taytong888 wrote:
>
> Hello Larry,
>
> Here it is:
>
>
> Code:
> --------------------
>
> # sudo /usr/sbin/iwlist wlan0 scan
>
> wlan0 Scan completed :
>
>
>
>
> Cell 02 - Address: 00:1F:33:B4:E1:D8
> Channel:1
> Frequency:2.412 GHz (Channel 1)
> Quality=38/70 Signal level=-72 dBm
> Encryption key:on
> ESSID:“snynhatrang”
> 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

Those rates are normal. I see nothing wrong with that.

The only other thing would be to use wireshark to capture the data in the air,
but I am not sure that this is within your capacity to set up. Do you have
access to anyone with Linux experience?

Hello Larry,

  1. While I had GNOME, I took a look at wireless-tools. Under the wlan1 interface for the Linksys card, I saw a BLANK IP. Perhaps this is why there’s no wireless connection with my access point. However I was able to connect with the AP of my sister who lives next door!

  2. After Friday’s update, YAST shows error and crashed when I did some searching in Software Management. Also because GNOME version does not show the Power Off button on the desktop even after gnome-shell alternate-menu extension was installed, I decided to abandon GNOME for now.

  3. Reinstalled KDE build 0318 and updated to M4. I now got wireless but it’s weird and I don’t know why:

First, installed b43:


sudo /usr/sbin/install_bcm43xx_firmware

The 2 lights came up steadily on the Linksys card. Checked in YAST > Network Settings > ifup: B43XG NOT connected despite configured. I even inserted the BSSID (i.e. MAC address of the AP). Still no wireless connection!

Then I hooked up TP-LINK WN-7200ND just to see what happens.


# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

Since YAST Software Management does not have either RT2870 or RT3070, I went to your web page: Index of /firmware and copied RT2870.bin and RT3070.bin to /lib/firmware.

After that, I edited /etc/init.d/boot.local to insert rt2800usb in the following commands to ensure the Ralink USB card is activated on boot:


/sbin/modprobe rt2800usb

echo "148f 3070" > /sys/bus/usb/drivers/rt2800usb/new_id

then saved the file /etc/init.d/boot.local

When I did lspci -nnk again, I did not see the TP-Link usb card nor its kernel driver, so I re-edited /etc/init.d/boot.local and replaced rt2800usb with b43 and “1737 0058”, and usb with pcmcia. Saved the file.

After reboot, Network Manager shows a wireless connection based on rt2800usb driver! When I unplugged the TP-LINK card, wireless is off.

Here’s dmesg output:


    2.853880] usb 1-3: New USB device found, idVendor=148f, idProduct=3070
    2.853885] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    2.853889] usb 1-3: Product: 802.11 n WLAN
    2.853892] usb 1-3: Manufacturer: Ralink
    2.853895] usb 1-3: SerialNumber: 1.0

   16.667968] b43-phy0: Broadcom 4321 WLAN found (core revision 11)
   16.768606] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
   16.769485] Registered led device: b43-phy0::tx
   16.769517] Registered led device: b43-phy0::rx
   16.769547] Registered led device: b43-phy0::radio
   16.769572] Broadcom 43xx driver loaded  Features: PMNLS ]
   16.828182] usb 1-3: reset high-speed USB device number 2 using ehci_hcd
   16.986250] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
   16.987138] Registered led device: rt2800usb-phy1::radio
   16.987170] Registered led device: rt2800usb-phy1::assoc
   16.987201] Registered led device: rt2800usb-phy1::quality
   16.987231] usbcore: registered new interface driver rt2800usb

   28.440938] b43-phy0: Loading firmware version 508.154 (2009-08-18 00:58:22)
   28.544888] ADDRCONF(NETDEV_UP): wlan0: link is not ready
   28.555067] NET: Registered protocol family 17
   28.596404] 8139too 0000:09:06.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
   32.164953] wlan1: authenticate with 00:1f:33:b4:e1:d8 (try 1)
   32.166745] wlan1: authenticated
   32.184083] wlan1: associate with 00:1f:33:b4:e1:d8 (try 1)
   32.187878] wlan1: RX AssocResp from 00:1f:33:b4:e1:d8 (capab=0x411 status=0 aid=2)
   32.187885] wlan1: associated
   32.187890] wlan1: moving STA 00:1f:33:b4:e1:d8 to state 1
   32.187894] wlan1: moving STA 00:1f:33:b4:e1:d8 to state 2
   32.216110] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
   32.239164] wlan1: moving STA 00:1f:33:b4:e1:d8 to state 3
   57.601934] EXT4-fs (sda15): re-mounted. Opts: acl,user_xattr,commit=0
   57.732923] EXT4-fs (sda16): re-mounted. Opts: acl,user_xattr,commit=0
   67.553117] martian source 192.168.1.255 from 192.168.1.104, on dev eth0
   67.553124] ll header: ff:ff:ff:ff:ff:ff:00:14:d1:c3:90:e3:08:00
   67.656119] martian source 192.168.1.255 from 192.168.1.104, on dev wlan1

I got wireless connection:


# /usr/sbin/iwlist scan
lo        Interface doesn't support scanning.

wlan1     Scan completed :
          Cell 01 - Address: 00:1F:33:B4:E1:D8
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-25 dBm  
                    Encryption key:on
                    ESSID:"snynhatrang"
                    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=000000efd05be317
                    Extra: Last beacon: 44ms ago
                    IE: Unknown: 000B736E796E68617472616E67
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A1E181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D16010D0400000000000000000000000000000000000000
                    IE: Unknown: 7F0101

Any idea?

I am having a similar issue with three different laptops, the wireless cards are Ralink RT5390, BCM43225, BCM4313.

caf4926’s Solution has work on three of them so far, I did run the following “# /etc/init.d/network restart” after applying the settings and then restart each of the systems.

# /etc/init.d/network restart

On a side note I was using the opensource firmware first under 12.2 RC 2 it never work reliably for my cards. My signal strength was always low and I lost connection constantly. The only solution to the lose of connection seemed to be restarting twice under 12.2 rc2. (I am using a DD-WRT enabled router in a small apt. so signal strength wasn’t the issue)

I had to go back to the closed source driver in 12.2 final and then use caf4926’s solution to successfully resolve the issue.

install_bcm43xx_firmware

It seems that the old network restart command is dead.

/etc/init.d/network restart

The question is? Is this the replacement for the old command?


#systemctl restart network.service

It seems to make the system a little cranky, but it does cycle the network manager.

I experience the same behavior after latest set of updates on openSUSE 12.2, Gnome. Wifi worked fine before updates. I submitted a bug report (780226), please add any info you have about this bug.