This repository contains a collection of essential scripts to automate various tasks and improve productivity.
- A variety of scripts to handle different tasks.
- Easy to use and customize.
- Well-documented and maintained.
- Wi-Fi Auto-Login Script
- Automates the process of logging into captive portals.
- Connects to specified Wi-Fi networks and submits credentials.
- Works for both Linux and macOS using the same script (
vit-wifi-login.sh
). - For Windows, a separate PowerShell script is available (
vit-wifi-login-windows.ps1
).
-
Linux System with necessary tools installed.
nmcli
for network management.curl
for web requests.
-
Windows:
- PowerShell 5.1 or later.
Clone this repository or download the scripts to your local machine.
git clone https://github.com/PacemakerX/essential-shell-scripts.git
cd essential-shell-scripts
Edit the configuration files to suit your needs. Each script has its own configuration file with detailed instructions.
-
Make the script executable:
chmod +x login_vit_wifi.sh
-
Run the script:
./login_vit_wifi.sh
-
Open PowerShell as Administrator:
- Press
Win + X
and select Windows PowerShell (Admin) or Command Prompt (Admin).
- Press
-
Allow script execution (if not already enabled):
- Run the following command to allow scripts to be executed in PowerShell:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Run the following command to allow scripts to be executed in PowerShell:
-
Run the script:
- Execute the script:
.\vit-wifi-login-windows.ps1
- Execute the script:
The script will attempt to connect to the specified Wi-Fi network (e.g., G-VIT
) and automatically log in to the captive portal.
Note: Ensure you have an active internet connection and that your Wi-Fi network is accessible.
Feel free to contribute to this repository by submitting pull requests, reporting issues, or suggesting new features.