LinuxQuestions.org
Visit Jeremy's Blog.
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 10-24-2003, 09:57 PM   #1
delphig
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
eth0 startup


When I first setup redhat 7.3 I missed something in the startup
configs from the command line (No X)

Now I have to manually put in

/sbin/ifconfig -a eth0 192.168.1.0 netmask 255.255.255.0

And then start the DHCP with /sbin/dhcpcd -n eth0


How do I automate this.. Which files do I edit?

I must of missed something on the initial install... I can see that
it recognizes the eth0 on the startup but it doesn't load the drivers..

Thanks
 
Old 10-24-2003, 11:16 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
It would some of the startup files in /etc/rc.d

I think the easiest thing to do is to put those two lines in
/etc/rc.d/rc.local
this is the script that gets executed after all the other startup scripts have been executed. If you add the two lines here, they will be executed during boot.
 
  


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
backgrounding eth0 during startup jesper54 Linux - Networking 0 01-05-2005 10:15 AM
Don't check for eth0 at startup bbioman85 Mandriva 4 12-20-2004 07:28 AM
Removing eth0 from startup mike270 Linux - Newbie 2 08-14-2004 05:38 PM
eth0 not active on startup rocket84 Linux - Networking 6 07-21-2003 02:09 AM
eth0: Delaying startup? dannyboy259 Linux - Networking 0 04-18-2002 11:50 AM


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