Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No ip from dhcp by a NooB (Solved)
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
Führer
n00b
n00b


Joined: 26 Nov 2004
Posts: 65

PostPosted: Fri Jan 28, 2005 11:43 am    Post subject: No ip from dhcp by a NooB (Solved) Reply with quote

Hi guys,

I did by accident remove dhcp module by cleaning my gentoo box :oops: . 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
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Fri Jan 28, 2005 11:49 am    Post subject: no ip... Reply with quote

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


Joined: 26 Nov 2004
Posts: 65

PostPosted: Fri Jan 28, 2005 11:58 am    Post subject: Re: no ip... Reply with quote

Hi kliksen,

thanks for the fast reply! I edit my file and it is rocking roll again :D .

Thanks for the solution!
Back to top
View user's profile Send private message
Sceletor
n00b
n00b


Joined: 04 Sep 2004
Posts: 58
Location: Düsseldorf

PostPosted: Sat Jul 16, 2005 12:46 pm    Post subject: Reply with quote

Many THX from me, too..

Sometimes this forum is just wonderful.....
_________________
Sterben ist Silber, LEIDEN ist Gold
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Sat Jul 16, 2005 4:48 pm    Post subject: Reply with quote

Ah... been on a short vacation.. glad to help :)

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