Apr 9, 2011

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:

Add GNOME SlackBuild repository in /etc/slapt-get/slapt-getrc:

Update the list of available packages and replace some system packages:

Now install Network Manager and its GTK applet:

Be sure that dbus, hal and NetworkManager daemons will be loaded at boot time:

Add your user to the plugdev group. Edit /etc/group, find the line

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:

Give it execution permission:

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:

Toggle execution permission to the auto-started network-manager-applet. Log back as normal user and type:

Feel free to comment any suggestion.

written by dgraziotin

Dr. Daniel Graziotin received his PhD in computer science, software engineering at the Free University of Bozen-Bolzano, Italy. His research interests include human aspects in empirical software engineering with psychological measurements, Web engineering, and open science. He researches, publishes, and reviews for venues in software engineering, human-computer interaction, and psychology. Daniel is the founder of the psychoempirical software engineering discipline and guidelines. He is associate editor at the Journal of Open Research Software, academic editor at the Research Ideas and Outcomes (RIO) journal, and academic editor at the Open Communications in Computer Science journal. He is the local coordinator of the Italian Open science local group for the Open Knowledge Foundation. He is a member of ACM, SIGSOFT, and IEEE.

  • Almafuerte Aug 8, 2011 Reply

    Damn dude, I’m also back on Slackware after 3 years of Ubuntu.

    I first jumped into the GNU/Linux world with Slackware 3.6 and used it exclusively until version 12.

    I used Ubuntu from 2008 until a moment ago, when I decided I was not going to update from 10.10, and I needed to go back to the roots.

    Most of my career has been as a sysadmin, and most of it was on Slackware. On the server, it’s beautiful, but after getting back, the first thing I missed was the network manager.

    So, welcome back to you too, thanks for the post, and Long live Patrick!


  • xuân diễn Oct 11, 2011 Reply

    bài này rất bổ ích nhưng máy tính tôi đang định cài gói phần mềm ấy offline bạn có thể cho tôi link tải xuống của gói phần mềm ấy được không? Cám ơn bạn rất nhiêu!

  • dgraziotin Oct 11, 2011 Reply

    Well mate, I wish I could speak Vietnamese, but I can not. I understand that you are reporting me that my links are offline now.
    1) There are many mirrors you can use for gsb, that are reported here: http://gnomeslackbuild.org/download/#mirrors.
    2) GSB-current now is Gnome 3.0, so many things reported here won’t work. You may still try using gsb-2.30 (made for 13.1, that was -current at 13.0 time).
    Therefore, try to use SOURCE=http://ftp5.gwdg.de/pub/linux/slackware/gsb/gsb-2.30_slackware-13.1/

    Good luck!

Leave a comment