The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,180 other subscribers

For WiFi guest networks with a fixed SSID: QR code – Wikipedia

Posted by jpluimers on 2021/10/06

Access Denied

Access Denied

I knew it was possible to generate QR codes to access quest networks (as the QR code has credentials) for WiFi networks having a fixed SSID.

I just never bothered, but did when needed home care with quite a few different people providing the care.

Generating was easier than I anticipated, though I hoped I just could put the parameters in a URL and fire off to get a page including the QR code.

Alas, the pages I found require you to enter the SSID name and key/password phrase.

That’s OK: I have saved the PNG files for our network and my brother’s as images so I can put them on-line, and printed them out so guests can scan and use the network at once.

Here we go:

  • 124 network Access Denied, key 2171TB24
  • 171 network Disconnected, key 1060NP71




    • [WayBack] QR code – Wikipedia
    • [WayBack] wireless networking – Link / URL to connect to WiFi – Super User (thanks [WayBack] miken32):

      You can generate these codes using an online service, or using the QR generator of your choice and feeding it this text:

      WIFI:S:My_SSID;T:WPA;P:key goes here;H:false;
      ^    ^         ^     ^               ^
      |    |         |     |               +-- hidden SSID (true/false)
      |    |         |     +-- WPA key
      |    |         +-- encryption type
      |    +-- ESSID
      +-- code type

      Escape any special characters ("';,, or \) with a backslash.

    • Too bad this RFC never reached the IETF [WayBack] The Wi-Fi URL scheme:
      2. Syntax of a Wi-Fi URL
      Following the syntax conventions of RFC 1738 [RFC1738] and RFC 1808 [RFC1808]
      to allow clients to use existing parsing libraries, Wi-Fi URLs MUST include a
      <host> component and MAY contain a <user> and/or <password> component and
      MUST NOT include the <port>, <path>, <params> or <query> components.
        wifiURL    =  "wifi:" // [username] : [password] @ ssid # [clip]
        user       =  user name for WPA/WPA2 Enterprise 802.1X authentication
        passsword  =  password for WPA/WPA2 Personal or Enterprise authentication
        ssid       =  802.11 SSID for the the Wi-Fi network to connect to
        clip       =  URL for network information
    • QIFI:
    • [WayBack] Barcode Contents · zxing/zxing Wiki · GitHub: WiFi

      Wi-Fi Network config (Android, iOS 11+)

      We propose a syntax like “MECARD” for specifying wi-fi configuration. Scanning such a code would, after prompting the user, configure the device’s Wi-Fi accordingly. Example:

      Parameter Example Description
      T WPA Authentication type; can be WEP or WPA, or ‘nopass’ for no password. Or, omit for no password.
      S mynetwork Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. “ABCD”)
      P mypass Password, ignored if T is “nopass” (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. “ABCD”)
      H true Optional. True if the network SSID is hidden.

      Order of fields does not matter. Special characters \;, and : should be escaped with a backslash (\) as in MECARD encoding. For example, if an SSID was literally "foo;bar\baz" (with double quotes part of the SSID name itself) then it would be encoded like: WIFI:S:\"foo\;bar\\baz\";;


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: