Alup (Automatic Login for the University of Pisa) is a Python script provides to keep you logged on University Of Pisa captive portal (Area SerRA).
After configuration of Alup with your credentials, the login session will be managed automatically in order to avoid logout due to timeout or connection issues.
Alup works for Linux, Mac and Windows (excepts for the autorun part).
The first reason is my Raspberry Pi. Alup helps me to log in through ssh by managing the captive portal connection.
I've been using Alup also for my laptop so I decided to improve it in order to help someone else.
I'm lazy, that's all!
Alup works with these extra python modules:
- bs4
- requests
Install them simply by using pip.
Note: be sure you install them for python3
Download:
$ git clone https://github.com/pigna90/alup.git
$ cd alup
Install:
$ python3 installer.py install
If the installation directory isn't specified then Alup will be installed in your home directory.
Copy the script manually as a super user:
# cp alup /usr/local/bin/
Note: .alup/
folder will be created as an hiden directory
Run:
$ alup
Create a new profile and run:
$ alup --new-profile
Run from a custom directory:
$ alup -c /path/to/.alup
Note: for more commands please use -h (--help)
command.
Installation script creates a systemd configuration file as well. Copy it in your systemd services directory as super user:
# cp alup.service /etc/systemd/system/
Start and test the service:
$ systemctl start alup.service
Start automaticaly:
$ systemctl enable alup.service
For any bugs or issues use the Issues section or create a new pull request. Please attach the logs located under .alup/log/
.