+----------------------- hiro -----------+
> I now use wpa_cli -a and netplugd with a few scripts to stick it all together.
> I use wpa_cli -a for wifi events, because netplugd does too much with
> the device, always tries to keep it up.
>
> If anybody wants these scripts I can tar them up.
>
i use two (home, work) really static scripts [1] because my needs are
simple, but i'm still interested in what you have.
- yoshi
[1]:
% cat /etc/rc.d/rc.net
#!/bin/sh
if [ "$1" == "stop" ] ; then
route del default
ifconfig wlan0 down
ifconfig lo down
else
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 255.0.0.0 lo
...
Received on Sat Feb 26 2011 - 11:04:08 CET
This archive was generated by hypermail 2.2.0 : Sat Feb 26 2011 - 11:24:02 CET