/wifi-qr

Generate a QR Code to easily connect to your wifi network

Primary LanguageShellMIT LicenseMIT

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