LinuxQuestions.org
Visit Jeremy's Blog.
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 07-09-2006, 10:24 PM   #1
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Rep: Reputation: 30
which rc.d script does netconf modify?


Hey people! I am trying to set up my network without the help of netconf. To make this work, I need to give the following commands everytime I boot:

ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
route add default gw 192.168.0.1

I know that netconf sets up some rc.d script to make this, I just don't know which one...?

Thanks!
 
Old 07-09-2006, 10:27 PM   #2
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
/etc/rc.d/rc.inet1.conf
 
Old 07-09-2006, 10:30 PM   #3
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Are you thinking of /sbin/netconfig script?
 
Old 07-09-2006, 11:47 PM   #4
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
Quote:
Originally Posted by pxumsgdxpcvjm
/etc/rc.d/rc.inet1.conf
After you edit that file, you should run /etc/rc.d/rc.inet1 as root to activate the settings.
 
Old 07-10-2006, 11:10 AM   #5
stevesk
Member
 
Registered: Dec 2004
Distribution: Slackware-current
Posts: 207

Original Poster
Rep: Reputation: 30
Found the script! Thank you all!
 
  


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
script to modify url gazman1 Programming 2 06-14-2006 10:17 AM
How to modify the library path variable?modify the Electronkz Linux - Newbie 1 04-13-2004 07:18 AM
modify bash script - recursive action xscousr Programming 6 09-17-2003 02:52 PM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 04:34 AM
Netconf help... cl0ckw0rk Linux - Networking 0 04-26-2001 06:06 PM

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

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