Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Shell script to automatically login on University of Hyderabad (UoH) network.

License

NotificationsYou must be signed in to change notification settings

jadia/uohLogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shell script to automatically login on UoH network.Cronjob runs every minute and the script pings8.8.8.8 to check if you are connected to internet and are on university network. If not then usescurl for login.

Installation

  1. Putauthenticate.sh in acron dir

    mkdir$HOME/cron&& \cp authenticate.sh$HOME/cron/&& \vim$HOME/cron/authenticate.sh

    NOTE: Change the enrollment number and password to your own.

  2. Installcurl on Ubuntu/Debian (useyum on CentOs/RedHat ordnf on Fedora)

    sudo apt install -y curl
  3. Add cronjob for automatic login.

    crontab -e

    Add the following line to the cron

    */1 * * * * /bin/bash -c "$HOME/cron/authenticate.sh"

    That's all folks!

About

Shell script to automatically login on University of Hyderabad (UoH) network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp