Click to See Complete Forum and Search --> : running dhcpcd to initialize eth0


BonzoMontro
06-20-2001, 07:00 PM
When my linux system boots up, it tries to use dhcpcd to get my IP information from @HOME, but i need it to run dhcpcd with the
-h swith so i can provide it with the hostname string that @home requires.

So basically i need the boot process to run the command "dhcpcd -h C1234567-A" instead of just "dhcpcd". I was just wondering if this was possible and how it could be done.

Thanks!! :p

BonzoMontro
06-20-2001, 07:39 PM
anyone, pleeeeez!

bdg1983
06-21-2001, 05:51 AM
You can stick that command in one of your startup files in /etc/rc.d/. rc.local could be the one, but it sometimes depends on the distro you use. Give that one a try.