Mailinglist Archive: opensuse (946 mails)
| < Previous | Next > |
Re: [opensuse] 'localhost' instead of machine name after reboot
- From: James Pifer <jep@xxxxxxxxxxxxxxxx>
- Date: Fri, 01 Oct 2010 16:09:38 -0400
- Message-id: <1285963778.17283.8.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
On Fri, 2010-10-01 at 15:39 -0400, James Pifer wrote:
Very strange. As soon as I turned Network Manager back on the machine
name changed back to localhost.
I found some people mention there was a way to tell it not to
modify /etc/hosts.
I ended up modifying /etc/sysconfig/network/dhcp and changed:
DHCLIENT_SET_HOSTNAME="no"
WRITE_HOSTNAME_TO_HOSTS="no"
It's weird that DHCLIENT_HOSTNAME_OPTIONAL is set to the correct
hostname.
For the moment it's working correctly now, even after reboot.
Thanks,
James
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
I would look around in the network configuration. You said you use
network manager. That may be writing something everytime it starts
network services. It's been a while since I used that, but there is an
option to use traditional ifup if I recall. Also there is an option to
not write to hosts file.
Yeah, I did this and it is something with Network Manager. I disabled it
for ifup and rebooted and now it's working as it should. oocalc started
and did it's normal document recovery, etc.
I've been using NM for a pretty long time. How can I tell if it was one
of the updates that installed recently?
There aren't many options in configuring NM in it's GUI.
Thanks,
James
Very strange. As soon as I turned Network Manager back on the machine
name changed back to localhost.
I found some people mention there was a way to tell it not to
modify /etc/hosts.
I ended up modifying /etc/sysconfig/network/dhcp and changed:
DHCLIENT_SET_HOSTNAME="no"
WRITE_HOSTNAME_TO_HOSTS="no"
It's weird that DHCLIENT_HOSTNAME_OPTIONAL is set to the correct
hostname.
For the moment it's working correctly now, even after reboot.
Thanks,
James
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |