Slackware HowTo

Configure DHCP client with rc.inet1

Quick setup for dynamic networks.

1. Config

Example in /etc/rc.d/rc.inet1.conf:

IFNAME[0]="eth0"
USE_DHCP[0]="yes"

2. Start

/etc/rc.d/rc.inet1 restart

3. Verify

ip addr show eth0

4. Logs

grep DHCP /var/log/syslog

Quick checklist

[ ] Steps completed
[ ] Config updated
[ ] Service tested
[ ] Restart/rollback ready
[ ] Logs checked

Back to Linux HowTo