NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Automatic switching between PPP, LAN, WLAN



> I have to make sure that "/etc/rc.d/ppp start" is executed when both,
> LAN and WLAN lost carrier. And "/etc/rc.d/ppp stop" must be run when
> one of LAN or WLAN is becoming available again. How to do that?
Why not have your script keep track of - or use ifconfig to figure out -
which interfaces have a link?  Then start ppp in the -down part and
stop it in -up.


Home | Main Index | Thread Index | Old Index