Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gwennlbh/wifiqr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

wifiqr

Generate QR codes of Wi-Fi networks

Required software

Eventually, all dependencies should become optional

  • the fish shell (will make a shell-agnostic binary later, in Go)

  • ImageMagick (the display command)

  • The qrcode command, install it like this:

    $ go install github.com/skip2/go-qrcode/qrcode@latest

Optional software

  • To leave out some arguments

    • NetworkManager as the system's network manager

    If you don't have this, you can still use wifiqr, but you'll have to provide all arguments (the name, password and "WPA" or "WEP")

Installation

  1. Make sure your current shell is fish:
    $ echo $SHELL
    /usr/bin/fish
  2. Install qrcode and put the qrwifi function in your fish config:
    $ go install github.com/skip2/go-qrcode/qrcode@latest
    $ git clone https://github.com/ewen-lbh/wifiqr
    $ cp wifiqr/wifiqr.fish ~/.config/fish/functions/
    $ rm -rf wifiqr

Usage

wifiqr [<name> [<password> [WPA|WEP]]]

Any unspecified argument will be auto-detected from /etc/NetworkManager/system-connections/<name>.nmconnection.

If <name> is not specified, it is assumed to be the currently in-use network (see nmcli dev wifi)

About

Create a QR code to share a WiFi hotspot with friends

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages