Switch DHCP to STATIC
Where is the linux equivalent for /etc/hostname.eth0 and /etc/mygateway in NetBSD. For non NetBSD users /etc/hostname.eth0 allows you to set the NIC to either DHCP or STATIC IP, it also includes netmasks, alias and all that good stuff. /etc/gateway just has the default gateway. I can't find anything that looks like either of these in the /etc directory. I need to know how to do this for Slack and Debian, if they're different. Thanks in advance
They are different indeed, and within Slack you'll find
some differences between 10 and older ones.
In Slack 10 you want to edit /etc/rc.d/rc.inet1.conf
(in older versions there was no separation of script
and data, you edited rc.inet1).
In Deb you edit /etc/network/interfaces
In DeadRat (and its clones) it's /etc/syscontrol/network-scripts/ifcfg-ethX
thanks a lot.
|All times are GMT -5. The time now is 10:14 PM.|