network manager on slackware 13.0, the dirty and easy way
I love to be back to Slackware, my very first distribution. However, there are a couple of things that I’m missing from the other more comfortable distributions. From among them, I totally miss Network Manager. I saw many people asking in forums on how to install Network Manager in Slackware 13.0. There is Wicd, already present in Slackware “repositories”. Every Slackware maniac will tell you that it does the same job of Network Manager, but I don’t agree. It does not always work and is more complicated to be configured than NM.
Anyway, I’m going to explain to Slackware newbies the dirty way to have a fully working Network Manager on Slackware 13.0. This method is totally against Slackware philosophy and will also replace some important libraries of the system! Anyway, the packages being replaced are prepared from the guys behind GNOME SlackBuild, a project to bring Gnome in every Slackware release. You have two way to have Network Manager in your Slackware: either install the entire Gnome from them (or any other similar project) or use slapt-get against their repositories and just install Network-Manager. Here are the instructions. All the following actions must be performed as root user:
Download, install and configure slapt-get. Instructions are provided on their website. Update your system with:
slapt-get --update slapt-get --dist-upgrade
Add GNOME SlackBuild repository in /etc/slapt-get/slapt-getrc:
Update the list of available packages and replace some system packages:
slapt-get --update slapt-get --add-keys slapt-get --install --reinstall alsa-lib bluez glib2 gtk+2 libwnck
Now install Network Manager and its GTK applet:
slapt-get --install NetworkManager network-manager-applet
Be sure that dbus, hal and NetworkManager daemons will be loaded at boot time:
chmod +x /etc/rc.d/rc.messagebus /etc/rc.d/rc.hald /etc/rc.d/rc.networkmanager
Add your user to the plugdev group. Edit /etc/group, find the line
netdev:x:86:root Add your username after root (bodom_lx is my case) netdev:x:86:root,bodom_lx
You are quite finished now! Log back as normal user and create a startup script for network-manager-applet:
Create a file called nm-applet.sh with the following content:
#!/usr/bin/bash nm-applet --sm-disable &
Give it execution permission:
chmod +x nm-applet.sh
Reboot your system. Everything should work fine now.
To uninstall Network Manager and restore the system as it was before the installation follow these instructions, as root::
remove any GNOME SlackBuild package using:
Comment GNOME SlackBuild entry in /etc/slapt-get/slapt-getrc:
Update your slapt-get sources and re-install the replaced Slackware packages:
slapt-get --update slapt-get --reinstall --install glib2 libwnck alsa-lib gtk+2
Toggle execution permission to the auto-started network-manager-applet. Log back as normal user and type:
chmod -x ~/.kde/Autostart/nm-applet.sh
Feel free to comment any suggestion.
I do not use a commenting system anymore, but I would be glad to read your comments and feedback. Feel free to contact me.