Re: STEP 2, fixing dhclient behaviour with multiple interfaces

From: Matthew N. Dodd <mdodd_at_FreeBSD.ORG>
Date: Tue, 29 Jul 2003 21:06:41 -0400 (EDT)
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_at_jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
Received on Tue Jul 29 2003 - 16:06:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC