LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-25-2003, 01:07 PM   #1
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
simple question...


i finally got my ethernet working, but if I want it to work I need to do the following:

ifconfig eth0 down
ifconfig eth0 up
dhcpcd eth0

on startup it looks like dhcpcd is ran b4 nvnet.o is loaded also, and there's a dhcpcd error.

how do I fix this so my eth0 works off the bat, and I don't have to type the above every time I reboot?

thanks
 
Old 08-25-2003, 02:59 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Can you tell if your module for you card is being loaded after dhcpd is running at bootup? If so, you'll just need to edit your startup scripts to load the module first before dhcpd is loaded, etc.
 
Old 08-25-2003, 03:31 PM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
I use slack and I do not see why it does not work, however here is a way to use your fix as a very ugly hack/fix (it will work, juts not pretty)
edit the /etc/rc.d/rc.local file
add your 3 commands to the bottom only change them liek so:
ifconfig eth0 down
ifconfig eth0 up
dhcpcd -t 10 -d eth0 # this will make dhcp time out after 10 seconds so that if you disconnect the computer it won't sit and wait for 10 minuts. then -d is how to specify what device using flags.
 
  


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
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 03:03 PM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 10:03 PM
Hopefully a Simple Question Arcane Kidd Linux - Newbie 5 01-17-2003 05:27 PM
Really Simple Question -- Please help! Cia420 Linux - General 3 05-07-2002 07:42 AM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 05:08 AM


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