This script can be use to setup auto-login on the ACT Corp network without having the need to going to the redirect page entering password and again. The script ensures that when the user gets logged out of the network they get automatically logged in 5 second (easily modifiable interval).
If your router is supported you should go for the easy solution:
- Go to your routers login page.
- Set Internet Connection Type to PPPoE.
- Enter username and password and you're done.
If you are one of the unlucky one's for which this doesn't work use the below scripts.
- Python3
- Other dependencies as listed in
requirements.txt
.
Download the script using git/other means.
Run the following command for setting dependencies in place:
pip install -r requirements.txt
Update the USERNAME and PASSWORD variables in autologin_actcorp.py
file.
USERNAME = '<username>'
PASSWORD = '<password>'
if you are trying to use this outside of hyd circle you might need to update the REDIRECT_ADDRESS address.
REDIRECT_ADDRESS = '<redirect server>'
Run the script as a demon process.
python3 autologin_actcorp.py &