Giter Club home page Giter Club logo

wifiautologin's Introduction

WiFiAutoLogin

Provides single click login functionality in Ruckus Managed LAN in NIT Puducherry Campus.

For Android Phones download this app LazyFi.apk

Update: I realized on linux based operating systems we can use the curl command to achieve the same thing(without installing any additional packages). So I have added two methods below. Use the one which suits you.

Method 1

  • Open this link: WifiLogin.sh and hit ctrl+s to save it.
  • Edit the username and password in the file.
  • Give it execution right using chmod +x script.sh in the terminal.
  • Double click on it and it'll login for you.

Note: The following method aims to encourage people for exploring browser automation techniques. There are several possible ways to automate the login process. Like using Tampermonkey/Greasemonkey to run JS when login portal opens (I prefer this for it's speed!).

Method 2

For Ubuntu :

Set up may take 15 mins and this is limited to Ubuntu(Linux OS).

Prerequisite:

1.Python

2.Pip

3.Selenium web driver

4.Firefox Web Browser (Ubunutu generally comes with Firefox pre-installed)

Installation of Prerequisites:

Open terminal by pressing ctrl+alt+T keys combination

Type the following three commands and hit enter one by one:-

1.sudo apt-get install python

2.sudo apt-get install python-pip

3.sudo pip install selenium

Once above tools are installed, download this File

After downloading, extract the zip file.

Open wifi.py file and search for "CS16B1001" and "your password", then replace it with your registration number and password respectively. (e.g value="CS16B1001" will become value="CS16B1002" and value="your password" will be value="Mypass")

Note: Don't edit any other field. Don't add even an extra space in the file.

Save and exit.

Copy wifi.sh and wifi.py file to Desktop.

Once again open terminal and enter the command "cd ~/Desktop;sudo chmod +x wifi.sh;" (without double quotes!)

Last step :

visit the link and follow the answer https://askubuntu.com/a/286651 (Nautilus in the answer means your file manager)

That's all!

Do this whenever your are logged out of wifi:

If wifi is connected, go to desktop(shortcut: windows/super key + D) , double click wifi.sh and wait for a firefox popup.

You will be logged in to wifi in no time with just a double click.

I hope that it will save your time and reduce the irritation :)

wifiautologin's People

Contributors

abhimanyuz avatar

Stargazers

Himanshu Bag avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.