LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-30-2011, 04:17 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Rep: Reputation: 158Reputation: 158
Network Manager and applet issue


hello, i've tried installing my first slackbuild. I wanted gnome network manager as it's the only way i know how to connect to my mobile broadband.
I downloaded the following all from slackbuilds.org and installed them in this order.

libtasn1
ORBit2
GConf
libgnome-keyring
gnome-keyring
network-manager-applet
NetworkManager

if i run the command, "nm-applet" it doesn't work.
Robby's comments says, "You will also need to start rc.networkmanager during boot - you can use
rc.local"

I haven't done this, and think this may be why it won't start. I don't actually know what to do.
thanks
 
Old 06-30-2011, 04:46 AM   #2
yuuko
Member
 
Registered: May 2011
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 20
You need to add the following lines

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

Cheers,
 
Old 06-30-2011, 11:15 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
i feel like such a noob, hammering this forum with questions, so thanks to everyone who's helping out, i am learning.
Do i add those lines to the rc.networkmanager file?
 
Old 06-30-2011, 11:41 PM   #4
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 390

Rep: Reputation: 152Reputation: 152
Quote:
Originally Posted by Knightron View Post
Do i add those lines to the rc.networkmanager file?
No, add them to /etc/rc.d/rc.local. Create the file if it doesn't exist. Make sure it has the executable bit, if not:

Code:
chmod +x rc.local

Last edited by Diantre; 06-30-2011 at 11:42 PM.
 
Old 07-01-2011, 12:04 AM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 523

Rep: Reputation: 140Reputation: 140
Quote:
Originally Posted by Knightron View Post
i feel like such a noob, hammering this forum with questions, so thanks to everyone who's helping out, i am learning.
The path to knowledge is paved with questions. Ask away. But also use the search function in case your question was already covered!
 
Old 07-01-2011, 03:20 AM   #6
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
hi again. ok i put that code into the rc.local file and it still isn't working. I run nm-applet in the terminal as my normal user and i get this message.

Quote:
** (nm-applet:2218): WARNING **: <WARN> request_name(): Could not aquire the NetworkmanagerUserSettings service.
Error: (9) Connection "1.22" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file
so i ran the 'nm-applet' command as root and i got this message,

Quote:
No protocol specified
No protocol specified
No protocol specified
No protocol specified

(nm-applet:2221): Gtk-WARNING **: cannot open display :0.0
 
Old 07-01-2011, 03:30 AM   #7
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 390

Rep: Reputation: 152Reputation: 152
Did you run rc.local after adding the lines? If not, go to /etc/rc.d and type ./rc.local as root. Or run ./rc.networkmanager start.

Next time you restart the computer, it will be started automatically.
 
Old 07-01-2011, 04:42 AM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
i just tried running that command and it said network manager is already running, and it will not start it twice
 
Old 07-01-2011, 08:30 AM   #9
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Is your user a member of the "netdev" group?
 
Old 07-01-2011, 02:08 PM   #10
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 523

Rep: Reputation: 140Reputation: 140
Quote:
Originally Posted by Knightron View Post
i just tried running that command and it said network manager is already running, and it will not start it twice
Well, then did you try:
Code:
./rc.networkmanager stop
./rc.networkmanager start
I haven't looked at the script in ages, there might also be
Code:
./rc.networkmanager restart
 
Old 07-02-2011, 01:38 AM   #11
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
i just tried the stop command and it worked, then i started it again, both as root, then i rebooted, tried "nm-applet and the result is still the same as before.
 
Old 07-02-2011, 03:40 AM   #12
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Have you checked this?
Quote:
Originally Posted by piratesmack View Post
Is your user a member of the "netdev" group?
I can confirm that I get the same error when starting nm-applet if my user is not a member of the "netdev" group.
You can add yourself to the group with a command like:
Code:
usermod -a -G netdev <your username>

Last edited by piratesmack; 07-02-2011 at 03:41 AM.
 
Old 07-02-2011, 05:11 AM   #13
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
hey, thanks everyone, you have all helped me, and nm-applet now runs automatically on boot. on a darker note, unfortunatly it doesn't seem to be as easy as in other distros. Normally after i plug the dongle in, i'll wait a minute and it'll tell me it's detected the dongle and then i'll follow the setup steps to get it up and running. Now nm-applet is working, i've plugged my dongle in, and waited several minutes, but it doesn't show any detection.
 
Old 07-02-2011, 05:20 AM   #14
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Quote:
...
You will probably want to install network-manager-applet (for a configuration
UI) for sure, along with ModemManager (if you want support for configuring
broadband modem connections) perhaps one or more of the VPN-related addons.
Install ModemManager and your mobile broadband should work (might require a rebuild of network-manager-applet after, but I'm not sure)

Last edited by piratesmack; 07-02-2011 at 05:22 AM.
 
Old 07-02-2011, 08:05 AM   #15
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
thanks piratesmack, that solved the problem. Thanks everyone, you all have helped me install my first slackbuild set; and i have found the experience very rewarding, i can now access the internet on my slack partition. (= I'm very happy. I'm not posting this off my slack partition as i want to find out what security things need to be done. Thanks everyone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Network Manager Applet keeps asking for authentication SlowCoder Linux - Networking 3 06-04-2012 11:12 AM
Network Manager Applet carlosinfl Debian 6 06-21-2011 08:33 PM
Network Manager Applet (nm-applet) dwhitney67 Linux - Newbie 5 02-01-2010 11:20 PM
Network manager applet does not start in xmonad johnnyxxxcakes Linux - Newbie 3 02-19-2009 09:09 AM
Network Manager Applet Problem mrant0 Linux - Wireless Networking 2 04-16-2007 01:44 PM


All times are GMT -5. The time now is 11:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration