I actually wanted a pre-up and post-down for the entire mapping, but that
doesn't work.  Am I going completely down the wrong track and am insane
to ask for this ability?

auto bond0
mapping bond0
  script guessnet-ifupdown
  map timeout: 30
  map verbose: true
  map debug: true
  map default: none
  map aat
  map aatlodge
  map swin
  map home
  map pre-up1 ifconfig bond0 up
  map pre-up2 ifenslave bond0 eth0 wlan0
  map post-down1 ifconfig bond0 down

(essentially mirroring what I did with bonding before I tried to set up
guessnet - although an even better syntax might somehow include the proper
method of doing this without guessnet:

iface bond0 inet static
#    pre-up ifconfig bond0 up
#    pre-up ifenslave bond0 eth0 wlan0
    address 192.168.1.17
    network 192.168.1.0
    netmask 255.255.255.0
    broadcast 192.168.1.255
    gateway 192.168.1.254
    dns-nameservers 192.168.1.3 192.168.1.254 150.101.197.97 192.231.203.132 
192.231.203.3
#    post-down ifconfig bond0 down
    slaves eth0 wlan0          #  <---- nice, eh?
)


-- 
TimC
"This company performed an illegal operation but they will not be shut
down."     -- Scott Harshbarger from consumer lobby group on Microsoft



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to