Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 21:06:41 -0400 (EDT)
From:      "Matthew N. Dodd" <mdodd@FreeBSD.ORG>
To:        Martin Blapp <mb@imp.ch>
Cc:        current@FreeBSD.ORG
Subject:   Re: STEP 2, fixing dhclient behaviour with multiple interfaces
Message-ID:  <20030729210514.K15326@sasami.jurai.net>
In-Reply-To: <20030730013027.D25188@cvs.imp.ch>
References:  <Pine.NEB.3.96L.1030729173653.78063D-100000@fledge.watson.org> <20030730013027.D25188@cvs.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Jul 2003, Martin Blapp wrote:
> "control" does only release leases and exit (state 2), I never managed
> to make dhclient sleep (state 3) and wake up (state 2).

Odd:

%%%
# cat /etc/sleep_dhclient
#!/bin/sh

omshell > /dev/null << EOF
connect
new control
open
set state = 3
update
close
EOF
# cat /etc/wakeup_dhclient
#!/bin/sh

omshell > /dev/null << EOF
connect
new control
open
set state = 4
update
close
EOF
%%%

This was working fine for me a few months ago.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |



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