View previous topic :: View next topic |
Author |
Message |
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Sat Oct 22, 2005 5:18 pm Post subject: [SOLVED] dhcp wont start on boot |
|
|
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 |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Sat Oct 22, 2005 5:59 pm Post subject: |
|
|
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 |
|
|
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Sun Oct 23, 2005 6:25 pm Post subject: |
|
|
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 |
|
|
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Mon Oct 24, 2005 5:58 am Post subject: |
|
|
Any ideas? |
|
Back to top |
|
|
oshman Tux's lil' helper
Joined: 29 Jun 2005 Posts: 124 Location: Houston, TX
|
Posted: Mon Oct 24, 2005 6:11 am Post subject: |
|
|
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 |
|
|
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Mon Oct 24, 2005 2:16 pm Post subject: |
|
|
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 |
|
|
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Mon Oct 24, 2005 2:27 pm Post subject: |
|
|
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 |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Mon Oct 24, 2005 2:28 pm Post subject: |
|
|
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 |
|
|
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Tue Oct 25, 2005 2:02 am Post subject: |
|
|
ok sp the re-adding didnt work. And itsw baselayout-1.11.13-r1. Is there a log someplace? |
|
Back to top |
|
|
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Wed Oct 26, 2005 12:36 am Post subject: |
|
|
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 |
|
|
Duck Man Tux's lil' helper
Joined: 03 Oct 2004 Posts: 148 Location: Pleasanton, CA
|
Posted: Wed Oct 26, 2005 2:27 am Post subject: |
|
|
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 |
|
|
|