Skip to content

Simple command-line tool to resolve IP address conflicts between Deutsche Bahn WiFi and Ubuntu (with Docker networks)

Notifications You must be signed in to change notification settings

fogx/fix_db_wifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fix DB WiFi

fix-db-wifi is a simple command-line tool to resolve IP address conflicts between Deutsche Bahn WiFi and Docker networks. Both Deutsche Bahn WiFi and Docker use the 172.18.0.0/16 address space by default, which can cause connectivity issues.

Modes

This tool has two modes:

--temporary (default)

remove all Docker networks in the conflicting address space

--permanent

When run in permanent mode, the tool will modify Docker's configuration file (/etc/docker/daemon.json) to change the default address pool to 192.168.0.0/16, and then restart Docker.

Usage

To install fix-db-wifi, use pip in your terminal:

pip install fix_db_wifi

Afterwards you can run the tool using

fix-db-wifi

or

fix-db-wifi --permanent

Please note that because of the changes it makes, fix-db-wifi must be run with root privileges. If you have any problems, feel free to open an issue. Original solution pulled from here

About

Simple command-line tool to resolve IP address conflicts between Deutsche Bahn WiFi and Ubuntu (with Docker networks)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages