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. |
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. |
sudo su
netconfig |
|
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 02:54 AM. |