LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   NetworkManager (http://www.linuxquestions.org/questions/slackware-14/networkmanager-944729/)

lopid 05-13-2012 08:30 AM

NetworkManager
 
I don't use a desktop environment like KDE, so I can't "add the KDE "Network Manager" widget to your desktop" like the changelog says. I use Openbox standalone. I can start NetworkManager with rc.networkmanager, but how do I manage it? The NetworkManager web site doesn't even say. I found a nmcli command-line program, but surely there's a GUI for it.

schmatzler 05-13-2012 08:38 AM

You can use this SlackBuild:

http://slackbuilds.org/repository/13...anager-applet/

to build the GUI for network-manager. You should change the version to 0.9.2 and build this one.

lopid 05-13-2012 09:01 AM

Thanks. Is it just me or does the network-manager-applet compile die with the following?

Code:

sed: can't read /tmp/SBo/package-network-manager-applet/etc/dbus-1/system.d/nm-applet.conf: No such file or directory

cwizardone 05-13-2012 10:27 AM

No, you are not alone. I just had the exact same problem.

Quote:

installing zh_TW.gmo as /tmp/SBo/package-network-manager-applet/usr/share/locale/zh_TW/LC_MESSAGES/nm-applet.mo
make[1]: Leaving directory `/tmp/SBo/network-manager-applet-0.9.2.0/po'
make[1]: Entering directory `/tmp/SBo/network-manager-applet-0.9.2.0'
make[2]: Entering directory `/tmp/SBo/network-manager-applet-0.9.2.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/applications" || /bin/mkdir -p "/tmp/SBo/package-network-manager-applet/usr/share/applications"
/bin/ginstall -c -m 644 nm-applet.desktop '/tmp/SBo/package-network-manager-applet/usr/share/applications'
test -z "/etc/xdg/autostart" || /bin/mkdir -p "/tmp/SBo/package-network-manager-applet/etc/xdg/autostart"
/bin/ginstall -c -m 644 nm-applet.desktop '/tmp/SBo/package-network-manager-applet/etc/xdg/autostart'
test -z "/usr/share/applications" || /bin/mkdir -p "/tmp/SBo/package-network-manager-applet/usr/share/applications"
/bin/ginstall -c -m 644 nm-connection-editor.desktop '/tmp/SBo/package-network-manager-applet/usr/share/applications'
test -z "/etc/gconf/schemas" || /bin/mkdir -p "/tmp/SBo/package-network-manager-applet/etc/gconf/schemas"
/bin/ginstall -c -m 644 nm-applet.schemas '/tmp/SBo/package-network-manager-applet/etc/gconf/schemas'
make[2]: Leaving directory `/tmp/SBo/network-manager-applet-0.9.2.0'
make[1]: Leaving directory `/tmp/SBo/network-manager-applet-0.9.2.0'
sed: can't read /tmp/SBo/package-network-manager-applet/etc/dbus-1/system.d/nm-applet.conf: No such file or directory

nblxxx 05-13-2012 10:36 AM

Quote:

Originally Posted by schmatzler (Post 4677256)
You can use this SlackBuild:

http://slackbuilds.org/repository/13...anager-applet/

to build the GUI for network-manager. You should change the version to 0.9.2 and build this one.

1. download slackbuild here > http://slackbuilds.org/repository/13...anager-applet/
2. change version to 0.9.2
3. download source here > http://ftp.acc.umu.se/pub/GNOME/sour...0.9.2.0.tar.xz
4. run the slackbuild

nblxxx 05-13-2012 10:40 AM

Quote:

#sed -i "s/at_console=\"true\"/group=\"netdev\"/g" $PKG/etc/dbus-1/system.d/nm-applet.conf
oh and comment out this line (in the slackbuild)

titopoquito 05-13-2012 11:08 AM

Quote:

Originally Posted by lopid (Post 4677273)
Thanks. Is it just me or does the network-manager-applet compile die with the following?

Code:

sed: can't read /tmp/SBo/package-network-manager-applet/etc/dbus-1/system.d/nm-applet.conf: No such file or directory

Edit: Way too slow, do as nblxxx suggested.

cwizardone 05-13-2012 11:40 AM

Quote:

Originally Posted by nblxxx (Post 4677331)
....2. change version to 0.9.2...

Did that and also had to changed the compression suffix on the source file I downloaded from gnome/networkmanager...
Didn't help.


Quote:

Originally Posted by nblxxx (Post 4677337)
oh and comment out this line (in the slackbuild)

Bingo! That did it.
Thanks you very much!
Networkmanager 0.9.4 is about as flaky as wicd and I wanted to be able to use 0.9.2 in both KDE and Xfce 4.10, but couldn't find a applet for 0.9.2. Problem solved.
Thanks, again.
:hattip:

lopid 05-13-2012 12:22 PM

Working here, too. Thanks!


All times are GMT -5. The time now is 09:01 PM.