gnome vs vpnclient

Scot L. Harris webid at cfl.rr.com
Thu Aug 3 13:19:28 UTC 2006


On Wed, 2006-08-02 at 18:28 -0400, Jack Howarth wrote:
> Scot,
>    I believe the hosts file simply has...
> 
> 127.0.0.1       localhost.localdomain   localhost
> 
> since it is configured with dhcp. I will have to check the nsswitch.conf
> tomorrow but I assume it will be okay if it is...
> 
> hosts:      files dns
> 
> However when I open a terminal, the prompt always shows the hostname as a
> dhcp domainname (changing according to what I am given by dhcp). Are you
> suggesting that I don't want to see that but want the hostname to be localhost
> if I am using dhcp in order to prevent vpn from confusing gnome?
>           Jack
> 

Yes.  I think that may fix the problem you are having.  You can assign a
name to your system in the network configuration files that will not
change.  I also put the name in the /etc/hosts file as well.  In your
case I would add that name to the 127.0.0.1 line you have in /etc/hosts.
Keep the localhost names there as well.

Look in /etc/sysconfig/network.  You can specify a
HOSTNAME=nameofyoursystem.abc.lan.






More information about the fedora-list mailing list