Code is highly modular and maintainable.
Raspberry Pi WLAN setup
31–40 of 86 posts
Re: Raspberry Pi WLAN setup
#32I'm building a gift for someone else that uses a RasPi internally, and thus needed a user friendly way for them to configure its WiFi connection. It's been ... quite the adventure (mostly because I'm dumb). My first idea was to put an OLED and a rotary encoder on the box. That way they can do a special dance on the button to enter setup mode, scroll through a list of wifi networks, and then tediously scroll through l…
Raspbian defaults to being discoverable by bonjour so you can just `ssh pi@raspberrypi.local` and then modify the wifi config file (`/etc/network/interfaces`). You can script this bootstrap process pretty easily using Ansible etc. Downside is you do have to have a machine on the same ethernet network as the rpi for a short time. So fewer "cool project" points but ends up being quite simple.
Re: Raspberry Pi WLAN setup
#33https://github.com/jasbur/RaspiWiFi fairly stable light weight system that does the same thing, also comes as an etchable .img one advantage here is that if the Pi goes offline for extended period it will flip on its AP broadcast mode allowing wifi to be setup again. Code is highly modular and maintainable.
Re: Raspberry Pi WLAN setup
#34Re: Raspberry Pi WLAN setup
#35Earlier quoted context omitted.
My hassle is usually: Where do I dig up that keyboard and spare HDMI video source to bootstrap the Pi. Currently the MAME cabinet does that well, but not everyone has a MAME cabinet.
You don’t. You just enable ssh and connect it to network. Essentially ‘touch /boot/ssh’
I’ve had this problem multiple times and find this approach really nice (and wish it shipped with raspbian!)
Re: Raspberry Pi WLAN setup
#36I'm building a gift for someone else that uses a RasPi internally, and thus needed a user friendly way for them to configure its WiFi connection. It's been ... quite the adventure (mostly because I'm dumb). My first idea was to put an OLED and a rotary encoder on the box. That way they can do a special dance on the button to enter setup mode, scroll through a list of wifi networks, and then tediously scroll through l…
Raspbian defaults to being discoverable by bonjour so you can just `ssh pi@raspberrypi.local` and then modify the wifi config file (`/etc/network/interfaces`). You can script this bootstrap process pretty easily using Ansible etc. Downside is you do have to have a machine on the same ethernet network as the rpi for a short time. So fewer "cool project" points but ends up being quite simple.
Why would you do that when you can just drop a wpa_supplicant.conf on /boot?
Re: Raspberry Pi WLAN setup
#37Earlier quoted context omitted.
You don’t. You just enable ssh and connect it to network. Essentially ‘touch /boot/ssh’
But you can’t do that from a raspbian image, and if you want me to mod my file system post install that only works assuming I can mount it (eg I have another Linux box with keyboard). I’ve had this problem multiple times and find this approach really nice (and wish it shipped with raspbian!)
Edit: forgive me, I see that's not what you meant at all. Or maybe it was? Either way, the point is valid.
Re: Raspberry Pi WLAN setup
#38Earlier quoted context omitted.
You don’t. You just enable ssh and connect it to network. Essentially ‘touch /boot/ssh’
But you can’t do that from a raspbian image, and if you want me to mod my file system post install that only works assuming I can mount it (eg I have another Linux box with keyboard). I’ve had this problem multiple times and find this approach really nice (and wish it shipped with raspbian!)
Re: Raspberry Pi WLAN setup
#39Earlier quoted context omitted.
Can you seriously put wpa_supplicant.conf in /boot and it’ll work? I have honestly never heard this in 2 years of doing Raspberry Pi, after looking at tons of documentation and web sites. This wouldn’t surprise me, but I feel like it should be much better documented, given that it’s pretty much the first and biggest hurdle to getting things to work on a new image.
Not in /boot, but the boot partition of the device named "boot".
Re: Raspberry Pi WLAN setup
#40I'm building a gift for someone else that uses a RasPi internally, and thus needed a user friendly way for them to configure its WiFi connection. It's been ... quite the adventure (mostly because I'm dumb). My first idea was to put an OLED and a rotary encoder on the box. That way they can do a special dance on the button to enter setup mode, scroll through a list of wifi networks, and then tediously scroll through l…