LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-31-2005, 11:46 PM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
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?
 
Old 09-01-2005, 02:16 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.

Last edited by adz; 09-01-2005 at 02:21 AM.
 
Old 09-03-2005, 10:53 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
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:
http://www.linuxquestions.org/questi...86#post1801286
http://www.linuxquestions.org/questi...44#post1780244
 
Old 09-04-2005, 10:25 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
any problem if we run two DHCP servers? hueofwind Linux - General 3 11-15-2005 11:31 PM
run ltsp with a router (dhcp) os2 Linux - General 1 06-29-2005 10:55 AM
re-run DHCP after bootup? azwr Linux - Wireless Networking 3 06-19-2004 12:13 PM
How to get DHCP Client to run w/o a NIC? janneh Linux - Networking 1 10-10-2003 04:24 AM
Anyway to run DHCP without Shorewall? Psykoral Linux - Networking 6 06-20-2003 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration