Skip to content

Monitors your Wifi to keep you logged in and resets your Wifi, if your data is drained

License

Notifications You must be signed in to change notification settings

sistason/db_wlan_manager

Repository files navigation

Deutsche Bahn Wlan Manager

This program will monitor your wireless, and keep you logged into the different wlans of the DB

What's working?

  • Keeps you logged in
  • Keeping track of your spent data. Wifis:
    • WIFIOnICE/WIFI@DB (ICE-Wlan National?)
    • DBLounge (Lounge im Bahnhof)
    • CDWifi (Wifi in Czech-Trains)
    • Wifi@DB (Sammel-Wlan verschiedener Icomera-User)
      • not yet implemented

What's not yet working?

  • International/some ICEs have a JSON-API for quota. I did not ride enough in those...
  • "Free @Bahnhofs Wlan"-Ding?

How do you use it?

Start with:

python3 manager.py [ssid]

Use the -b flag for batch mode, which means it only tries to log you in and terminate. It will check the SSID automatically via ìw, but it can be fixed via an argument.

Network-Manager

To use it with network-manager, go to the network-manager directory and sudo ./install.sh If you connect with network-manager to a DB wifi, the tool will start in the background automatically and log the output to /var/log/dbwifi.

Dependencies

  • python3-dnspython
  • python3-bs4 (beautifulsoup)

Install Dependencies on Ubuntu

sudo apt-get install python3 python3-bs4 python3-dnspython

About

Monitors your Wifi to keep you logged in and resets your Wifi, if your data is drained

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •