Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd eth0 needs to load at startup
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Mon Jul 22, 2002 12:43 am    Post subject: dhcpcd eth0 needs to load at startup Reply with quote

My internet connection works when I type
[cood]dhcpd eth0[/code]
How do I automatically configure this so I don't need to do it myself on each startup?
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Mon Jul 22, 2002 12:48 am    Post subject: Reply with quote

assuming that you meant "dhcpcd eth0": in /etc/conf.d/net :
Code:
iface_eth0="dhcp"
dhcpcd_eth0="-t 30"

and after that
Code:
rc-update add net.eth0 default


EDIT: the "-t 30" option sets the timeout for the dhcpcd. this is rather usefull once you're booting without having a dhcp server, I don't know what the default timeout is (if there is any), but sure longer than 5 minutes !

* ElCondor pasa *
_________________
Here I am the victim of my own choices and I'm just starting!


Last edited by ElCondor on Mon Jul 22, 2002 1:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 22, 2002 12:51 am    Post subject: Reply with quote

Uncomment #iface_eth0="dhcp" line in /etc/conf.d/net.
Forum search would have probably gotten you this.
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Mon Jul 22, 2002 1:00 am    Post subject: Reply with quote

Thanks for the quick replies. I had both those lines set but didn't have the -t 30 value set
when I type rc-update add net eth0 default I get
* /sbin/rc-update: /etc/init.d/net not found; aborting
I am root, I did a "su -". I was told that would help but it didn't
I also tried substituting /sbin/rc-update for rc-update.

Thanks again
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Jul 22, 2002 1:02 am    Post subject: Reply with quote

check etc/conf.d/net

line should be uncommented

iface_eth0="dhcp"
Back to top
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Mon Jul 22, 2002 1:06 am    Post subject: Reply with quote

I still get the error when the line is commented out
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 22, 2002 1:07 am    Post subject: Reply with quote

You missed a "." between net and eth0 there.
Back to top
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Mon Jul 22, 2002 1:09 am    Post subject: Reply with quote

Of all things restarting fixed it!
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Jul 22, 2002 1:20 am    Post subject: Reply with quote

self-proclaimed crowned Guru -geeks never ask if possibly a typo
just critisize
Back to top
Guest






PostPosted: Mon Jul 22, 2002 1:26 am    Post subject: restart ? Reply with quote

Ever had windows on this machine

forgot to delete registry
Back to top
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 22, 2002 1:50 am    Post subject: Reply with quote

"Self proclaimed guru"... which bee got under your bonnet? What is the criticism? Read his post carefully:
Quote:

when I type rc-update add net eth0 default I get
* /sbin/rc-update: /etc/init.d/net not found; aborting


He had his net.eth0 file in his default init level already. This is why the reboot worked. Think before you post.

Anonymous wrote:
self-proclaimed crowned Guru -geeks never ask if possibly a typo
just critisize
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Jul 22, 2002 3:16 am    Post subject: Reply with quote

want to walk on water, don't take the bait sucker
Back to top
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 22, 2002 3:18 am    Post subject: Reply with quote

Get a life, anon. Learn to read and write intelligibly... or haven't they covered that yet in grade school?
Anonymous wrote:
want to walk on water, don't take the bait sucker
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 22, 2002 3:19 am    Post subject: Reply with quote

These forums are for help. If you can't help, at least don't be a hindrance.
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Jul 22, 2002 3:35 am    Post subject: Reply with quote

feeling damp ?

try parting instead of walking
Back to top
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jul 22, 2002 9:24 am    Post subject: Reply with quote

Locking thread.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum