From owner-freebsd-questions Mon Jan 1 17:36:42 2001 From owner-freebsd-questions@FreeBSD.ORG Mon Jan 1 17:36:38 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from Mail6.sc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id 8628B37B402 for ; Mon, 1 Jan 2001 17:36:38 -0800 (PST) Received: from sc.rr.com ([24.88.102.101]) by Mail6.sc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Mon, 1 Jan 2001 20:36:36 -0500 Received: (from dmaddox@localhost) by sc.rr.com (8.11.1/8.11.1) id f021b6x47271; Mon, 1 Jan 2001 20:37:06 -0500 (EST) (envelope-from dmaddox) Date: Mon, 1 Jan 2001 20:37:06 -0500 From: "Donald J . Maddox" To: John Wilson Cc: freebsd-questions@freebsd.org Subject: Re: XF86 oddities. Message-ID: <20010101203706.A47246@cae88-102-101.sc.rr.com> Reply-To: dmaddox@sc.rr.com Mail-Followup-To: John Wilson , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jmw@nyc.rr.com on Mon, Jan 01, 2001 at 08:12:51PM -0500 Return-Receipt-To: dmaddox@sc.rr.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Probably not missing anything... Most likely your ISP simply doesn't send a hostname. Here's a kludge that should get you a resolvable hostname, though. Put this in /etc/dhclient-exit-hooks: case $reason in REBOOT | RENEW | REBIND | BOUND) hostname `host $new_ip_address | awk '{ print $5 }'` case $? in 0) $LOGGER "New hostname: $(hostname)" ;; *) $LOGGER "Failed to set new hostname!" ;; esac ;; *) ;; esac On Mon, Jan 01, 2001 at 08:12:51PM -0500, John Wilson wrote: > > Good day all, > > I recently installed XFree86 3.3.6 on my 4.2-STABLE laptop and am > experiencing something odd. It seems that after an X session, the machine > appears to "lockup"- not allowing any text input from the keyboard for a > few seconds. This only happens when I've started X, then exited back > out into console mode. It happens randomly. > > If I reboot and don't run X, I don't see it happen. Odd. > > Finally, just a quick question. In the 'rc.conf' man page, it states that > if you configure your network interface via DHCP, the hostname string in > rc.conf should be set to "" and dhclient will insert the correct name > itself. However, this fails to work as I end up with a blank > hostname. Am I missing something here? > > Thanks for the help, > John Wilson > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message