From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 16:54:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DD0137B401 for ; Tue, 12 Aug 2003 16:54:50 -0700 (PDT) Received: from xyzzy.wireless.snsonline.net (dhcp.looksmart.com.au [210.9.52.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B8FB43F75 for ; Tue, 12 Aug 2003 16:54:48 -0700 (PDT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.wireless.snsonline.net (localhost [127.0.0.1]) h7CAfQoH000925; Tue, 12 Aug 2003 20:41:26 +1000 (EST) (envelope-from msergeant@snsonline.net) Received: (from sarge@localhost)h7CAfKCx000924; Tue, 12 Aug 2003 20:41:20 +1000 (EST) X-Authentication-Warning: xyzzy.wireless.snsonline.net: sarge set sender to msergeant@snsonline.net using -f From: Mark Sergeant To: Martin Blapp In-Reply-To: <20030812104605.G2686@cvs.imp.ch> References: <20030812104605.G2686@cvs.imp.ch> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SNSOnline Technical Services Message-Id: <1060684879.912.2.camel@xyzzy.wireless.snsonline.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 12 Aug 2003 20:41:20 +1000 cc: freebsd-current@freebsd.org Subject: Re: Problem with dhclient & wi0 on resume. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 23:54:50 -0000 Unfortunately this system hasn't worked for me. As it is I have a script which lives in rc.d which starts up dhclient with the appropriate wireless options. Unfortunately after each suspend and resume this is what I have to use. If anyone comes up with a solution to this it'd be much appreciated. Cheers, Mark On Tue, 2003-08-12 at 18:52, Martin Blapp wrote: > Hi, > > >I've got a toshiba portege 4000 with inbuilt wi0 wireless card. On > >resume dhclient kicks off straight away which then breaks as the card > > You mean dhclient gets killed ? One way could be to kill dhclient when you > sleep. Afterwords, devd should restart it, right ? Unfortunatly I cannot > test this myself as resume on my lapton is horribly broken. > > >isn't loaded as yet. Is there anyway to specify a sleep value for > >dhclient on resume from suspend ? I'm running current from today, I > >should note I'm also seeing a bunch of wi0 bad_alloc messages as well > >with this card. It gets quite annoying to have to restart dhclient > >everytime I resume. > > There is one: > > /etc/dhclient.conf > # > # > # > omapi port 7911; > > /etc/sleep_dhclient > > #!/bin/sh > > omshell > /dev/null << EOF > connect > new control > open > set state = 3 > update > close > > /etc/wakeup_dhclient > > #!/bin/sh > > omshell > /dev/null << EOF > connect > new control > open > set state = 4 > update > close > > Please tell me if you have success with these. > > Martin > > Martin Blapp, > ------------------------------------------------------------------ > ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH > Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 > PGP: > PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E > ------------------------------------------------------------------ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Mark Sergeant SNSOnline Technical Services