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.
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 runmakepkg
locally.
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
The tool is also available on crates.io. You can install it using cargo
:
cargo install llogin
After installation, you can run the tool using llogin
command followed by the desired options.
The original Bash script by @Ba3a-G is also included in this repository for those who prefer using it.