Coder Social home page Coder Social logo

alup's Introduction

Alup (Automatic Login for University of Pisa)

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).

Why Alup?

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!

Extra modules

Alup works with these extra python modules:

  • bs4
  • requests

Install them simply by using pip.
Note: be sure you install them for python3

Installation

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

Usage

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.

Auto-run (systemd)

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

Issues and bugs

For any bugs or issues use the Issues section or create a new pull request. Please attach the logs located under .alup/log/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.