Skip to content

Setting up Internet

Un1q32 edited this page Oct 31, 2025 · 1 revision

To make the internet card work, run the following commands. It is recommended to setup a hard drive first.

IMPORTANT: Replace <internet card device> with the device that represents the internet card. If there are no network cards inserted and only one internet card, this will be eth0. If there are one or more network cards inserted they will be initialized in order from top to bottom in the computer inventory, so if there is a network card in card slot 1, and an internet card in card slot 2, the internet card will be eth1.

Run the following command after every reboot, you can create an init script to do this for you:

ip link set <internet card device> up && ip addr add 192.168.2.1/30 dev <internet card device> && ip route add default via 192.168.2.2

Run this command once per computer:

echo nameserver 1.1.1.1 > /etc/resolv.conf

Now the internet card will work, and programs like curl and wget should be able to access the internet.

Clone this wiki locally