Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto change from DHCP to static IP
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
Snagarelle
n00b
n00b


Joined: 11 May 2003
Posts: 23

PostPosted: Tue May 27, 2003 7:41 pm    Post subject: howto change from DHCP to static IP Reply with quote

What file do I edit so that the machine has a static IP address?
Back to top
View user's profile Send private message
mejlholm
n00b
n00b


Joined: 05 Nov 2002
Posts: 32
Location: Denmark

PostPosted: Tue May 27, 2003 7:46 pm    Post subject: Reply with quote

Simple:

/etc/conf.d/net

No more :)
Back to top
View user's profile Send private message
easykill
Apprentice
Apprentice


Joined: 07 Dec 2002
Posts: 230

PostPosted: Tue May 27, 2003 8:04 pm    Post subject: Reply with quote

probably obvious, but don't forget to either reboot, or run /etc/init.d/net.eth0 restart
(replace net.eth0 with whatever connection it is...most likely eth0)
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