View previous topic :: View next topic |
Author |
Message |
jtwJGuevara n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jul 2004 Posts: 26
|
Posted: Wed Sep 21, 2005 2:33 pm Post subject: [SOLVED] DHCPD fails on boot |
|
|
Hello everyone,
When I last rebooted my machine during the startup of all of the services dhcpd failed to start. To verify this wasn't a hardware problem or anything I popped in the live CD and dhcpd there worked fine.
I've doublechecked my files /etc/conf.d/ (net.eth0, net... I think) and they still appear to be in order. In between the last two times I've shut my machine down, the only possible thing I've thought of that could have tampered with dhcpd was during a switching of my JavaVM I used the following two commands:
Code: | env-update
source /etc/profile |
Would either of these two commands effect dhcpd at all?
Thanks in advance.
Last edited by jtwJGuevara on Wed Sep 21, 2005 5:46 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SnarlCat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Sep 2005 Posts: 40
|
Posted: Wed Sep 21, 2005 4:01 pm Post subject: Re: DHCPD fails on boot after env-update and source /etc/pro |
|
|
[quote="jtwJGuevara"]
I've doublechecked my files /etc/conf.d/ (net.eth0, net... I think) and they still appear to be in order. In between the last two times I've shut my machine down, the only possible thing I've thought of that could have tampered with dhcpd was during a switching of my JavaVM I used the following two commands:
[code]env-update
source /etc/profile[/code]
Would either of these two commands effect dhcpd at all?
[/quote]
I would certainly hope that env-update wouldn't touch anything network wise, and unless you've got something *really* crazy going on in that profile that pokes at stuff in /etc (you really really shouldn't), neither with the second command you list..
I'd guess something is amuk in the /etc/conf.d/net.eth0 file where DHCP use is declared.. post it for further investigation.
I'd argue that either something is very broken, or this is just a (very bizzare) coincidence. _________________ --
Our OS who art in CPU, UNIX be thy name.
Thy programs run, thy syscalls
done, In kernel as it is in user! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jtwJGuevara n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jul 2004 Posts: 26
|
Posted: Wed Sep 21, 2005 4:25 pm Post subject: |
|
|
I would post it but it's on my home machine which has no connection now and I'm here at work atm
I haven't mucked with my profile much and I certainly haven't done anything out of the ordinary with it. I was just trying to rule out possibilities. I haven't touched anything networking related since install, other than configuring firehol/iptables which hasn't impeded my connectivity at all in the past and I haven't edited those configurations either. Those couple of commands were the only commands I've ran that had any type of global effect.
*shrug*
I'll do what I can to post up configs.
Thanks for your help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jtwJGuevara n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jul 2004 Posts: 26
|
Posted: Wed Sep 21, 2005 5:45 pm Post subject: |
|
|
Solved it,
For some reason my net.eth0 file was no longer there! Where it went, I don't know. I just did a cp net net.eth0 and all is well.
Thanks for you help. All it took was for me to talk about the problem with someone else listening and voila! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SnarlCat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Sep 2005 Posts: 40
|
Posted: Wed Sep 21, 2005 6:09 pm Post subject: |
|
|
[quote="jtwJGuevara"]Solved it,
...
cp net net.eth0 [/quote]
The reason they (gentoo) suggests a symlink is so that all network devices share the same initialization code -- updates apply to all devices immediately, not sporatically... I think you'd be better off with a symlink instead of duplicating it..
Just my $.02, though..
Happy to have helped.. _________________ --
Our OS who art in CPU, UNIX be thy name.
Thy programs run, thy syscalls
done, In kernel as it is in user! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jtwJGuevara n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jul 2004 Posts: 26
|
Posted: Thu Sep 22, 2005 4:32 pm Post subject: |
|
|
That makes enough sense, I switched it over to a symbolic link... although I doubt I'll have more than one network cards in this particular machine. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|