Ken Schneider wrote:
On Wed, 2005-06-08 at 10:01 -0400, ken wrote:
Markus Natter wrote:
On 6/8/05, ken
wrote: After a wireless internet session using DHCP, my 9.3 Pro system is left without hostname, domainname, /etc/resolv.conf, or default route. I would think that the next time I boot up that at least the previous (default) hostname and domainname would be configured.
Hi,
exactly these values are coming from the DHCP Server and are temporarily written to these files.
You're not understanding the issue. My point is that after a DHCP session is finished, it should restore the default hostname etc. And certainly the default hostname etc. should be configured automatically by the system upon the next bootup (when I'm no longer using DHCP). Clear?
Let me explain again. My laptop is configured with hostname and domain name, perhaps connected to my home network, perhaps not. I take my laptop to a cafe and connect to the internet. My wireless is now using DHCP. Great. Everything is fine. I surf the web. I shut the machine down and go home. I fire up the laptop. Because I always (so far) invoke network connections manually, I'm not connected yet to my home network. At this time there is no hostname and no domain name configured. Just because I'm not connected to a network doesn't mean that the machine shouldn't have a hostname and a domain name.
Yes it does if you are only using DHCP for this info. Any host name would be what you have in /etc/hosts.
Negative. /etc/HOSTNAME holds the hostname of the machine it resides on. /etc/hosts is something completely different... it can hold the names and IPs of machines which you don't want to rely on DNS for. -- A lot of us are working harder than we want, at things we don't like to do. Why? ...In order to afford the sort of existence we don't care to live. -- Bradford Angier