Skip to content

cobbdzon/tip-wifi-auto-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TIP Wifi Auto Login

This is a proof-of-concept wifi auto login script for S.Y. 2024-2025 TIP QC Campus, specifically in Building 9.

Origin and Purpose

I found it annoying that the wifi in Building 9 always kicked me out after a few minutes for no discernable reason. To spare me from the inconvenience of logging back in, I just wrote a simple python script that once it detects a disconnection, will automatically reconnect me in seconds or fewer.

Usage

The only supported way of running this is in a Linux operating system. Run this in any other operating system at your own risk.

Write your .env file

An example is available in .env-example.

WIFI_USERNAME=S2312345
WIFI_PASSWORD=PASSWORD
WIFI_LOGIN_INTERVAL=1
INTERNET_CHECK_TIMEOUT=2

Setup python and run script

cd /path/to/tip-wifi-auto-login
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
# running the script
python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors