Wifi: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
(add details about wifi networks)
No 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. Here's how to resolve it:
If you are one of the three 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:

Latest revision as of 21:50, 7 March 2022

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 - this one requires your Spaceport username and password

PS-guest - this is for guests and limits their access to out LAN

PS-infrastructure - this one is for lockouts and other IoT devices at Protospace

Resolve Docker DNS Hijacking

If you are one of the three 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