l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social Gathering
Next Installfest:
TBA
Latest News:
Nov. 18: Officers elected
Page last updated:
2002 Aug 06 08:05
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat (IRC)
 Social Networks
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] dhcp question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] dhcp question



On Mon, Aug 05, 2002 at 11:39:16PM -0700, Peter Jay Salzman wrote:
> this is the first time i've ever done anything with dhcp.  please regard
> me as a newbie here.
> 
> from reading the man page, it sounds like:
> 
>    pump -i eth0
> 
> or
> 
>    pump -i eth0 -l 120   (for 120 hours)
> 
> will get an IP assigned to a machine.  right?   does this also configure
> DNS servers?   will it also take care of the default gateway?

Since I know you use Debian exclusively, I will tell you the Debian Way. Edit
your /etc/network/interfaces so that it looks like mine:

	# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

	# The loopback interface
	# automatically added when upgrading
	auto lo
	iface lo inet loopback

	# The first network card - this entry was created during the Debian installation
	# automatically added when upgrading
	auto eth0
	iface eth0 inet dhcp

Run ifdown eth0; ifup eth0 and all should be well. The DNS servers will not
be configured but the default gateway will (by ifup, not pump or /sbin/dhcp).

-- 
Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/pgp>
for information.  My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.

Attachment: pgp00001.pgp
Description: PGP signature



LinkedIn
LUGOD Group on LinkedIn
facebook
LUGOD Group on Facebook

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.