Wifi: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:


===Resolve Docker DNS Hijacking===
===Resolve Docker DNS Hijacking===
If you are one of the two people at Protospace that use Docker, you'll notice DNS is broken is Protospace. Here's how to resolve it:
If you are one of the two people at Protospace that use Docker, you'll notice DNS is broken. Here's how to resolve it:


Edit <code>/lib/systemd/system/docker.service</code>, replace the <code>ExecStart</code> line with:
Edit <code>/lib/systemd/system/docker.service</code>, replace the <code>ExecStart</code> line with:

Revision as of 05:21, 8 December 2021

There are multiple Wifi networks at Protospace.

Protospace - most people use this one, the password is displayed on various signs around the space

PS-makers - ?

PS-guest - ?

PS-infrastructure - ?

Resolve Docker DNS Hijacking

If you are one of the two people at Protospace that use Docker, you'll notice DNS is broken. Here's how to resolve it:

Edit /lib/systemd/system/docker.service, replace the ExecStart line with:

ExecStart=/usr/bin/dockerd --bip=192.168.3.1/24 -H fd:// --containerd=/run/containerd/containerd.sock

Reload the config:

sudo systemctl daemon-reload

Restart docker:

sudo service docker restart

Confirm it worked with ip addr show docker0, it should output:

docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:67:1c:0b:9f brd ff:ff:ff:ff:ff:ff
inet 192.168.3.1/24 brd 192.168.3.255 scope global docker0
    valid_lft forever preferred_lft forever