Live data from Hacker News

Raspberry Pi WLAN setup

berrylan.org

11–20 of 86 posts

Re: Raspberry Pi WLAN setup

#12

That looks useful. Does it delete itself and the extra repo configuration after setup? If not, while convenient I'm not convinced the increased attack surface is worth it.

This small patch of mine to raspbian may be useful for you, then:

https://github.com/RPi-Distro/pi-gen/pull/207

The minor downside is that you have to build the image yourself, but fortunately that is a single command once docked is installed.

Re: Raspberry Pi WLAN setup

#13

That’s cool, and the UI is nice! I wrote exactly the same thing as a library, to allow user setup of the WiFi network from within an app as part of a hardware prototype - main difference being it was just a Go daemon running on the Pi. Didn’t end up using it or open-sourcing it but I will re-visit that, since it looks like there are a couple of use-cases.

Please do let us know if you end up open sourcing it.

Re: Raspberry Pi WLAN setup

#14
post #11

I'm confused by the Bluetooth logo.

There's an explanation of why bluetooth is used here: https://www.raspberrypi.org/forums/viewtopic.php?t=223380

It's an interesting way to do it, but I would personally prefer wifi-based:

* Allows usage from laptops

* No app to install

This could be integrated to several stock pi images from other projects, and I think that's where this really has potential. There's WiFiManager [1] for the esp8266, but this is the first time I came across something similar for the pi.

[1] https://github.com/tzapu/WiFiManager

Re: Raspberry Pi WLAN setup

#15
post #11

I'm confused by the Bluetooth logo.

There's an explanation of why bluetooth is used here: https://www.raspberrypi.org/forums/viewtopic.php?t=223380

I don't recall my RasPis having Bluetooth built in. Maybe it's the newer models.

Just saying perhaps including the word "Bluetooth" once in the description would help. Looking at this page the first time it wasn't so obvious what was going on or what it does.

Re: Raspberry Pi WLAN setup

#16
post #11

Earlier quoted context omitted.

There's an explanation of why bluetooth is used here: https://www.raspberrypi.org/forums/viewtopic.php?t=223380

I don't recall my RasPis having Bluetooth built in. Maybe it's the newer models. Just saying perhaps including the word "Bluetooth" once in the description would help. Looking at this page the first time it wasn't so obvious what was going on or what it does.

Bluetooth is built in from the RPi 3, the same model that also integrated WLAN.

Re: Raspberry Pi WLAN setup

#17
post #11

Earlier quoted context omitted.

There's an explanation of why bluetooth is used here: https://www.raspberrypi.org/forums/viewtopic.php?t=223380

I don't recall my RasPis having Bluetooth built in. Maybe it's the newer models. Just saying perhaps including the word "Bluetooth" once in the description would help. Looking at this page the first time it wasn't so obvious what was going on or what it does.

'Pi Zero W' and 'Pi 3 B+' have both wifi and bluetooth.

Re: Raspberry Pi WLAN setup

#18
post #11

Earlier quoted context omitted.

There's an explanation of why bluetooth is used here: https://www.raspberrypi.org/forums/viewtopic.php?t=223380

I don't recall my RasPis having Bluetooth built in. Maybe it's the newer models. Just saying perhaps including the word "Bluetooth" once in the description would help. Looking at this page the first time it wasn't so obvious what was going on or what it does.

It's the model 3's and the Zero W that have Bluetooth. Models 2 or below, and the "non W" Zero don't have it.

Re: Raspberry Pi WLAN setup

#19

So GUI and displaying the IP at the end is nice. But. I do wonder: If you already have to write a special image, why not just write the network config directly to wpa_supplicant.conf?

Maybe if you’re going into an environment where you don’t know the wireless details ahead of time?

Re: Raspberry Pi WLAN setup

#20
post #12

That looks useful. Does it delete itself and the extra repo configuration after setup? If not, while convenient I'm not convinced the increased attack surface is worth it.

This small patch of mine to raspbian may be useful for you, then: https://github.com/RPi-Distro/pi-gen/pull/207 The minor downside is that you have to build the image yourself, but fortunately that is a single command once docked is installed.

I must say it's silly we can't be trusted with a simple way to drop in a shell script on the SD card that runs at boot as root in rasbian.

I don't even understand the idea that it could be bad for newbies to maybe mess up. The whole point of the RPi was to give students a small, cheap, easy to repair computer with low-level features to learn with.

Post reply on HN