Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dhcp wont start 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
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Sat Oct 22, 2005 5:18 pm    Post subject: [SOLVED] dhcp wont start on boot Reply with quote

Ok so I looked around the forums and couldn't find a solution. Durring boot, says "Running dhcpcd" and then I get the [!!]. So no interent. Then I run dhcpcd eth0 and it works. Then I have interent. Any ideas? Thx

Last edited by Duck Man on Wed Oct 26, 2005 2:27 am; edited 1 time in total
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Sat Oct 22, 2005 5:59 pm    Post subject: Reply with quote

Please supply more details... ie. which network card, kernel version, etc..
version of dhcpcd, etc. also, plus any log information you have on the failure and success..
_________________
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
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Sun Oct 23, 2005 6:25 pm    Post subject: Reply with quote

kernel version: 2.6.13-gentoo-r3
network card: Accton Technology Corporation SMCS-1211TX (rev 10)
dhcpcd: 2.0.0
I compild the kernel with Genkernel. And I don't know where the logs would be. Thats all i know right now.
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Mon Oct 24, 2005 5:58 am    Post subject: Reply with quote

Any ideas?
Back to top
View user's profile Send private message
oshman
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2005
Posts: 124
Location: Houston, TX

PostPosted: Mon Oct 24, 2005 6:11 am    Post subject: Reply with quote

do you have net.eth0 set to start during boot -

Code:
rc-update add net.eth0 default


and do you have you /etc/conf.d/net file listed with the correct dhp configuration lines?
_________________
Fujitsu Lifebook S6520 Core 2 Duo
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Mon Oct 24, 2005 2:16 pm    Post subject: Reply with quote

met.eth0 is in default. My /etv/conf.d/net file looks like this:
Code:
config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Mon Oct 24, 2005 2:27 pm    Post subject: Reply with quote

Ok so heres something new. I boot. It fails. I run "dhcpcd eth0", it works. Then I try "/etc/init.d/sshd start" and it says this:
Code:
starting eth0
        bringing up eth0
                dhcp
                        Running dhcpcd...                        [ ok ]
                        dhcpcd is already running...                [ ok ]
starting sshd...

and now it doesnt work again. This means it has something to do with eth0. Like its not actualy up. sshd shouldn't be tring to start eth0 again. It supposed to be already up and would seem so to because it "works." So I still don't know how to fix it but I'm hoping this gives some clues. :)
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Mon Oct 24, 2005 2:28 pm    Post subject: Reply with quote

You should only need this in your /etc/conf.d/net but I do not think that should make a difference for you...
Code:
dhcp_eth0="nodns nontp nonis"


Have you tried to remove and re-add net.eth0?
Code:
rc-update del net.eth0 default
rc-update add net.eth0 default


Which version of baselayout?
_________________
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
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Tue Oct 25, 2005 2:02 am    Post subject: Reply with quote

ok sp the re-adding didnt work. And itsw baselayout-1.11.13-r1. Is there a log someplace?
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Wed Oct 26, 2005 12:36 am    Post subject: Reply with quote

So I set it up woth a static ip and it works. But I would really like the dhcp to work so I dont have to worry about anything. Plus the router likes it better that way. So if anyone has any ideas please post. :)
Back to top
View user's profile Send private message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Wed Oct 26, 2005 2:27 am    Post subject: Reply with quote

GRR!!! ONLY think i hate about this linux stuff is how much a typo can mess things up... even it its just a space... I had my HOSTNAME as "compaq 1000", not "compaq1000"... Life sux...
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