Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Odd dhcpcd behavior
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tyne
n00b
n00b


Joined: 04 Jun 2003
Posts: 48
Location: Brighton, Massachusetts

PostPosted: Thu Jun 15, 2006 12:31 am    Post subject: Odd dhcpcd behavior Reply with quote

When I boot my machine eth0 starts fine but does not get a dhcp lease. I have to manually run dhcpcd. After that I have an ip and can access my network fine. in /etc/conf.d/net I have
Code:

iface_eth0= "dhcp"

what else could be the problem ? It annoying to have to manually renew my lease each time
Thanks
T
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Thu Jun 15, 2006 12:41 am    Post subject: Reply with quote

you probably want to replace iface_eth0="dhcp" with:
Code:
config_eth0=( "dhcp" )

if you are using dhcp to get your address, without any special additional options, then a blank /etc/conf.d/net file should work for you..
more details and examples are included in /etc/conf.d/net.example
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
tyne
n00b
n00b


Joined: 04 Jun 2003
Posts: 48
Location: Brighton, Massachusetts

PostPosted: Thu Jun 15, 2006 1:28 am    Post subject: Reply with quote

I tried using a blank file and also the change you suggested and still no luck... Its almost like its ignoring that file altogether...
Back to top
View user's profile Send private message
guduri
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 230
Location: Ann Arbor, Michigan

PostPosted: Thu Jun 15, 2006 2:17 am    Post subject: Reply with quote

Do you have net.eth0 to start in the run level you start up with? Usually the run level called default.
_________________
Power is about what you can control. Freedom is about what you can unleash.
Back to top
View user's profile Send private message
tyne
n00b
n00b


Joined: 04 Jun 2003
Posts: 48
Location: Brighton, Massachusetts

PostPosted: Thu Jun 15, 2006 3:28 am    Post subject: Reply with quote

yep starts in default. THing is it does not seem to call the dhcp stuff when it does start....
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Thu Jun 15, 2006 7:54 am    Post subject: Reply with quote

have you run any recent updates ?
did you remember to run dispatch-conf or etc-update after your updates ?
especially if any base-layout updates
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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