Kaushal Shriyan:
>
> is there a way to automatically restart the OpenVPN session while i switch
> to and fro from Wireless to Wired Network on Debian Squeeze ?
Do you use network-manager?
If not: you can add lines for OpenVPN to your entries for wired and
wireless networks in /etc/network/interfaces:
iface eth0 inet dhcp
openvpn <vpnname>
iface wlan0 inet dhcp
openvpn <vpnname>
Given <vpnname>, OpenVPN will use the config file
/etc/openvpn/<vpnname>.conf.
J.
--
Driving behind lorries carrying hazardous chemicals makes me wish for a
simpler life.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
Attachment:
signature.asc
Description: Digital signature