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. IOW, the machine *should* at this time have a hostname and domain name, the ones which were manually configured in during the original install. IOW, the hostname and domain name shouldn't be blank/empty/nonexistent.
Are you using the wireless connection only, or as a second Networkinterface?
It's the only interface used at this time (in this context).
Also (separate issue), where is the default route configured for a device. I would have thought that there would be a variable in the ifcfg-* for it, but no.
No, the routes are placed here in this file: /etc/sysconfig/network/routes
Markus, are you saying that DHCP puts routes here...? Or that I should put a default route here? Neither of these interpretations makes sense to me, but I can't see what else you might be meaning. Perhaps you could explain a bit more.
Markus
-- 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