Skip to content

LPU WiFi Manager: A Rust-based CLI tool for managing Lovely Professional University's WiFi connections. Features include account login, stored account listing, and connection verification.

License

Notifications You must be signed in to change notification settings

smazmi/LPU-WiFi-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛜 LPU WiFi Manager


Logo


This is a command-line tool for managing LPU WiFi connections, written in Rust. It's a rewrite of the original Bash script by Ba3a-G. You can find the original repository here. I thank Ba3a-G for their original work.

The tool provides several commands:

  • --help or -h: Show the help message.
  • --version or -v: Show the version of the program.
  • --account or -a: Perform LPU login with the provided account ID.
  • --list or -l: List all stored account IDs.

If no command is provided, the tool will prompt the user for an account ID and perform LPU login.

The tool checks if the user is connected to LPU WiFi before performing any operations. If the user is not connected to LPU WiFi, the tool will exit with an error message.

The tool stores LPU credentials in environment variables and writes them to a file. The file is updated every time the user stores new credentials.

🛠️ Installation

Arch Arch Linux

The tool is available on the AUR with the package name llogin. You can install it using paru, yay or your prefered AUR helper:

paru -S llogin

or

yay -S llogin

Note: I've also included the PKGBUILD file if you choose to run makepkg locally.

Ubuntu Ubuntu

The tool is also available on a Personal Package Archive (PPA) for Ubuntu users. You can add the PPA and install the tool using the following commands:

sudo add-apt-repository ppa:smazmi/llogin
sudo apt update
sudo apt install llogin

Crates Other Systems

The tool is also available on crates.io. You can install it using cargo:

cargo install llogin

🚀 Usage

After installation, you can run the tool using llogin command followed by the desired options.

📝 Original Bash Script

The original Bash script by @Ba3a-G is also included in this repository for those who prefer using it.

About

LPU WiFi Manager: A Rust-based CLI tool for managing Lovely Professional University's WiFi connections. Features include account login, stored account listing, and connection verification.

Topics

Resources

License

Stars

Watchers

Forks