KWALLET REMOVED / WIFI / NETWORK MANAGER

Hi,

after I removed KWallet, I am not able to get WiFi working any more.
If I connect to the internet via a LAN cable, everything works fine.

What I want to accomplish, is to have wifi up and running with ‘as
little KWallet as possible’. What prompted me to remove KWallet was
the last software update, it gave me KWallet ‘all over the place’.

I am running KDE, GNOME seems to be better documented than KDE,
but so far I have been quite happy with KDE.

I know that I could take a backup of everything and reinstall 42.3,
but for several reasons I consider that being the last resort.

I have tried to perform an update from CD, but that does not solve
anything.

Suggestions are very welcome!
Best regards,
Jan Christian

“Help! I shot myself in the foot. And now I am wondering why it hurts!”

Lots of KDE software uses “kwallet”. It’s a mistake to remove it.

What I want to accomplish, is to have wifi up and running with ‘as
little KWallet as possible’.

After setting up the network connection, right click on the tray icon and select “edit connections”.

Select your WiFi connection to edit. Click the security tab. There should be a field for the network key (password).

On the right of that field, there are two icons. One looks like a diskette. Click that, and you are given a choice of where to save the network key. Set if to save the key to an unencrypted file. Save the changes. After that, “kwallet” will no longer be involved in your WiFi connection. And note that the unencrypted file where the key is saved, is a file readable only by root, so it isn’t an actual security problem.

What prompted me to remove KWallet was
the last software update, it gave me KWallet ‘all over the place’.

I have no idea what “Kwallet all over the place” even means. For me, it seems unobtrusive. I give the kwallet key once per login. And I have configured it to stay open. I am never again prompted, until I logout and login again.

You can also set a blank password for wallet and it won’t bother you again

“Help! I shot myself in the foot. And now I am wondering why it hurts!”

I am not wondering at all.

Lots of KDE software uses “kwallet”. It’s a mistake to remove it.

I regard this a design flaw.

After setting up the network connection, right click on the tray icon and select “edit connections”.

No such icon in the tray. Using yast is a dead end: ESSID and Encryption key are entered etc.
(following the same procedure as before the self-inflickted wound when everything worked, ref below).

On the right of that field, there are two icons. One looks like a diskette.

No diskette icon found.

End ofthe network setup procedure: Network manager quits without any comment, wifi not running.

One interesting aspect of the documentation: The reference on 42.3 (section 28) presumes one
is running GNOME, what about KDE users?

I think the best way to get wifi working again is by (correctly) installing KWallet
and NetworkManager via the Konsole, any hints?

Best regards,
Jan Christian

PS On ‘all over the place’:
After the last update (all updates installed), I wanted to enter the password
for my local newspaper. At this point KWallet intervened, requesting me to
enter the password for KWallet and enter the password for the newspaper.
I was able to circumvent the problem, but it popped up the next time a
password was requested, and the next, and …

Then I suggest that you install XFCE or MATE or Gnome, and stop using KDE. The use of “kwallet” has been integrated into KDE since forever. If you don’t like the design, choose a different desktop.

If you want to keep using KDE, then reinstall “kwallet” if you have not already done so.

No such icon in the tray. Using yast is a dead end: ESSID and Encryption key are entered etc.
(following the same procedure as before the self-inflickted wound when everything worked, ref below).

The reason that there’s no icon in the tray, is because you have apparently switched to using “wicked” for network settings, instead of using “NetworkManager”. You can switch it back if you prefer NetworkManager, but you will need to have “kwallet” installed for that.

No diskette icon found.

That’s only when using NetworkManager. If you have switched to “wicked” then Yast is the way to handle network settings. I never had a problem with that.

Network manager quits without any comment, wifi not running.

If you have switched to using “wicked”, then NetworkManager quits without comment. You will need to use Yast to switch back to NetworkManager.

One interesting aspect of the documentation: The reference on 42.3 (section 28) presumes one
is running GNOME, what about KDE users?

I’m not sure what documentation you are referring to. NetworkManager works fine with KDE. I’m using it on my laptop. I’m using “wicked” on my main desktop (where I am typing this).

I think the best way to get wifi working again is by (correctly) installing KWallet
and NetworkManager via the Konsole, any hints?

It will be easier to do when logged into KDE – assuming that still works. If you have broken KDE, then at the desktop login, you should be able to choose “Icewm” and login there. Then run Yast to get to Yast Software Management.

In Yast, I suggest that you select the “Patterns” view, and then make sure that the KDE Plasma pattern is checked. I think that will reinstall anything that is missing and needed for KDE to run. I can’t test that, because I don’t wish to remove “kwallet” in order to try it out.

PS On ‘all over the place’:
After the last update (all updates installed), I wanted to enter the password
for my local newspaper. At this point KWallet intervened, requesting me to
enter the password for KWallet and enter the password for the newspaper.
I was able to circumvent the problem, but it popped up the next time a
password was requested, and the next, and …

Actually, “kwallet” doesn’t do that. Your Browser request to open “kwallet” for accessing/storing the network password. I’m not sure what browser you are using. I use “firefox” and it does not request “kwallet”. If I use “qupzilla”, it request “kwallet” during browser startup. I’m not sure about “vivaldi”. I think it requests “kwallet” the first time that a password is needed. I’m also not sure about “chromium”. For me, “kwallet” is already open before I start either “vivaldi” or “chromium”.

In your main menu, there should be an entry for “KWalletManager”. It is under “System”.

Run that. Then click on “Settings → Configure Wallet”.

There should be a section there with heading “Close wallet”.
Uncheck all three boxes in that section. And then click “OK” or “Apply”. After that change, “kwallet” should stay open for your entire KDE session until you logout. You will only be prompted for the password once per login. If that is too much, then change the “kwallet” password to blank and you will never be bothered again.

Uninstalling kwallet(d5?) will also remove plasma-nm5 though. And that’s probably the main reason here why the network icon is missing even if you switch back to NetworkManager.

So I’d recommend to reinstall plasma-nm5, and the icon should reappear if NetworkManager is active (although you may have to reenable it in the “System Tray Settings”, I’m not sure).

There are other interfaces to NetworkManager though, if you should need them:

  • nm-applet (part of the package NetworkManager-gnome, works fine in KDE/Plasma too)
  • nmtui (a text mode interface that you can run in Konsole e.g., part of NetworkManager itself)

Btw, you can also configure NetworkManager to store the WiFi key system-wide, there’s no need to open kwallet then, and it should also be possible to disable (not uninstall) kwallet then I think.

I presume you mean that, you are proposing an alternative means for the management of the access keys needed for:

  1. POP3 and IMAP e-Mail Client/Server access;
  2. SMB access to Microsoft Network drives;
  3. KDE DrKonqui access to the KDE Bugzilla;
  4. A convenient place to note the user names and passwords we use to access Web things such as Forums;
  5. The place where the keys needed for WLAN/WiFi access are stored.

Unfortunately, you’ve omitted to mention the proposal you seem to be making for an alternative solution; please describe your idea.
[HR][/HR]BTW, current cryptographers, computer security professionals such as Bruce Schneier <https://www.schneier.com/> (Currently, the Chief Technology Officer of IBM Resilient, a fellow at Harvard’s Berkman Center, and a board member of EFF), have been recommending the use of password wallets for some years now.

I presume you mean that, you are proposing an alternative means for the management of the access keys needed for:
POP3 and IMAP e-Mail Client/Server access;SMB access to Microsoft Network drives;KDE DrKonqui access to the KDE Bugzilla;A convenient place to note the user names and passwords we use to access Web things such as Forums;The place where the keys needed for WLAN/WiFi access are stored.
Unfortunately, you’ve omitted to mention the proposal you seem to be making for an alternative solution; please describe your idea.

Since I have no need for access to these codes on a daily basis, I would propose a notebook (one or more memory sticks could
also do, but I then would prefer to go offline).

Best regards,
Jan Christian
[HR][/HR]

Hello, many thanks for the kind assistance you provided!

Reinstall of NetworkManager, then of KWallet did it.

Best regards,
Jan Christian