Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 23:09:55 -0800
From:      James Hewitt <jgh@drizzle.com>
To:        Alexey Koptsevich <kopts@astro.washington.edu>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: X and DHCP
Message-ID:  <20011112230955.B10133@drizzle.com>
In-Reply-To: <20011112225217.A10133@drizzle.com>; from jgh@drizzle.com on Mon, Nov 12, 2001 at 10:52:17PM -0800
References:  <Pine.LNX.4.33.0111122158010.18292-100000@geographos.astro.washington.edu> <20011112225217.A10133@drizzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexey,

Somehow I missed the words 'with dhclient' in your post... assuming
you don't >need< the hostname to change, you can specify your hostname
in /etc/rc.conf and in /etc/hosts as described below and it should
solve your X problem (specifying the hostname in /etc/rc.conf will
prevent dhclient from changing it).

-James


On Mon, Nov 12, 2001 at 10:52:17PM -0800, James Hewitt wrote:
> Alexey,
> 
> Assuming that you are using the user-land ppp (ie. ppp instead of pppd),
> adding 'enable loopback' to the default section of ppp.conf might help.
> 
> I am wondering though, what is causing your hostname to change, and
> why it would be useful to have it change?  The IP address and DNS name
> of the PPP interface have little to do with the hostname, and if you
> need a specific address for the hostname it is easy to just add the
> hostname as an alias for localhost in /etc/hosts.
> 
> -James
> 
> 
> On Mon, Nov 12, 2001 at 10:03:19PM -0800, Alexey Koptsevich wrote:
> > 
> > Hello,
> > 
> > Is there a way to have X up and running when reconnecting to different ISP 
> > and changing net parameters with dhclient? Now it gets stuck when hostname 
> > is changed.
> > 
> > Thanks,
> > Alex
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-mobile" in the body of the message
> 
> -- 
> James Hewitt                                      jgh@drizzle.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message

-- 
James Hewitt                                      jgh@drizzle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011112230955.B10133>