DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
Code:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.