My ISP requires me to login to their server and keep the login page up so I can use the Internet, which makes me uncomfortable while I download some big files. After some research i found a script which is supposed to run on Linux environment, which you can find here.
Can I make this script run on my Mac while I log-in?
Also the script provides some keep-alive functions, can I make them work in my Mac?
Can I add these features with script?
Features
- Automatically connect to Asianet Dataline without having to sign in via the browser.
- In startup and free mode the script will keep the connection alive.
- The script will automatically reconnect if connection breaks because of a power failure or a line problem.
I am using a Macbook 5,2 running Lion 10.7 Please let me know if you need any more info.


chmod +x /path/to/script, then run it with/path/to/script. – robmathers Sep 17 '12 at 16:03