Wifi: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
(add docker fix instructions)
m (change to inline code)
Line 12: Line 12:
If you are one of the two people at Protospace that use Docker, ____ here's how to resolve it:
If you are one of the two people at Protospace that use Docker, ____ here's how to resolve it:


Edit `/lib/systemd/system/docker.service`, replace the `ExecStart` line with:
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 `ip addr show docker0`, it should output:
Confirm it worked with <code>ip addr show docker0</code>, it should output:
  placeholder
  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

Revision as of 05:20, 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, ____ 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