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


  Search this Thread
Old 05-02-2008, 04:22 AM   #1
LQ Newbie
Registered: Sep 2004
Distribution: Slackware 12.0
Posts: 22

Rep: Reputation: 15
Question Setting a static IP address


I've trying to set a static IP address on my Slackware 12.0.
Google search came out pretty much useless since every guide talks about RedHat and /etc/sysconfig which is no where to be found on Slackware.

I need to set a static IP address and default gateway.

Thank you.
Old 05-02-2008, 04:24 AM   #2
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
The file your looking for is in /etc/rc.d/

I think it's the rc.inet1.conf or something similar. It should be pretty well documented so it's easy to edit.
Old 05-02-2008, 05:45 AM   #3
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
sudo su
Old 05-02-2008, 06:09 AM   #4
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
Read this as well
Old 05-02-2008, 02:09 PM   #5
Registered: Jul 2003
Distribution: Slackware
Posts: 79

Rep: Reputation: 15
As the poster above already pointed out...

Edit your "/etc/rc.d/rc.inet1.conf" file with your static IP settings.
Edit your "/etc/resolve" file and insert your DNS IP's <nameserver x.x.x.x>

Then restart or run "/etc/rc.d/rc.inet1 restart" and your all set.


gateway, ip, network, slackware, static

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
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 09:38 PM
[SOLVED] Converting static IP-address to dynamic IP-address Blue_Ice Linux - Networking 3 07-20-2006 04:35 AM
Setting up a static I.P. address partyk1d24 Linux - Networking 13 12-29-2005 07:23 AM
Static IP address mikz Slackware 4 11-28-2005 05:30 PM
Static IP Address bytebrowser Linux - Networking 14 06-16-2003 07:36 AM

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