Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] DHCPD fails on boot
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
jtwJGuevara
n00b
n00b


Joined: 27 Jul 2004
Posts: 26

PostPosted: Wed Sep 21, 2005 2:33 pm    Post subject: [SOLVED] DHCPD fails on boot Reply with quote

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
View user's profile Send private message
SnarlCat
n00b
n00b


Joined: 21 Sep 2005
Posts: 40

PostPosted: Wed Sep 21, 2005 4:01 pm    Post subject: Re: DHCPD fails on boot after env-update and source /etc/pro Reply with quote

[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
View user's profile Send private message
jtwJGuevara
n00b
n00b


Joined: 27 Jul 2004
Posts: 26

PostPosted: Wed Sep 21, 2005 4:25 pm    Post subject: Reply with quote

I would post it but it's on my home machine which has no connection now and I'm here at work atm :D

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
View user's profile Send private message
jtwJGuevara
n00b
n00b


Joined: 27 Jul 2004
Posts: 26

PostPosted: Wed Sep 21, 2005 5:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
SnarlCat
n00b
n00b


Joined: 21 Sep 2005
Posts: 40

PostPosted: Wed Sep 21, 2005 6:09 pm    Post subject: Reply with quote

[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
View user's profile Send private message
jtwJGuevara
n00b
n00b


Joined: 27 Jul 2004
Posts: 26

PostPosted: Thu Sep 22, 2005 4:32 pm    Post subject: Reply with quote

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
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