LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 01:59 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 02:31 PM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 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
Open Source Consulting | Domain Registration