OK, I found the solution after a few more hours of fiddling.
First of all, the laptop has a Broadcom wireless card which has to be used with the broadcom-sta driver to work correctly.
For my experiment, I setup a double boot, with Slackware64 14.1 + Xfce on one side, and Slackware64 14.1 + KDE on the other side.
Let me clarify that there are two different graphic frontends for NetworkManager:
- 'network-manager-applet', which is used in a default Xfce setup
- KDE's 'networkmanagement' Plasma applet
On the Xfce side, things run perfectly out of the box. As soon as I get rid of any configuration in rc.inet1.conf and activate rc.networkmanager, the corresponding applet shows up in the system tray. I can connect to my wireless network, the connection is stable, and it also connects automagically to it after subsequent reboots.
On the KDE side, I can use the corresponding 'networkmanagement' Plasma widget to connect to my wireless, but it fails in several aspects. The connection is not stable and I simply lose my IP address (with the applet showing I'm still connected). After a KDE restart, the applet insists on asking for a password for a reconnection, and I must check "System-wide connection" to prevent that sort of behaviour. So I decided to give the other applet a spin in KDE. Here's how it works.
Remove KDE's applet:
Code:
# removepkg networkmanagement
For nm-applet to show up automagically in KDE, do this:
Code:
$ mkdir ~/.config/autostart
$ grep -v NotShowIn /etc/xdg/autostart/nm-applet.desktop > ~/.config/autostart/nm-applet.desktop
This is a partial success, as nm-applet now shows up correctly in KDE's system tray, but... you can't connect to anything except an unencrypted wireless signal. Neither can you configure anything, as the applet's "Store" button is grayed out.
A quick look on the Xfce side shows us the following process under the hood:
Code:
1059 ? Sl 0:00 /usr/libexec/polkit-gnome-authentication-agent-1
This process is absent on the KDE side, so we have to invoke it manually. We can do it in the same manner as we did it for the applet:
Code:
$ grep -v NotShowIn /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop \
> ~/.config/autostart/polkit-gnome-authentication-agent-1.desktop
Restart KDE, and everything works perfectly. I can connect to an encrypted network, the connection is stable, and my laptop automagically reconnects to it after a reboot. Plus, the applet makes use of the Oxygen-GTK theme, so visual integration is perfect.