Giter VIP home page Giter VIP logo

wifi-qr's Introduction

Wifi QR

Hi everyone i am think about Xiaomi Phone Wifi, Hotspot Share with QR, also scan with auto connect to WIFI. now i did it, wifi-qr. we can do like Xiaomi Phone. using zbarcam via zbar-tools and qrencode.

v0.1-1 is using bash reading replace with nmcli

v0.1-2 shellcheck pass for #9

Generate WIFI QR

it's easy, we check /etc/NetworkManager/system-connections and generate WPA, WEP and Open, also HIDDEN network.

now using nmcli you can use command line via

  • wifi-qr t for terminal only QR.
  • wifi-qr g for PNG file QR export. or using graphics menu.
  • Share saved WiFi

Scan and Connect with QR Code

It's like Android QR Scanner, scan and connect to network. iOS is just see password from terminal

  • wifi-qr s for auto connect.
  • wifi-qr q for show SSID, PASS and Connect. or using graphics menu
  • Scan and connect

Todo list

  • QR Generate with GUI
  • QR Generate with Terminal
  • QR Scan and Auto Connect
  • It's Not Wifi QR
  • This network is not available.
  • Migration to nmcli
  • QR Share Hidden Network
  • QR Scan Auto Connect Hidden Network
  • icons
  • Additional LDAP Login

Improve

All is done Just need for LDAP and LEAP We will come back when QR Code and Scanner support LDAP and relative thing.

nmcli c add type wifi con-name <connect name> ifname wlan0 ssid <ssid>
nmcli con modify <connect name> wifi-sec.key-mgmt wpa-psk
nmcli con modify <connect name> wifi-sec.psk <password> 
nmcli con up <connect name>

UML diagrams

WIFI QR UML.

graph TD



G[GUI] --> A{Main Menu}
A -- QR Connect --> Q[Scan Show Info and Connect]
T[Terminal Command] -- wifi-qr g--> G
T -- wifi-qr s--> S[Scan and Auto Connect]
T -- wifi-qr q--> Q
S --> C[Wifi Connect]
Q --> C
A -- QR Generate --> F{Wifi SSID}
T -- wifi-qr t--> F
F --> QR[Wifi QR Code]
Q -.-> WIFIN[Its Wifi QR]
WIFIA[This SSID is Available]-.->Q
Loading

wifi-qr's People

Contributors

kokoye2007 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.