Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View sharang-d's full-sized avatar

Sharang Dashputre sharang-d

View GitHub Profile
@sharang-d
sharang-d / crontab
Created August 19, 2019 15:00
This script connects you to the internet through Cyberoam
Replace NAME with your username and PASS with your password that you use to connect to Cyberoam.
Now add this script to your your crontab like so:
$ crontab -e
Add the following entry:
* * * * * /home/sharang/.shell_scripts/cron_jobs/cyberoam_login.sh
Replace the path with wherever the above mentioned script lies on your system.
The script will be executed every minute. It will check if you are connected to the Internet and if not it will connect you.

Keybase proof

I hereby claim:

  • I am sharang-d on github.
  • I am sharang (https://keybase.io/sharang) on keybase.
  • I have a public key whose fingerprint is 72BF CEF5 A81C C091 2A13 7134 92C3 5B38 E9D4 A63C

To claim this, I am signing this object: