STEP 2, fixing dhclient behaviour with multiple interfaces

Martin Blapp mb at imp.ch
Tue Jul 29 23:52:25 PDT 2003


Hi,

> 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.

It still does - my fault. Looks like I forgot "update" :P
and with state 2 I did that.

But the interface adding does still not work. Maybe a different
syntax than this ?

connect
new interface
open
set rl0 = "up";
update
close

Martin


More information about the freebsd-current mailing list