LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-30-2011, 04:17 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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: 21
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,
 
1 members found this post helpful.
Old 06-30-2011, 11:15 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
1 members found this post helpful.
Old 07-01-2011, 12:04 AM   #5
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
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: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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: 519

Rep: Reputation: 142Reputation: 142
Is your user a member of the "netdev" group?
 
1 members found this post helpful.
Old 07-01-2011, 02:08 PM   #10
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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: 519

Rep: Reputation: 142Reputation: 142
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.
 
1 members found this post helpful.
Old 07-02-2011, 05:11 AM   #13
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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: 519

Rep: Reputation: 142Reputation: 142
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.
 
1 members found this post helpful.
Old 07-02-2011, 08:05 AM   #15
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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



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

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

All times are GMT -5. The time now is 06:28 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