Programmer
January 4th, 2005, 10:44 PM
Hello :-)
As you know, I wrote a scripts that dials to my ISP and opened a PPTP tunnel to my cables company.
After running the script, i have 'ppp0' connection in my ifconfig, that contains my real ip address.
The problem is that sometimes this internet connection disappears :confused: only god knows why, and i need to run my script again to make it alive again.
How can i make this automatic ? I want that my linux will run the script for me every time my internet connection dies, without my interruption.
Note: My script need to be runned with root privileges.
Thanks, Alexander
As you know, I wrote a scripts that dials to my ISP and opened a PPTP tunnel to my cables company.
After running the script, i have 'ppp0' connection in my ifconfig, that contains my real ip address.
The problem is that sometimes this internet connection disappears :confused: only god knows why, and i need to run my script again to make it alive again.
How can i make this automatic ? I want that my linux will run the script for me every time my internet connection dies, without my interruption.
Note: My script need to be runned with root privileges.
Thanks, Alexander