Automatically login to the BPHC network instead of manually logging in every time you connect to the network.
- Python 3.9 or higher
- Clone the repository
git clone https://github.com/Chaitanya-Keyal/BPHC-Network-Autologin.git
- Install the required packages:
pip install -r requirements.txt
- Open
script.pyw
in a text editor and replaceusername
andpassword
with your BPHC Network username and password - Options to run the script:
- To login just once:
python script.pyw
- Windows:
- Run the script using Task Scheduler to login everytime you connect to the network:
- Run
create_task.bat
as administrator. - Input the path of the xml file (
task.xml
) and the path of the script (script.pyw
) when prompted.
- Run
- Create a shortcut to the script and place it in the
startup
folder (shell:startup
) to automatically login on startup
- Run the script using Task Scheduler to login everytime you connect to the network:
- Linux:
- Create a shortcut to the script and place it in the
startup
folder (~/.config/autostart
) to automatically login on startup
- Create a shortcut to the script and place it in the
- To login just once: