Thread
:
[Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
View Single Post
mariosalhab
2012-12-19 , 16:28
Guest | Posts: n/a | Thanked: 0 times | Joined on
#
1377
Originally Posted by
sixwheeledbeast
We need to see your script.
You have removed the comment hash from the beginning?
of course i removed the hash... here is my script
clear
pppd call vpnconnection
sleep 3
route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.0.120 ppp0
route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.120 ppp0
echo "VPN Connected - Press CTRL+C to disconnect"
ping 192.168.0.120>/dev/null
this script can be called from the terminal just by writing 'vpn'
Quote & Reply
|
mariosalhab