View previous topic :: View next topic |
Author |
Message |
Führer n00b

Joined: 26 Nov 2004 Posts: 65
|
Posted: Fri Jan 28, 2005 11:43 am Post subject: No ip from dhcp by a NooB (Solved) |
|
|
Hi guys,
I did by accident remove dhcp module by cleaning my gentoo box . Now on boot:
Code: | /sbin/rc: line 109 /sbin/dhcpd: no such file or directory!!! |
No I don't get any ip through dhcp. So, I do not have any internet on my gentoo box.
How to solve this? 
Last edited by Führer on Fri Jan 28, 2005 12:39 pm; edited 1 time in total |
|
Back to top |
|
 |
kiksen Guru

Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Fri Jan 28, 2005 11:49 am Post subject: no ip... |
|
|
Hi.
Ooops
I suggest:
(as root)
1) edit your /etc/conf.d/net and set a static IP and default gateway
2) run /etc/init.d/net.eth0 restart
3) emerge dhcpcd
4) edit your /etc/conf.d/net to use dhcp again
This requires you to know the ip range of your lan and your default gateway. If you don't, I suggest:
1) Boot off a live-cd
2) chroot into your installation
3) emerge dhcpcd
In fact, this might be the easiest way...
HTH
/kiksen |
|
Back to top |
|
 |
Führer n00b

Joined: 26 Nov 2004 Posts: 65
|
Posted: Fri Jan 28, 2005 11:58 am Post subject: Re: no ip... |
|
|
Hi kliksen,
thanks for the fast reply! I edit my file and it is rocking roll again .
Thanks for the solution! |
|
Back to top |
|
 |
Sceletor n00b

Joined: 04 Sep 2004 Posts: 58 Location: Düsseldorf
|
Posted: Sat Jul 16, 2005 12:46 pm Post subject: |
|
|
Many THX from me, too..
Sometimes this forum is just wonderful..... _________________ Sterben ist Silber, LEIDEN ist Gold |
|
Back to top |
|
 |
kiksen Guru

Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Sat Jul 16, 2005 4:48 pm Post subject: |
|
|
Ah... been on a short vacation.. glad to help
/kiksen |
|
Back to top |
|
 |
|