CollabNet Guide: Difference between revisions

Jump to navigation Jump to search
Update guide
m (update e2g)
(Update guide)
{{code|
sudo systemctl restart systemd-networkd
}}
 
To make sure the bridge is started properly at system boot, run `sudo crontab -e` and add the following line to the bottom of the file that opens, then save it:
{{code|
@reboot sleep 10; ip link set collabnet up
}}
 
sudo apt-get purge -y ifupdown
sudo systemctl enable --now systemd-networkd
}}
 
We'll then disable systemd-resolved and set up a static DNS config
 
{{code|
# Systemd-resolved was removed in Debian 12, therefore if you are using Debian 12 or later you do not need to run this.
sudo systemctl disable --now systemd-resolved
sudo systemctl mask systemd-resolved
sudo rm /etc/resolv.conf # remove the symlink
sudo tee /etc/resolv.conf <<EOF
nameserver 1.1.1.1
nameserver 1.0.0.1
EOF
}}
 
{{code|
sudo curl 'https://computernewb.com/~elijah/dnsmasq.conf' -o /etc/dnsmasq.conf
}}
 
{{ombox
| type = speedy
| image = [[File:Ambox_important_red.svg|40px]]
| text = For the time being (a.k.a until [[User:Elijah|Elijah]] updates the file above), you also need to add these two lines to the bottom of `dnsmasq.conf`: {{code|
<nowiki>
server=1.1.1.1
server=1.0.0.1</nowiki>
}}
}}
 
Run the following command:
{{code|
wget https://e2guardian.numsys.eu/v5.5/e2debian_bookworm_V5.5.5_202404225r_20240509.deb # IF THERE'S A NEWER VERSION AVAILABLE AT https://e2guardian.numsys.eu/, USE THAT INSTEAD
sudo apt-get install ./e2debian_bookworm_V5.5.5_20240209.deb
}}
Set e2guardian to automatically restart in case something fails by editing `/`:
Install some other dependencies:
{{code|
useoriginalip = on
</nowiki>}}
{{ombox
| type = speedy
| image = [[File:Ambox_important_red.svg|40px]]
| text = If your router VM has 4GB of RAM or less, set the <code>httpworkers</code> option to <code>300</code> to avoid out-of-memory issues!
}}
 
Now open e2guardianf1.conf in an editor, then find and set the following values:

Navigation menu