Wifi: Difference between revisions
Jump to navigation
Jump to search
(add docker fix instructions) |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
'''Protospace''' - most people use this one, the password is displayed on various signs around the space | '''Protospace''' - most people use this one, the password is displayed on various signs around the space | ||
'''PS-makers''' - | '''PS-makers''' - this one requires your Spaceport username and password | ||
'''PS-guest''' - | '''PS-guest''' - this is for guests and limits their access to out LAN | ||
'''PS-infrastructure''' - | '''PS-infrastructure''' - this one is for lockouts and other IoT devices at Protospace | ||
=== Resolve Docker DNS Hijacking === | ===Resolve Docker DNS Hijacking=== | ||
If you are one of the | 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 | Edit <code>/lib/systemd/system/docker.service</code>, replace the <code>ExecStart</code> line with: | ||
ExecStart=/usr/bin/dockerd --bip=192.168.3.1/24 -H fd:// --containerd=/run/containerd/containerd.sock | ExecStart=/usr/bin/dockerd --bip=192.168.3.1/24 -H fd:// --containerd=/run/containerd/containerd.sock | ||
Reload the config: | Reload the config: | ||
Line 18: | Line 18: | ||
Restart docker: | Restart docker: | ||
sudo service docker restart | sudo service docker restart | ||
Confirm it worked with | Confirm it worked with <code>ip addr show docker0</code>, 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 |
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