Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp
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
fubard
n00b
n00b


Joined: 11 Jun 2004
Posts: 52

PostPosted: Mon Jun 14, 2004 2:40 pm    Post subject: dhcp Reply with quote

hi there, i use dhcp for eth0 and i did a stage 2 install and everything was going fine, i didnt have to cnfigure networking for the install at all.

now that everything is installed it seems i have a static ip on my lan of 192.168.0.2, so every time i log in i have to run dhcpcd eth0

how can i just set it to automatically receive an ip from dhcp?

thanks
_________________
if you spend enough time on it, eventually it all makes sense.
Back to top
View user's profile Send private message
saccory
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 176
Location: Göttingen, Germany

PostPosted: Mon Jun 14, 2004 2:44 pm    Post subject: Reply with quote

Adjust your /etc/conf.d/net as you were told by the installation docs.
Back to top
View user's profile Send private message
YopWongSapn
l33t
l33t


Joined: 26 Jan 2004
Posts: 627

PostPosted: Mon Jun 14, 2004 2:45 pm    Post subject: Reply with quote

You need to edit your /etc/conf.d/net file and comment out the line that assigns that IP address and uncomment the dhcp line. Basically, you want everything commented out except
Code:
iface_eth0="dhcp"

_________________
Gentoo...it's like wiping your ass with silk. Or sandpaper.
Back to top
View user's profile Send private message
fubard
n00b
n00b


Joined: 11 Jun 2004
Posts: 52

PostPosted: Mon Jun 14, 2004 3:31 pm    Post subject: Reply with quote

thanks, that why this forum rocks, good response time and people who know gentoo :)
_________________
if you spend enough time on it, eventually it all makes sense.
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