-   Debian (
-   -   How to Re-run DHCP (

rickh 08-31-2005 10:46 PM

How to Re-run DHCP
I set up Debian on a PC for my kids to use at college. When they got it there, of course they had a different internet provider than the one I used here to set it up.

How can I have them rerun the network setup portion of the original install, using DHCP to probe for their new information?

adz 09-01-2005 01:16 AM

Well you can manually run dhclient eth0 as root. Additionally (or alternatively) you can edit your /etc/network/interfaces file and make sure it contains:

auto lo eth0

iface lo inet loopback

iface eth0 inet dhcp

This will make it bring up the interface on every boot and also use DHCP to do it. Mind you, the line with "loopback" in it doesn't do anything for you in this particular instance but it should be there so I've included it.

archtoad6 09-03-2005 09:53 AM

DHCP clients
If you are going to run a DHCP client, don't forget that dhclient isn't the only one,
dhcpcd & pump are also in use. I am not running any pure Debian boxen at the moment, only SimplyMEPIS; but it & Knoppix use pump.

Here are two of my earlier posts on the subject:

rickh 09-04-2005 09:25 PM

Just for the record, the system is working fine now. What I had a hard time figuring out (doing phone support with the kids) was that the phone company over there had connected their DSL via USB rather than Ethernet. Once they thought to tell me that, I just told them to throw away the USB cable and plug in the Ethernet one I had sent with them. On 1st boot, Linux took care of everything.

All times are GMT -5. The time now is 05:00 PM.