From owner-freebsd-mobile Mon Nov 12 23:10: 0 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from drizzle.com (cascadia.drizzle.com [216.162.192.3]) by hub.freebsd.org (Postfix) with ESMTP id BCDFD37B419 for ; Mon, 12 Nov 2001 23:09:55 -0800 (PST) Received: from drizzle.com (IDENT:jgh@localhost [127.0.0.1]) by drizzle.com (8.12.1/8.12.1) with ESMTP id fAD79tlA022968; Mon, 12 Nov 2001 23:09:55 -0800 Received: (from jgh@localhost) by drizzle.com (8.12.1/8.12.1/Submit) id fAD79tWg022967; Mon, 12 Nov 2001 23:09:55 -0800 Date: Mon, 12 Nov 2001 23:09:55 -0800 From: James Hewitt To: Alexey Koptsevich Cc: mobile@FreeBSD.ORG Subject: Re: X and DHCP Message-ID: <20011112230955.B10133@drizzle.com> References: <20011112225217.A10133@drizzle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011112225217.A10133@drizzle.com>; from jgh@drizzle.com on Mon, Nov 12, 2001 at 10:52:17PM -0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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