LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2004, 09:40 AM   #1
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
Question Start up setting.


Hi, I installed Slackware 9.1 on my box, and do few settings to set up the network connection:

#ifconfig eth0 xx.xx.xx.xx broadcast xx.xx.xx.xx netmask xx.xx.xx.xx
#route add default gw xx.xx.xx.xx

And edited /etc/resolv.conf file. This works fine, and the network runs smoothly.

However, when I restart the system, all these network configuration were gone (except for whatever I written in /etc/resolf.conf). How do I solve this problem, so that the network configuration stays, even after a restart?

Thanks.
 
Old 02-28-2004, 09:47 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
You could use netconfig, a tool for setting up network related stuff. You can also take a look at /etc/rc.d. Especially the rc.inet1 and rc.inet1.conf files.

Hope this helps.
 
Old 02-28-2004, 10:18 AM   #3
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
or you could just add
#ifconfig eth0 xx.xx.xx.xx broadcast xx.xx.xx.xx netmask xx.xx.xx.xx
#route add default gw xx.xx.xx.xx

to you /etc/rc.d/rc.local file and it will boot up upon start before you log in

 
Old 02-28-2004, 10:36 AM   #4
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks! It's all working fine now. Anyway, is there a specific documentation on netconfig?

When I tried netconfig, the first question is to enter the hostname, can I just enter anything? and what if I dont have a domain yet?
 
  


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
setting directory permissions at start redrobin77 Fedora 1 11-05-2005 02:26 PM
I need help setting up ADSL to start at boot. Please :). beejayzed Mandriva 1 09-21-2005 06:12 PM
Setting which DE to start? tkarkkainen Linux - Software 4 03-22-2004 02:28 AM
Where to start with setting up a LAN? Megamieuwsel Linux - Networking 3 09-11-2003 02:50 PM
RH8 Setting up firewall - how to start? melmore Linux - Networking 2 12-21-2002 06:18 PM


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