[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp and debian install



Michael Heldebrant, 2001-Oct-25 00:08 -0500:
> On Wed, 2001-10-24 at 22:42, Timothy Ryder wrote:
> > I am trying to install debian and am having a problem.  My cable modem
> provider requires that I pass a computer name to them to use dhcp.  With
> most other distros I would type /sbin/dhcpcd -h <computername>, but with
> debian I can't.  How can i pass the computer name during  install to the
> dhcp client.
> 
> Which dhcp client are you using dhcpcd or pump or dhcp-client?  The
> first two can use the option hostname in your /etc/network/interfaces
> file.  The following information from is from man interfaces:

> I use dhcp-client and edited the config file by hand after reading up on
> how to do it properly.
> 
> --mike

I use dhcp-client and my /etc/dhclient.conf file consists of only a single 
line:

send host-name "hostname";

This works perfectly with my cable provider.

-- 
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: