Skip to content

The Auto WIFI Login Script is a simple and efficient solution for automating the process of logging into wireless networks. Designed to save time and eliminate the need for manual authentication every time a device connects to a network, this script is particularly useful for environments where frequent WIFI logins are required.

License

Notifications You must be signed in to change notification settings

01bps/RGIPT_Auto_Connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Auto Wifi Login

Tired of entering the same Wi-Fi credentials every time you join the network? So was I! 😅 In my institute, there was no way to automate Wi-Fi login, and I found myself typing the same password repeatedly. That's when I decided to create this Auto Wifi Login Script!

This open-source script automates the process of logging into Wi-Fi networks using pre-saved credentials. Whether you're stuck in a loop of constant re-logins at your school, work, or any place that requires repetitive Wi-Fi access, this script has got you covered! 🎉

Feel free to customize it for your own institution, workplace, or any location where you need to log in to the same Wi-Fi every time. Say goodbye to repetitive typing and hello to effortless connectivity!

The Auto Wifi Login Script is an open-source solution designed to automate the process of connecting to Wi-Fi networks. By leveraging saved credentials, this script eliminates the need for manual Wi-Fi logins, making it ideal for users who frequently connect to multiple networks or in environments with recurring Wi-Fi setups. The script works across various operating systems, and it can be easily customized to meet different network configurations.

Whether you're setting up a new device or simply want to automate Wi-Fi connectivity, this script can save time and effort, while ensuring seamless access to the internet.

To set up the Auto Wifi Login Script project, one should have the following prerequisites and basic knowledge:

  1. Basic Knowledge of Command Line / Terminal.
  2. Understanding of Scripting Language (Bash/shell scrpting and python basics)
  3. Working Knowledge of Wi-Fi Networking(GET,POST requests)
  4. Basic Knowledge of Scheduling Tasks (Cron Jobs)

Setting Up the Project Locally

1. Clone the Repository:

Clone the repository to your local machine:

git clone https://github.com/your-username/RGIPT_Auto_Connect.git

2. Navigate to the Project Directory:

Move into the project directory:

cd RGIPT_Auto_Connect

3. Set Environment Variables:

The script may require certain environment variables (like Wi-Fi credentials). You can either add these to a .env file or set them directly in your terminal.

Example:

export WIFI_SSID="Your_Wifi_SSID"
export WIFI_PASSWORD="Your_Wifi_Password"

If you're using a .env file, make sure you load it by adding the following to your script or use python-dotenv if it’s a Python-based script:

pip3 install python-dotenv

Add this line to your Python script:

from dotenv import load_dotenv
load_dotenv()  # Load environment variables from .env file

Create a .env file:

WIFI_SSID=Your_Wifi_SSID
WIFI_PASSWORD=Your_Wifi_Password

4. Make the Script Executable (For Bash or Shell Scripts):

If you are using a shell script like auto_wifi_login.sh, make it executable:

chmod +x auto_wifi_login.sh

For Python scripts (e.g., wifi_auto_login.py), ensure you have the correct Python environment set up and use python3 to run it.

5. Running the Script:

Run the script to automatically log into the Wi-Fi network.

For a Bash script (auto_wifi_login.sh):

./auto_wifi_login.sh

For a Python script (wifi_auto_login.py):

python3 wifi_auto_login.py

6. Schedule the Script to Run Automatically :

Add the Script to Cron:

  • Open the crontab editor: crontab -e
  • Add the following line to run the script automatically at startup:
    @reboot /path/to/your/script/auto_wifi_login.sh
  • For Python users:
    @reboot /usr/bin/python3 /path/to/your/script/wifi_auto_login.py

That's All

Contributing:

Fork the repository, make improvements or bug fixes, and submit a pull request. Contributions to enhance the functionality (e.g., adding support for more OS or network types) are welcome.

License:

This project is licensed under the MIT License, which allows for free use, modification, and distribution.


About

The Auto WIFI Login Script is a simple and efficient solution for automating the process of logging into wireless networks. Designed to save time and eliminate the need for manual authentication every time a device connects to a network, this script is particularly useful for environments where frequent WIFI logins are required.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages