Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-22-2005, 08:39 AM   #1
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270

Rep: Reputation: 30
From DHCP to static IP.

Hi all, the 1st time i installed slackware 10.1 i configured the network stuff to give the slackware box its own IP ( and the stuff (DNS etc) at my router ( but after completing the install it wouldnt connect to any webpages, i messed things up a bit on that install so i went through again this time using DHCP, when finished i can now see websites etc. The problem is i want to get the box working using a static IP and i cant see anything for configuring that in the control center. Anyone know how to go about doing this? And maybe why it didnt work on the 1st install? (got a funny feeling it wont work when i tell it to use a static IP)

Any help appreciated,

Old 08-22-2005, 08:44 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,466

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Try to edit /etc/rc.d/rc.inet1.conf and add your ISP nameserver in /etc/resolv.conf
Old 08-22-2005, 09:58 AM   #3
Registered: Mar 2005
Location: Stockholm, Sweden
Distribution: Slackware, Zenwalk
Posts: 141

Rep: Reputation: 15
You can easily work your ipconfig using

I use it when I switch between static ip and dhcp (two different locations) for my laptop.
Old 08-22-2005, 10:12 AM   #4
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270

Original Poster
Rep: Reputation: 30
Both work Thanks alot.

Last edited by dave`2005; 08-22-2005 at 10:17 AM.


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
Using DHCP with a static IP ninmonkeys Linux - Networking 9 11-30-2004 08:32 AM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 12:13 PM
DHCP to static IP ?? davepal Linux - Networking 1 04-21-2004 10:34 AM
How to Chage from DHCP to static jamescov Linux - Networking 2 11-13-2003 09:48 PM
DHCP or Static Culbert Linux - Networking 1 03-14-2003 08:42 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:11 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