Skip to content

seirl/zerauth

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
c
 
 
 
 
 
 
 
 
 
 
 
 

Synopsis

zerauth is a ZeroShell auto-login daemon. It can handle unstable connections and reconnects itself when the renewal requests timeout.

Requirements

  • python3
  • pip-3

Install

$ git clone git@bitbucket.org:serialk/zerauth.git
$ cd zerauth
# pip install -r requirements.txt

# cp zerauth.py /usr/bin/zerauth
# cp zerauth.yml /etc/zerauth.conf

Config

$ vim /etc/zerauth.conf

login:
    username:               # Your username
    password:               # Your password
    domain:                 # The domain 

server:
    host: 192.168.0.1       # The hostname / IP of the captive portal
    port: 12080             # The port associated with the right protocol
    protocol: http          # http or https (must match with 'port')
    renew_delay: 40         # Seconds between each renew request

systemd

$ cp systemd/zerauth.service /etc/systemd/system
$ systemctl enable zerauth
$ systemctl start zerauth

About

zerauth is a ZeroShell auto-login daemon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published