Wifi: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
(create page)
 
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
hello world
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 <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
Reload the config:
sudo systemctl daemon-reload
Restart docker:
sudo service docker restart
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