This question already has an answer here:
- Connect to public wifi hotspot 3 answers
I’m struggling setting wifi for my new Raspberry Pi3 running Raspbian Stretch headless. I need to setup wlan0 to connect to a free hotspot that requires a specific login/passwd http POST sequence that can be done via wget.
The sample setup I’ve found was based on a NetworkManager/dispatcher.d shell script – but this does not seem recommended (supported?) on Raspbian/Stretch.
I’ve found another reference with pre-up, post-up & post-down statements in the interfaces file – which I understand should now stay almost empty…
Any advice on how to invoke a login script when the interface goes up? Or more generally, how to configure Wifi on public hotspot that require specific login sequence.
Thanks for any help/advice