LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-14-2004, 08:50 AM   #1
tethysgods
Member
 
Registered: May 2004
Posts: 166

Rep: Reputation: 17
SuSE 9.0, Wot no rc.config?


I am setting up a modem, and I want to set up boot time DHCP.

The manufacturer's booklet is fine up to SuSE 7, it says

for SuSE, edit rc.config so that

NETCONFIG="_0"
NETDEV_0="eth0"
IFCONFIG_0="dhcpclient"

then shut down and reboot

but in SuSE 9.0 things are very different, there just isn't an rc.config,
and I am not sure if NETCONFIG etc are in any config files at all anymore.

Any ideas?

(The modem manufacturer's helpline have no idea, and say there is no intention
on bringing their instruction booklet up to date.)
 
Old 07-24-2004, 07:12 PM   #2
scooter4j
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
SuSE startup stuff

Well - I'm by no means an expert (as I'm setting up my first SuSE Linux 9.1 system now) but I did find the following information relative to getting services to start when Linux boots. I was trying to get Samba to start when Linux does so my commands are Samba-specific.

First, the technical information, from http://sdb.suse.de/sdb/en/html/ke_rcconfigd-60.html:
"Attention: Please note that from SuSE Linux 8.0 on, the start variables of rc.config are ignored when starting services. All services start only if the corresponding links already exist in the runlevel directories. Links can be created with insserv. For further information, please refer to the man pages:
man insserv
The configuration of the system services takes place by way of variable entries in the files of the /etc/sysconfig directories. When updating, the settings from the file /etc/rc.config.d will be adopted."

Now, the application of this information:
So.... there was a Samba startup file, smb, in the /etc/init.d directory. This smb file had the header information that insserv uses so it was ready to go. To "register" Samba to start when Linux starts I executed the following command from /etc (as root):
insserv -d /etc/init.d/smb
insserv -d /etc/init.d/nmb
(this second line enables windows boxes to see my samba shares).

This "registration" resulted in creation of links in the /etc/init.d/rc5.d and rc3.d directories (since run levels 3 and 5 were specified in the smb file) that pointed to the smb startup script. When I rebooted, voila! Samba (or, technically, smbd and nmbd started up).

Hope that helps.
Scott
 
  


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
Wot no Umlauts kaine Linux - Newbie 13 01-06-2006 05:05 PM
How do I clone a suse config? famewolf SUSE / openSUSE 5 01-08-2005 11:41 AM
Network Config in SuSE 6.4 LinuxBlackBox Linux - Hardware 0 10-19-2003 09:58 AM
Question (donno wot to head it as) identikal General 2 10-08-2003 11:37 AM
Any1 Help A Totaly Newbie With No Linux Experiance Wot So Ever! bradsickskater Linux - Newbie 4 12-31-2002 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration