This connector intends to automate the process of logging in into the public wifi inside of an IC /ICE of the German railways. The adapter enables does enable you to choose and keep a custom DNS server.
The script should be usable on most Linux systems, at least if the following requirements are met:
- bash
- ip
- dig
The script can speed up the process of logging into the ice wifi greatly. To get the script working under Android follow these steps:
- Install the terminal emulator Termux
- Install the Termux Widget Extension
- Install dependencies: Open Termux and run command:
pkgs install -y dnsutils wget
- Download the script in the
~/.shortcuts/
folder-
How to download the script in the folder
-
Open Termux and enter the following commands:
cd ~/.shortcuts
wget https://gist.github.com/anjomro/acfa273fbf4fcd605f4c63bf86e9d234/raw/6455886ac3e993f4cd3ba9313865d73375905083/wifionice-autoconnect.sh
-
-
- Create Home Screen Widget, select script (You may need to give additional permissions for termux (
Settings/Apps/Termux/Permissions/Display over other apps
) - To run script and login into ICE wifi just click the icon on the homescreen