View previous topic :: View next topic |
Author |
Message |
ukadner n00b
Joined: 08 Nov 2004 Posts: 4 Location: 49°59'N-09°03'E
|
Posted: Thu Nov 11, 2004 11:23 am Post subject: DHCPCD not starting at boot time |
|
|
All,
just to ask you if you have seen this behavior:
I have installed Gentoo (Kernel-2.4) on an ULTRA10 without major problems (there were some minor issues with KEYMAP and CONSOLEFONT, but this has been solved) from the scratch.
As my ULTRA10 is connected to a router which provides DHCP services, I decided to configure eth0 to use DHCP. So far, so fine.
When I fire up the box I can see that eth0 is being brought up during the boot process. Unfortunately if I do a ifconfig I can see there is no IP address assigned to eth0.
If I do a dhcpcd eth0 at the console prompt, eth0 gets an IP address assigned immediately.
As a workaround I added the /sbin/dhcpcd eth0 command to /etc/rc.conf. This works fine, but I assume it is not the right way to solve this DHCP issue.
I would really appreciate your help and/or advices because I'm totally new to Gentoo...
Many thanks. _________________ Regards,
uk.[eom] |
|
Back to top |
|
|
SZwarts l33t
Joined: 13 Oct 2003 Posts: 629 Location: Sydney, NSW, Australia
|
Posted: Thu Nov 11, 2004 1:32 pm Post subject: |
|
|
Did you put
iface_eth0="dhcp" in /etc/conf.d/net as the handbook suggested? At least that is the way it works for x86 I assume it works the same here, doesn't it? _________________ only when it is dark enough, can you see the stars |
|
Back to top |
|
|
ukadner n00b
Joined: 08 Nov 2004 Posts: 4 Location: 49°59'N-09°03'E
|
Posted: Thu Nov 11, 2004 1:36 pm Post subject: |
|
|
SZwarts wrote: | Did you put
iface_eth0="dhcp" in /etc/conf.d/net as the handbook suggested? At least that is the way it works for x86 I assume it works the same here, doesn't it? |
Yes, I did, unfortunately it does not solve the problem. It is also included at the moment in the /etc/conf.d/net. _________________ Regards,
uk.[eom] |
|
Back to top |
|
|
ukadner n00b
Joined: 08 Nov 2004 Posts: 4 Location: 49°59'N-09°03'E
|
Posted: Fri Nov 12, 2004 12:00 pm Post subject: Re: DHCPCD not starting at boot time |
|
|
ukadner wrote: | [...]
When I fire up the box I can see that eth0 is being brought up during the boot process. Unfortunately if I do a ifconfig I can see there is no IP address assigned to eth0. If I do a dhcpcd eth0 at the console prompt, eth0 gets an IP address assigned immediately.
[...]
|
I did get this issue managed this morning. The reason was the command
iface_eth0="up" in the /etc/conf.d/net. I've commented (#) this line, did a reboot and everything worked...
Thanks to all for reading my posting. _________________ Regards,
uk.[eom] |
|
Back to top |
|
|
|