LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2012, 05:07 AM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
What is the advantage (if any) of NetworkManager over wicd?


Hello Everyone

I am just curious because NetworkManager was included in the recent KDE 4.8.2 upgrade. I have an icon in my try which says it is not running, please start it. I have no trouble with wicd, works fine, but I was curious if NetworkManager has any advantages. When I try to start NetworkManager to try it, it doesn't allow me to start it:

Quote:
root@bob-laptop:/home/bob# /etc/rc.d/rc.networkmanager start
bash: /etc/rc.d/rc.networkmanager: Permission denied
I ran this as root. If root can't start it, who can?

Bob
 
Old 04-18-2012, 05:09 AM   #2
santaslilslacker
Member
 
Registered: Nov 2007
Distribution: Slackware64_current
Posts: 45

Rep: Reputation: 27
Try either: a) chmod +x /etc/rc.d/rc.networkmanager and after that /etc/rc.d/rc.networkmanager start
or b) sh /etc/rc.d/rc.networkmanager start
And let us know how do you like it
 
Old 04-18-2012, 05:10 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
as mentioned in the ChangeLog, you have to give execute permission first
Code:
chmod +x /etc/rc.d/rc.networkmanager
 
Old 04-18-2012, 05:57 AM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
There is a short (short on details ) discussion here:

http://www.linuxquestions.org/questi...ed-bug-933893/
 
Old 04-18-2012, 07:03 AM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Well, I appreciate the help on getting it started, but I wish I hadn't tried. Now I can't get my wireless working at all. Network manager tries to connect but even after I have entered my WPA password, it is it's connected but won't get me online because it continually says "waiting for authorization".

Now no networking works. Anyone know how I can restore what I had before? I was using the old fashion Slack connection with W PA, which also no longer works.

Appreciate the help.

EDIT: Got back wireless networking by stopping NetworkManager and starting inet1. But I used to be online as soon as I booted up. NetworkManager has cocked all that up.

Bob

Last edited by BobNutfield; 04-18-2012 at 07:08 AM.
 
Old 04-18-2012, 07:35 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
On my laptop and netbook, NetworkManager found more wireless networks (including my own) and maintained connection better than wicd.
 
Old 04-18-2012, 07:40 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
I have been using NetworkManager supplied as an extra in Alien_Bob's build of KDE 4.8.1. on my netbook for some time and have had no problems with connections. I like NetworkManager as it allows to me handle all my interfaces (wired, wireless and USB modem) from the one screen. My USB modem is not handled by wicd.
Handling NetworkManager from the command line using nmcli is not as intuitive as handling wicd using wicd-curses. Also there are differences in how you handle changing system configuration upon connection. Using wicd you can setup post connect scripts to do tasks such as changing firewall settings. NetworkManager requires setting up scripts in /etc/NetworkManager/dispatcher.d/ as I reported here. http://www.linuxquestions.org/questi...tables-924621/
 
Old 04-18-2012, 08:01 AM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
I finally got it working correctly by stopping inet1. I suppose the two were conflicting. I must have a little script in rc.local starting inet1 at boot, and when I started networkmanager it wouldn't get an ip address. Anyway, I will use it for a while and see which is better. Signal strength is the same for both. So far, don't see much advantage to NetworkManager except a nice little icon in the tray which I didn't have with inet1 or wicd.

Still learning.....

Bob
 
Old 04-18-2012, 08:34 AM   #9
red_fire
Member
 
Registered: Jan 2007
Location: Indonesia
Distribution: Slackware Linux
Posts: 67

Rep: Reputation: 11
Hmm.. I read somewhere that NM supports creating ad-hoc network whereas Wicd doesn't.
I needed to create ad-hoc network for my iPad coz I didn't have a wifi router before
but in the end I gave it up anyway,, couldn't get NM working

Last edited by red_fire; 04-18-2012 at 08:36 AM.
 
Old 04-18-2012, 09:48 AM   #10
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
I prefer NetworkManager because when I wake my laptop from sleep it automatically re-establishes the network connection. Even if I have moved location and it needs to connect to a different network it handles this quickly and automatically. wicd requires that I tell it to reconnect/change network.

Brian
 
Old 04-18-2012, 10:19 AM   #11
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by red_fire View Post
Hmm.. I read somewhere that NM supports creating ad-hoc network whereas Wicd doesn't.
I needed to create ad-hoc network for my iPad coz I didn't have a wifi router before
but in the end I gave it up anyway,, couldn't get NM working
Not difficult. In your rc.M file in /ete/rc.d/ you can #out the lines concerning wicd (or remove them all together) and add NetworkManager. Here is an example:

Quote:
#Start wicd:
#if [ -x /etc/rc.d/rc.wicd ]; then
# sh /etc/rc.d/rc.wicd start
#fi

# Start NetworkManager.
if [ -x /etc/rc.d/rc.networkmanager ]; then
sh /etc/rc.d/rc.networkmanager start
fi
Then make /etc/rc.d/rc.networkmanager executable and reboot your computer.
All there is to it.


Edit in: If you are using KDE then you only have to add the NetworkManager widget to your panel and your are set to go. If you are using KDE 4.8.2, Networkmanager and ModemManager are now part of the whole KDE bundle (in -current).
If you are using Xfce it is a bit more complex as you have to install NetworkManager, ModemManager, the networkmanager applet and a bunch of gnome dependencies. If you are running Xfce 4.8x then the dependencies are probably already installed. Your will probably have to add gnome-keyring, libgnome-keyring (which doesn't work half the time and forgets pass keys) and glib-networking.

Last edited by cwizardone; 04-18-2012 at 10:46 AM.
 
1 members found this post helpful.
Old 04-18-2012, 11:02 AM   #12
jovanoti
LQ Newbie
 
Registered: Mar 2010
Distribution: Slackware
Posts: 25

Rep: Reputation: 2
He can use KnetworkManager as well. I've managed to compile it from a RPM source package for SuSE 11.4 with no additional dependencies (on latest -current), but I think that you can get the source also from here. Later I'll try to packaged it in a Slackware package. Don't know what will happen if you try to install pre-build RPM package.

Last edited by jovanoti; 04-18-2012 at 11:03 AM.
 
Old 04-18-2012, 12:14 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Knetworkmanager is dead. It is no longer developed. For KDE 4.x you should use networkmanagement instead. That contains the task bar widget (aka plasmoid) and the systemsettings applet for configuring NetworkManager.

Eric
 
Old 04-18-2012, 12:19 PM   #14
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
Robby's Xfce 4.8 repository contains all the dependencies you need to get NM working under Xfce, and NM itself is in the extra/ directory. It's pretty stable. I prefer it over wicd and rc.inet1 on my laptop because I routinely switch between Ethernet, wireless and 3G Internet access and don't want to hassle myself with running scripts to switch between them.
 
Old 04-18-2012, 03:00 PM   #15
jovanoti
LQ Newbie
 
Registered: Mar 2010
Distribution: Slackware
Posts: 25

Rep: Reputation: 2
Quote:
Originally Posted by Alien Bob View Post
Knetworkmanager is dead. It is no longer developed. For KDE 4.x you should use networkmanagement instead. That contains the task bar widget (aka plasmoid) and the systemsettings applet for configuring NetworkManager.

Eric
Well, may be you're right, but the source that I get from SusE RPM when compiled produces knetworkmanager binary and some so files. When started it creates icon in notification area (sys tray) with two options in context menu (Enable networking and Manage connections) and it opens KDE systemsettings applet as standalone application if you select Manage connections. I'm not sure whether the source of Network Management from projects.kde.org contains the same code, may be SuSE RPM is some kind of custom implementation specific to SuSE. However, it is suitable only if you have KDE installed along with XFCE.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Any advantage to 2.6.38.4? soxplayer Slackware 3 06-07-2011 01:51 AM
Advantage of idmapd dhanju Linux - Server 2 07-27-2010 01:17 PM
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
Apache advantage? linuxhippy Slackware 12 08-31-2005 08:44 PM
how to take advantage of openMOSIX ? qwijibow Programming 5 01-14-2005 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration