Lurker News

Comments (326) 59 threads

Earlier comments
Zash9 replies#

    qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;'
floatingatoll3 replies#
Did you type this in from memory?!
captn3m01 reply#
There is no real specification. This is the best source[1], which documents QR standards.

>There are some standards -- de facto and otherwise -- already in use. This wiki attempts to catalog some possible standards for encoding various types of information, and suggest a standard action associated to them.
[1]: https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-n...

mdaniel1 reply#
Damn, that's saddening, but also answers a question I had about what the escape character is for a password containing `;` -- I guess there's no specification to tell me :-(

OTOH, I guess a "standard" is whatever the common implementations accept anyway, so if one could dig up the source to the WiFi QR scanner in source.android.com that's the 2nd best thing

Continue this thread — 1 reply

mdaniel1 reply#
In fairness, the string doesn't seem insaneo: T:=Type S:=SSID P:=Password then only the leading and trailing chars need to be "remembered", plus whatever the escape character is for that password string (or maybe even the SSID -- I'm not super clear on what characters can be in an SSID)
bigiain1 reply#
> I'm not super clear on what characters can be in an SSID)

I hear “%s%s%s%s%p” is the preferred SSID these days…

Continue this thread — 1 reply

prophesi#
Not OP, but I found that string from viewing the source code for Card.js in the sources tab.
CraneWorm#
A decade old SO adage comes o mind:

"This should be the accepted answer."

SubzeroCarnage1 reply#
For WPA3

  WIFI:S:SSID;T:WPA3;P:PASSWORD;;
m0dest1 reply#
Can you elaborate? Why doesn't the traditional WPA1/WPA2 string work? What happens if a non-WPA3 client scans this new one?
SubzeroCarnage#
Late reply, but when I was setting up WPA3 a few months ago I used Android 11 as a reference and that is what it spits out from the Settings share screen. Without it iirc, it would search and search and never connect.
tomjen31 reply#
>zsh: command not found: qrencode
chadlavi#
brew install qrencode && !!
vletal1 reply#
Since OP intended to learn a bunch of technologies while developing this project I'd be amused to see a version of this based on qrencode complied to WASM.
IgorPartola1 reply#
Why is this not a neural network?
jdrek11 reply#
And why no blockchain?

Continue this thread — 1 reply

40four5 replies#
I wouldn’t ask if it wasn’t the top comment, on the current #1 front page story, but

Can someone please explain this command, and why it is presumably given as a criticism of this submission?

enjoyyourlife1 reply#
The site requires you to put in your WiFi Network and Password even though it did not have to. (However nothing is actually sent to the server)
playpause4 replies#
> even though it did not have to

How could it work if it didn’t?

Continue this thread — 4 replies

sha256kira#
I didnt read it as a criticism necessarily. Qrencode is just awesome. I like that someone made a UI for this though so non-ghost-in-the-shell folks can get down with this awesome use of QR code dopeness :^)
tomc19851 reply#
As other comments have pointed out, the tech stack used here is excessive for what it is trying to do. The author has said it was a project to learn some specific technologies. There is a lot of mirth for overcomplicated contraptions mucking up otherwise simple tasks (and rightfully so, IMO), hence the retort of a one-line console command.
SilverRed9 replies#
It's not excessive. The linked post is way easier to use and doesn't require a terminal or installing packages manually. I wouldn't even know how to get the cli version to work on windows.

The only downside IMO is that you are entering your wifi details in to an untrusted website.

Continue this thread — 9 replies

MobiusHorizons1 reply#
There is an inherent skepticism about typing your password into a web form even/especially if it says it is not sent to the server. My read of this comment was on the one hand telling security conscious people how to achieve the same goal in a way that does not leave the computer, and on the other hand putting a lower bound on the complexity of the value provided by the site.
darkwater1 reply#
https://github.com/fukuchi/libqrencode

This doesn't look "simpler" after a quick look, and it's a hard dependency of the GP solution.
(I completely agree on the local-only guarantee that this one provides, though)

Continue this thread — 1 reply

kzrdude#
I don't think we should always see a reply as criticism. It makes the discussion unnecessarily contentious.

Even this reply - this is intended as conversation.

Continue this thread — 3 more replies

raspyberr#
I know it says "No tracking, analytics, or fingerprinting are used on this website" but it calls out to Google fonts...
tkuraku1 reply#
I just generate a QR code for my wifi login using libreoffice writer.

Edit: just use the built in QR code generator with a string in this format.
WIFI:T:WPA;S:$SSID;P:$PASSWORD

remram1 reply#
Can't you also screenshoot it on your phone?
mynegation2 replies#
This is a nice idea! I once whipped up a shell script to do the same thing.

UX feedback - disable autocorrections on the input fields [1], you may want to trim white space as well.
[1] https://davidwalsh.name/disable-autocorrect

baliex1 reply#
Please don’t trim whitespace, I ended up on a network recently which had a space on the end of the SSID
ThePowerOfFuet1 reply#
I hope you told them to fix their shit.
blooalien#
I've met tons of people who will argue with you that it's not broken because "A trailing space is no big deal. You can't even see it." I try to explain to them that you may not see it, but the computer does. They just look at me with that blank stare as if I'm crazy and they're right. At that point I tend to drop it and take a mental note to never help that person with computer issues of any sort.

Load more comments