After re-installing openSUSE 11.3 KDE 64-bit in my desktop PC, I found that I cannot connect wirelessly. My wireless adapter is Trendnet TEW-642PI and has rt2860 driver enabled.
Following is what the terminal shows:
/usr/sbin/iwlist scan
lo Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:1F:33:B4:E1:D8
Protocol:802.11b/g/n
ESSID:"snynhatrang"
Mode:Managed
Channel:1
Quality:100/100 Signal level:-39 dBm Noise level:-87 dBm
Encryption key:on
Bit Rates:135 Mb/s
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
eth0 Interface doesn't support scanning (Cable unplugged).
linux-z5dj:~ # /usr/sbin/iwconfig wlan0 | grep Mb
Bit Rate=1 Mb/s
linux-z5dj:~ # /usr/sbin/iwconfig
lo no wireless extensions.
wlan0 Ralink STA ESSID:"" Nickname:"RT2860STA"
Mode:Auto Frequency=2.412 GHz Access Point: 00:1F:33:B4:E1:D8
Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:-17 dBm Noise level:-87 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
It is strange that iwconfig shows no SSID, 1 Mb/sec and encryption key is OFF which is contrary to those in iwlist scan output, so I suspect there are problems with authentication. When setting up the card in YAST, I did enter the correct WPA2 passphrase. I am wondering if I should use Kwallet to store this passphrase. If so, how should I configure it so wireless will work?
Secondly, after installing rfkill:
/usr/sbin/rfkill list
Can't open RFKILL control device. No such file or directory.
By the way, I can ping my router without any packet loss.
I would appreciate your help and suggestions.
I opened kwalletmanager, configured “wireless” (sub?)wallet, gave it a password, went to KNetworkManager and gave the correct passphrase in the Security tab of the wireless connection. After reboot, I kept seeing KNetworkManager window asking for the secrets of the SSID name. I gave this window the same passphrase but the window keeps coming back asking for the secret words. Then when the window returns the last time I gave it the password of the subwallet, still no go! I am going nut!
Trying to figure out what someone is saying can be tricky can’t it
Let me explain how it goes for me as of a new install, assuming wireless is operational, from login:
Going to NetworkManager to setup the new wireless connection > Enter the connection details and connect auto and the password for my WPA2…
When you apply this, kwallet will start up
Do you want kwallet to manage passwords = yes
You enter a password for kwallet access
kwallet will ask about the network password and remembering it = for me I choose always
I think that’s it
But at login you will need to enter the kwallet password (not the network passphrase) to allow the wireless to activate
I want to re-run Kwallet on a clean slate, because I suspect it is corrupted. How do I delete its profile, cache, old passwords, old settings and any other hidden data, before un-installing then re-installing it?
Just out of curiousity, what does Gnome use to store the wireless key? I don’t have to enter any password (besides my user login credentials) to connect to wireless, the way it should be, IMO.
But I still would love if someone would be able to write some good and easy understandable what-is or even more some good SDB/how-to-use articles (for use in openSUSE) on this hole password manager issue
Sorry for not being able to get back to you sooner. Up until recently, I use ifup (YAST) to set up network connections. So today I deleted wireless connection there, switched to Global Options = Network Manager (otherwise the Wireless Security tab in the next part gets greyed out) then Configure Desktop > Network to set up wireless connection > Apply > Ok. However, kwallet did not start up until after I rebooted and logged in. I was not asked to give permission to kwallet to manage password. Then entered a password for kwallet access. Again, kwallet did not ask me about network management password.
In any case, I hit ALT F2 and typed kwalletmanager. Clicked on the wallet icon in the system bar to open it. KDE Wallet Manager window opens showing 3 folders: Form Data (0), Network Management (4) and Passwords(0). These last 2 folders each has 4 sub-folders: Binary, Maps, Passwords and Unknown. According to Chapter 8: “Managing Passwords with KWallet Manager”, a map refer to a key pair which in my understanding means SSID and PSK passphrase. On my PC, Maps show 2 mostly identical entries: (b7ca…) with the top one has psk and a value showing my passphrase, whereas the second one has 1xpassword and a blank value column.
After reboot again, Kwallet Manager asked for its access password. After I gave the wallet password, a window shows up with "secrets of (SSID), passphrase xxxx. I hit OK. After afew seconds, this window appear a few times.
So I guess Kwallet has not been properly configured. Do I need to configure both Maps and Passwords under Network Management, or only one: Maps or Passwords.
Under Access Control tab in KDEWallet Configuration, I saw3 items:
Wallet: KDE Wallet
Application: KDE Control Module, KDE Wallet Manager
Policy: Always allow
I would appreciate your suggestions. Thanks a lot for your help.
If your wireless is set to connect automatically or when you click to make the connection, kwallet should start as if for the first time.
Enter the master password for kwallet
Let it manage the passphrase for the wireless connection > always
That’s it.
Each time you login, you only enter the kwallet master password.
I deleted the kwallet folder and the 2 files as you suggested, then set up wireless connection and kwallet password, etc. exactly and to the letter as you suggested. However, after reboot and entering kwallet password to connect with Network Manager, wireless connection window keeps asking for WPA2 passphrase. After hitting OK, the screen shows wireless connection being created, then after a while NO CONNECTION. Power cycling the router makes no difference. I heard that Network Manager can handle up to 128-bit passphrase. I don’t know if my 50-character passphrase exceeds this 128-bit limit. There are no wireless connection problem in Windows 7, Ubuntu 10.10 Gnome or Fedora Core14 Gnome in the same machine, same wireless adapter.
So the wallet sounds OK
You need to work on the network manager
Did you try the plasmoid-networkmanager instead? Some find it better. Either works OK for me though.
My WPA2 password is way smaller but complex.
On a side note: I was fiddling with a new install the other day and accidentally connected to a neighbours router, it had no security in place and the router admin was factory default
I was kind and left it be
I did install plasmoid-networkmanagement but as I accepted it, KDE4.4.4 removed KNetworkManager. Wireless did not work with plasmoid-networkmanagement so I re-installed KNetworkManager.
Here’s the output of…
sudo tail -f /var/log/NetworkManager
as I was trying to connect wirelessly with KNetworkManager:
# tail -f /var/log/NetworkManager
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> (wlan0): bringing up device.
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> (wlan0): preparing device.
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> (wlan0): deactivating device (reason: 2).
Feb 10 22:03:28 linux-z5dj NetworkManager: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
Feb 10 22:03:28 linux-z5dj NetworkManager: <WARN> default_adapter_cb(): bluez error getting default adapter: The name org.bluez was not provided by any .service files
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> modem-manager is now available
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> Trying to start the supplicant...
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> (wlan0): supplicant manager state: down -> idle
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> (wlan0): device state change: 2 -> 3 (reason 0)
Feb 10 22:03:28 linux-z5dj NetworkManager: <info> (wlan0): supplicant interface state: starting -> ready
I also noted that right after rebooting and going to NM, the wireless connection screen or window shows “Restricted to interface=802.11 wireless” instead of “…wlan0”
Has this device worked properly before in opneSUSE?
If not I suggest you start a new thread about the wireless device
Post the output of: /sbin/lspci -nnk