LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 15
Question Setting a static IP address


Hello,

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
Zmyrgel
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
ottavio
Member
 
Registered: Nov 2007
Posts: 312

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

Rep: Reputation: 18
Read this as well

http://www.slackbook.org/html/networ...ion-tcpip.html
 
Old 05-02-2008, 02:09 PM   #5
Alstare
Member
 
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.
 
  


Reply

Tags
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 03:22 PM.

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