I want to connect to VPN every time eth0
goes up. I have already a script to do connect to VPN. How can I run it on interface up event on Fedora Core 12?
I want to connect to VPN every time eth0
goes up. I have already a script to do connect to VPN. How can I run it on interface up event on Fedora Core 12?
At least on Fedora 11, the networking scripts will call
/sbin/ifup-local ${DEVICE}
after bringing up the interfaces. Does that do what you're wanting?(Note: untested)
What kind of VPN is it? If you use NetworkManager you can set a VPN to automatically connect itself (For desktop use especially, NM is the recommended form of networking to use on Fedora)