Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-23-2002, 02:01 PM   #1
Registered: Feb 2002
Location: Sweden, Skeldepth
Distribution: Slackware 10
Posts: 178

Rep: Reputation: 30
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 ?
Old 02-23-2002, 10:08 PM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Edit the rc script /etc/rc.d/rc.inet1

Old 02-23-2002, 10:21 PM   #3
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 59
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.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to switch from DHCP to Static IP with Slackware 10.1 dmkh Linux - Networking 9 09-15-2005 04:41 AM
How Do I Switch From Static IP To DHCP Psibur Linux - Networking 3 06-23-2005 10:40 AM
Switch DHCP to STATIC zaicheke Linux - Newbie 2 09-14-2004 10:12 PM
Switch DHCP to static Darkangel90 Linux - Networking 1 03-29-2004 06:15 AM
switch RH 7.2 from DHCP over to static IP dwichman Linux - Networking 3 03-04-2002 02:28 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration