Skip to content

Instantly share code, notes, and snippets.

View fnordomat's full-sized avatar
🌴
On vacation

fnord fnordomat

🌴
On vacation
View GitHub Profile
@fnordomat
fnordomat / WIFIonICE.sh
Last active February 22, 2024 11:18
Automatic negotiation of a captive portal: connect to icomera wifi in DB ICE trains (Germany) without having to jump through hoops.
#!/bin/bash
# Deutsche Bahn / icomera AB offers "free wifi" (ESSID: "WIFIonICE") with internet access via
# mobile networks on some high-speed (ICE) trains.
#
# This takes care of the WIFIonICE captive portal.
#
# Please drop me a note if this script is insecure for some reason. It probably is.
#