Earlier quoted context omitted.
> You could make the same argument for other assisted headless installations: speakers, smart plugs, etc. That's true, but in those devices can be isolated from the internet by a firewall. Berrylan can't be, or it loses its utility. In order to talk to the app, Berrylan has to send packets to and receive packets from the internet. Also, even after the setup, most RaspPi applications entail having the computer continu…
Doesn't this just work over Bluetooth for the initial config? The internet isn't useful at this point because it isn't connected to a WLAN.
Raspberry Pi WLAN setup
51–60 of 86 posts
Re: Raspberry Pi WLAN setup
#52https://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.
Just out of curiosity, but why doesn't Raspberry Pi 3B support simultaneous broadcasting and receiving of Wi-Fi? I've seen multiple apps that swap between these modes (e.g. using broadcast mode to set up a captive portal) and then swapping to receiver mode, but never both at the same time. I've tried many times to configure this, all unsuccessfully. Is there some fundamental limitation with the underlying hardware th…
Re: Raspberry Pi WLAN setup
#53https://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.
Just out of curiosity, but why doesn't Raspberry Pi 3B support simultaneous broadcasting and receiving of Wi-Fi? I've seen multiple apps that swap between these modes (e.g. using broadcast mode to set up a captive portal) and then swapping to receiver mode, but never both at the same time. I've tried many times to configure this, all unsuccessfully. Is there some fundamental limitation with the underlying hardware th…
Re: Raspberry Pi WLAN setup
#54In a previous company we built a Bluetooth Low Energy server app into the embedded Raspberry Pi-like system. Long story short: 1. RPi broadcasts via BLE the wifi networks it can see 2. A ReactNative App lets the user choose the wifi network to connect to, pre-selected is the wifi network which the mobile is connected to 3. User enters wifi password 4. App sends it to RPI, still via BLE 5. RPi responds with IP address…
Hmm, using BLE to send your WPA2-PSK password? Isn't that insecure?
Re: Raspberry Pi WLAN setup
#55Earlier quoted context omitted.
Just out of curiosity, but why doesn't Raspberry Pi 3B support simultaneous broadcasting and receiving of Wi-Fi? I've seen multiple apps that swap between these modes (e.g. using broadcast mode to set up a captive portal) and then swapping to receiver mode, but never both at the same time. I've tried many times to configure this, all unsuccessfully. Is there some fundamental limitation with the underlying hardware th…
My understanding was that this always requires an entire second wifi module? On my big expensive desktop computer, I can only ever recieve or broadcast a wifi network, never both. Unless I install an additional wifi adapter.
I could be wrong, but I am fairly sure these phones only have a single Wi-Fi module.
[1] https://www.androidpolice.com/2018/11/03/pixel-3-3-xl-suppor...
Re: Raspberry Pi WLAN setup
#56In a previous company we built a Bluetooth Low Energy server app into the embedded Raspberry Pi-like system. Long story short: 1. RPi broadcasts via BLE the wifi networks it can see 2. A ReactNative App lets the user choose the wifi network to connect to, pre-selected is the wifi network which the mobile is connected to 3. User enters wifi password 4. App sends it to RPI, still via BLE 5. RPi responds with IP address…
Hmm, using BLE to send your WPA2-PSK password? Isn't that insecure?
This is a very similar situation to being able to access the device on the LAN over tcp/ip and needing to pass it a secret.
Re: Raspberry Pi WLAN setup
#57In a previous company we built a Bluetooth Low Energy server app into the embedded Raspberry Pi-like system. Long story short: 1. RPi broadcasts via BLE the wifi networks it can see 2. A ReactNative App lets the user choose the wifi network to connect to, pre-selected is the wifi network which the mobile is connected to 3. User enters wifi password 4. App sends it to RPI, still via BLE 5. RPi responds with IP address…
Hmm, using BLE to send your WPA2-PSK password? Isn't that insecure?
Re: Raspberry Pi WLAN setup
#58Earlier quoted context omitted.
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.
Re: Raspberry Pi WLAN setup
#59Earlier quoted context omitted.
Hmm, using BLE to send your WPA2-PSK password? Isn't that insecure?
BLE has support for encrypted communication so should be ok, at least in theory.