Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 04:14:16 -0500
From:      Jason Thaxter <jason@flashlightmedia.com>
To:        Stefan `Sec` Zehl <sec@42.org>
Cc:        Paul Thornton <prt@prt.org>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: Strange kernel messages on 4.x?
Message-ID:  <20001206041416.C502@zed.unbeat.com>
In-Reply-To: <20001205002046.B4060@matrix.42.org>; from sec@42.org on Tue, Dec 05, 2000 at 12:20:46AM %2B0100
References:  <20001205000447.A2281@matrix.42.org> <Pine.BSF.4.21.0012042306020.3265-100000@avalon.whirlygig.co.uk> <20001205002046.B4060@matrix.42.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 05, 2000 at 12:20:46AM +0100, Stefan `Sec` Zehl wrote:
> 
> Even if the script isn't run, this looks like a bug in dhclinet to me.
> It shouldn't loop that tightly on an error like this.
> 
> >                                                          - I'm also seeing
> > loads of stray irqs when I remove the card...

It does seem to be a flaw, but then again if a client that always uses
DHCP has it's cable knocked loose because someone puts their foot
under the desk in the wrong place, I guess this isn't so abnormal, but
for laptop use it would be nice to have a "backoff-try-later/quit-now"
toggle as a command line switch.

FWIW for latptop use I set up a simple script to write a value to a
file that controls my 'location', then put a case statement into
rc.conf to read that value and only invoke dhclient when it's
necessary.

As long as I dont' push in the pcmcia card before I set the location
setup, I don't see these messages and it's all very easy.  Of course,
now that I have a laptop with a built-in ethernet, that doesn't work
anymore.  Not even sure I have a good solution as of yet, but I bet it
only requires pushing one layer into rc.network or something (as
opposed to most linuces, which require following a trail of 12 scripts
across 4 symlinks and hacking a system file (e.g. not rc.conf) to get
the same effect) and the solution might even fit in rc.conf.




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?20001206041416.C502>