Skip to content
/ wifi-qr Public

Generate a QR Code to easily connect to your wifi network

License

Notifications You must be signed in to change notification settings

aranw/wifi-qr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wifi-qr

wifi-qr attempts to simplify the process of sharing passwords with mobiles by generating a wifi qr code where mobile uses can scan to connect to the wifi network.

wifi-qr depends on qrencode

Currently this script only supports macOS and linux (with Network Manager).

Inspired by wifi-password

How to use

Prerequisites

With Homebrew:

$ brew install qrencode

With apt for Ubuntu 18.04 (might work with other Linux distributions too)

$ sudo apt install qrencode

Install

With curl:

$ curl -L https://raw.github.com/aranw/wifi-qr/master/wifi-qr.sh -o ~/bin/wifi-qr && chmod +x ~/bin/wifi-qr

If you don't have ~/bin in your $PATH, replace it with /usr/local/bin or similar.

Usage

To get the password for the WiFi you're currently logged onto:

$ wifi-qr

To get it for a specific SSID:

$ wifi-qr <ssid>

License

MIT