LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-26-2012, 03:52 AM   #1
luxuslurch
LQ Newbie
 
Registered: Sep 2012
Location: Mainz, Germany
Distribution: Slackware-current
Posts: 4

Rep: Reputation: Disabled
enable network-manager at startup


Hello,

slackware-current x86 running here with KDE, all freshly installed from Slackware 14 RC5.

I am trying to start network-manager at startup (hence the title). Network-manager was included from the beginning so I thought, I'd give it a chance.

When starting KDE, there's an (nm?)applet in my taskbar which states that network-manager is not running. It then picks up its work when I tell him to do so:
Code:
#sh /etc/rc.d/rc.networkmanager start
So the network-manager itself is functioning fine.

According to this post I checked that /etc/rc.d/rc.M looked as described there. But still network-manager doesn't come up when booting up.

Hmm... my best guess is, that I have not yet understood the order of the init-scripts. Where do I have to edit what in order to let network-manager boot up when going into multiuser (init 3)?

Thank you very much in advance!
 
Old 09-26-2012, 04:18 AM   #2
sorinm
Member
 
Registered: Jul 2012
Location: RO
Distribution: Slackware64-current/Debian 10
Posts: 76

Rep: Reputation: 33
chmod +x /etc/rc.d/rc.networkmanager
 
1 members found this post helpful.
Old 09-26-2012, 04:51 AM   #3
luxuslurch
LQ Newbie
 
Registered: Sep 2012
Location: Mainz, Germany
Distribution: Slackware-current
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you, it worked. I didn't know you could execute scripts even though they are not marked as executable...
 
Old 09-26-2012, 05:32 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by luxuslurch View Post
Thank you, it worked. I didn't know you could execute scripts even though they are not marked as executable...
You can, as long as you invoke the script as the first argument given to the program or command that will execute it, like this:
Code:
/bin/sh /etc/rc.d/rc.manager start
When you execute it like this instead:
Code:
/etc/rc.rc.d/rc.manager start
the command interpreter looks at the first line of the script to find which program it should invoque to execute the script, in this case:
Code:
#!/bin/sh
so it tells the /bin/sh program to execute the script.

As you already knew, the latter way only works if the script is executable.

Last edited by Didier Spaier; 09-26-2012 at 05:34 AM.
 
  


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
Cannot "Enable Wireless" in Network Manager stuart_m Linux - Desktop 5 11-16-2011 06:10 AM
how to enable network manager: Suse 11.3: bird_man Linux - Newbie 2 09-20-2011 03:27 PM
Network manager needs to be root/superuser (fluxbox startup doesnt work) Grisnak Slackware 7 08-18-2011 09:25 PM
[SOLVED] How do I switch the network manager from YAST back to the default network manager? skykooler SUSE / openSUSE 7 03-09-2010 06:28 PM
[SOLVED] Ubuntu 9.04 Network manager won't re-enable eth0 if router restarted NightHorse Linux - Newbie 17 07-29-2009 11:16 PM

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

All times are GMT -5. The time now is 05:50 PM.

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