Skip to main content

A tool to fix IP conflicts between Deutsche Bahn WIFI and Ubuntu/Docker

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fix_db_wifi-0.1.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fix_db_wifi-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file fix_db_wifi-0.1.2.tar.gz.

File metadata

  • Download URL: fix_db_wifi-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for fix_db_wifi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4f0333ee0dfe8d6013c7ab20a25ad3ff57ca1bed8f010ad3797dcde7bfba8627
MD5 aed56b94313f714bba1c77975cb647d6
BLAKE2b-256 86ba2c5be6ddd6efcda23f1445bab20cfbd471251b62969db72583b019171cc9

See more details on using hashes here.

File details

Details for the file fix_db_wifi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fix_db_wifi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for fix_db_wifi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f54b383e467aedb5240e311fe748e716ae52aeda96e55ac6d2e3a282ec8ba3ab
MD5 c35ee80c7efdef172f94c9215c7dc964
BLAKE2b-256 320b8ea79f673c7607249a896042d6c708c7e4173be3f83bc182950a3cb0b0a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page