Live data from Hacker News

Guest WiFi using a QR code

blog.jgc.org

121–130 of 284 posts

Re: Guest WiFi using a QR code

#121
post #17
post #9

I've done this for years, quite convenient. I also have an NFC tag with the WiFi which works quicker (no need to open a QR scanner and no need to focus on the image for a sec) but I'm not sure if iOS supports it. I've put the tag behind the wifi "frame" so that you can just tap it instead of scanning it. Android also has the option to "share" wifi via a QR code from the WiFi settings menu. It is quick and much easier…

What do you need, to produce (or rather program) nfc tags...? I guess they don't have usb ports, lol.

Programming NXP NTAG21x tags works on most recent iPhones too. Two apps I successfully used are "NFC Tools" and "NFC TagWriter by NXP". You can also associate the tags with Shortcuts and with automations in Home Assistant.

Re: Guest WiFi using a QR code

#122
post #120

"Which when scanned with the default camera app on iOS or Android will pop up something similar to this. With one click you're connected to the network." I have never had an Android phone with the ability to scan QR codes with the "default camera app". The closest I've gotten is taking a picture of the QR code and then going into my pictures and using "Google Lens" to scan the picture for QR codes. Usually I end up d…

Both my Pixel phone and Samsung tablet pick up URLs and SSIDs from the QR code using the stock camera app.

Re: Guest WiFi using a QR code

#123
post #120

"Which when scanned with the default camera app on iOS or Android will pop up something similar to this. With one click you're connected to the network." I have never had an Android phone with the ability to scan QR codes with the "default camera app". The closest I've gotten is taking a picture of the QR code and then going into my pictures and using "Google Lens" to scan the picture for QR codes. Usually I end up d…

Both my Pixel phone and Samsung tablet pick up URLs and SSIDs from the QR code using the stock camera app.

My last phone, LG Nexus 5X, couldn't do this. My current phone, Unihertz Jelly 2, also can't do this. Guess I have to buy the "premium" brand Androids for this feature.

Re: Guest WiFi using a QR code

#124
post #123

Earlier quoted context omitted.

Both my Pixel phone and Samsung tablet pick up URLs and SSIDs from the QR code using the stock camera app.

My last phone, LG Nexus 5X, couldn't do this. My current phone, Unihertz Jelly 2, also can't do this. Guess I have to buy the "premium" brand Androids for this feature.

The Nexus 5X is nearly 7 years old at this point and from a quick Google the Unihertz is advertising the fact that it runs Android 10 (released in 2019) so it's probably to do with the out of date software.

Re: Guest WiFi using a QR code

#125
post #12

Someoned posted https://wificard.io/ a while ago... pretty neat

Thanks! This site actually produces attractive output which includes some instructions, as well as the network name and password, something other sites don't offer. It is handy to be able to have the password visible for situations where the QR Code isn't a viable option, like setting up a laptop.

Re: Guest WiFi using a QR code

#126
post #84

This is super cool and would be awesome for situations where your guests are familiar with QR codes. But from my experience the process would go something like this: Visitor: What's your wifi password? Me: No password needed! We have a cool QR code you can scan that will auto-join you! Visitor: Oh cool, how do I use a QR code? Do I need an app? Me: Nope, just point your camera at it. Visitor: Like .. .take a picture…

I agree with scenario one but also think you went too simplistic on the second scenario. Even with a simple wifi password like you suggested, you still need to specify the uppercase letters and plenty of people might have trouble spelling tortoise correctly on the first try. Nevermind the fact that my friends group tends to be about 50% passwords of the type you used and the other 50% of them use a randomly generated…

I solve this by having a framed piece of paper on my wall:

    GUEST WIFI
    SSID: AAA Guest
    Password: squirrels2

Re: Guest WiFi using a QR code

#127
post #105

Earlier quoted context omitted.

Hmm, after tinkering around a bit, I think according to https://github.com/yWorks/svg2pdf.js/issues/82 , the mask element in the giraffe SVGs is not supported in the PDF converter. It is just dropped, leafing the qraffe rather qr-less. But I sadly know neither svg enough to think up an alternative approach, or a JS/TS dev enough to see if there are other libraries.

That is likely the issue. The alternative is to use Lambda to render pdfs on the server side, but I wanted to keep this fully on the client side as a static site (to avoid any trust issues with sending your wifi credentials to strangers). I may have to pay up real $$ if I want to do this "right".

Didn't look at your code but I had good results with using dom-to-pdf with converting quite complex svg's to pdf's cliënt site. Though I remember it needed a trivial fix to render pdf's larger than the current viewport. You might want to take a look.

Re: Guest WiFi using a QR code

#129
post #84

This is super cool and would be awesome for situations where your guests are familiar with QR codes. But from my experience the process would go something like this: Visitor: What's your wifi password? Me: No password needed! We have a cool QR code you can scan that will auto-join you! Visitor: Oh cool, how do I use a QR code? Do I need an app? Me: Nope, just point your camera at it. Visitor: Like .. .take a picture…

I agree with scenario one but also think you went too simplistic on the second scenario. Even with a simple wifi password like you suggested, you still need to specify the uppercase letters and plenty of people might have trouble spelling tortoise correctly on the first try. Nevermind the fact that my friends group tends to be about 50% passwords of the type you used and the other 50% of them use a randomly generated…

But you could also just put the password in that same frame and then you don't need to specify it. Just like every small coffee shop does with their guest wifi (assuming they don't have a captive portal)

Re: Guest WiFi using a QR code

#130

This is super cool and would be awesome for situations where your guests are familiar with QR codes. But from my experience the process would go something like this: Visitor: What's your wifi password? Me: No password needed! We have a cool QR code you can scan that will auto-join you! Visitor: Oh cool, how do I use a QR code? Do I need an app? Me: Nope, just point your camera at it. Visitor: Like .. .take a picture…

vs Whats's your Wifi password?

A: I don't know it's written on the back of the modem.

Post reply on HN