Domanda

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

  1. Automatically connect to Asianet Dataline without having to sign in via the browser.
  2. In startup and free mode the script will keep the connection alive.
  3. 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.

È stato utile?

Soluzione

Yes that script should run on OS X. It is a .sh file and it's using the bash shell, so I'd assume that it would run, unless it requires programs that aren't installed on OS X by default.
To have it run on login:
Just go to System Preferences > Users & Groups and click on the user that you want the script to load. Click the + button to add a login item and navigate to your script. The script will load automatically on login.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a apple.stackexchange
scroll top