Re: [SLUG] hostname resolution wackiness

From: scott (piper@ij.net)
Date: Sat Jul 10 2004 - 12:13:07 EDT


Well, it seems to me like you would place the option

hostname yourhostname

after the iface eth0 inet dhcp line

scott

Chad Perrin wrote:

> I'll be responding to several different emails in this one email.
> Specifically, I'm responding here to Scott, Kwan Lowe, Eben King, and
> Larry Brown, in that order (because that's the time/date stamp order
> in my inbox).
>
>
> ##### scott wrote:
>
>> What do you have in your /etc/network/interfaces file? Do you
>> request a hostname from the router?
>>
>> See "man interfaces" for some ideas.
>>
>
> /etc/network/interfaces:
>
> # loopback (127.0.0.1) interface
> auto lo
> iface lo inet loopback
>
> # NIC
> auto eth0
> iface eth0 inet dhcp
>
> Having looked through the interfaces manpage, I found syntax that
> seems to be designed to set the machine's hostname and to specify the
> DHCP client that is used, but nothing that seems to pertain to
> requesting name service. Did I overlook something?

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:22:36 EDT