LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   my dhcp won't initialize when I start debian (https://www.linuxquestions.org/questions/linux-newbie-8/my-dhcp-wont-initialize-when-i-start-debian-581130/)

JSR_tuxbox 08-30-2007 11:19 PM

my dhcp won't initialize when I start debian
 
Hi all,

The router in my network is running the DHCP protocol (is that like saying "ATM machine?" If so, sorry.), but the only way I can get online is to run dhclient as root every time I start up. I'd like to know how to make it automatically run when the system boots up so that I don't have to personally ask for an ip allocation every time I turn on my computer. Thanks for any help!

sparc86 08-31-2007 02:17 AM

You can put the dhclient in your rc.local

Eg: /etc/rc3.d/rc.local


Then it will always initialize when in the init mode 3.


All times are GMT -5. The time now is 01:34 PM.