-   Slackware (
-   -   Setting a static IP address (

thedp 05-02-2008 03:22 AM

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.

Zmyrgel 05-02-2008 03:24 AM

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.

ottavio 05-02-2008 04:45 AM

sudo su

zoran119 05-02-2008 05:09 AM

Read this as well

Alstare 05-02-2008 01:09 PM

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.

All times are GMT -5. The time now is 12:49 PM.