[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: 2.5 dhclient woes
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Re[2]: 2.5 dhclient woes
- From: "Angelos D. Keromytis" <angelos_(_at_)_dsl_(_dot_)_cis_(_dot_)_upenn_(_dot_)_edu>
- Date: Thu, 15 Jul 1999 19:21:15 -0400
In message <199907151905_(_dot_)_PAA01395_(_at_)_CX937045-A_(_dot_)_lncln1_(_dot_)_ri_(_dot_)_home_(_dot_)_com>, Bob Bernstein
writes:
>
>> You can put media commands into DHCP-capable /etc/hostname.* files.
>
>I will try that, and also the hostname suggestion. I'm not sure about the
>order of battle in hostname.xxx files: hostname.de0, (RJ-45) for dhcp might
>look like
>
>dhcp NONE NONE media 10BaseT
>
>or just
>
>dhcp media 10BaseT
>
>or none of the above?
What I use is put just "dhcp" in hostname.xxx, and then have
interface-specific blocks in /etc/dhclient.conf, e.g.
interface "ep0" {
initial-interval 1;
request subnet-mask, broadcast-address, routers,
domain-name, domain-name-servers, host-name;
send dhcp-lease-time 3600;
supersede host-name "nyarlathotep";
supersede domain-name "cis.upenn.edu";
append domain-name-servers 158.130.6.141;
media "media 10baseT";
}
-Angelos
Visit your host, monkey.org