View previous topic :: View next topic |
Author |
Message |
tyne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18636012634490d40577237.jpg)
Joined: 04 Jun 2003 Posts: 48 Location: Brighton, Massachusetts
|
Posted: Thu Jun 15, 2006 12:31 am Post subject: Odd dhcpcd behavior |
|
|
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
what else could be the problem ? It annoying to have to manually renew my lease each time
Thanks
T |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TheRAt Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/965802054438fd382cded6.jpg)
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Thu Jun 15, 2006 12:41 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tyne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18636012634490d40577237.jpg)
Joined: 04 Jun 2003 Posts: 48 Location: Brighton, Massachusetts
|
Posted: Thu Jun 15, 2006 1:28 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
guduri Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11755575544574c15930822.gif)
Joined: 04 Apr 2005 Posts: 230 Location: Ann Arbor, Michigan
|
Posted: Thu Jun 15, 2006 2:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tyne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18636012634490d40577237.jpg)
Joined: 04 Jun 2003 Posts: 48 Location: Brighton, Massachusetts
|
Posted: Thu Jun 15, 2006 3:28 am Post subject: |
|
|
yep starts in default. THing is it does not seem to call the dhcp stuff when it does start.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TheRAt Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/965802054438fd382cded6.jpg)
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Thu Jun 15, 2006 7:54 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|