Quote:
Originally posted by celticselph
I have no idea what any of that in rc.inet1 means........ totaly clueless........ any more specific help would be apericated
cheers
mike
|
Open up /etc/rc.inet1.conf. Look for a section titled # Config information for eth0: . Mine hase 4 lines:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="myhostname"
Set DHCP_HOSTNAME[0] to whatever you want your machine hostname to be. Setting USE_DHCP[0]="yes" is what will cause eth0 to use DHCP. You don't need to reboot after setting this. Simply issue this command as root
/etc/rc.d/rc.inet1 restart
/etc/rc.d/rc.inet1 also takes the arguments start and stop. On one of my machines I have an onboard NIC that is disabled and an installed PCI card. Slackware sees the onboard NIC as eth0 and my card as eth1. In that situation I made changes for eth1 instead(the entries in /etc/rc.inet1.conf that end in [1] instead of [0] as above)
Or simply use the netconfig command as root to set things up.