LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Switch from static IP to dhcp ? (http://www.linuxquestions.org/questions/linux-networking-3/switch-from-static-ip-to-dhcp-14942/)

Fuel 02-23-2002 01:01 PM

Switch from static IP to dhcp ?
 
Ive just installed Slackware 8 and im using a static IP address, how can i change to dhcp if im moving my PC to ex. a game lan ?

crabboy 02-23-2002 09:08 PM

Edit the rc script /etc/rc.d/rc.inet1

change:
Code:

DHCP="no"
 to
DHCP="yes"


finegan 02-23-2002 09:21 PM

Or, if this is not going to be permanent and say your just taking the box over to a friend's house for a one-off LAN party Quake-style:

'dhcpcd eth0'

Once the box is hooked up and already started. When you take it home, it will still work off of the old settings in rc.inet1.

Cheers,

Finegan


All times are GMT -5. The time now is 08:41 AM.