| NETWORK(7) | Miscellaneous Information Manual | NETWORK(7) |
network — bringing
up the network in the rawnix installer
The installer starts no network service by itself: not
dhcpcd(8), not
wpa_supplicant(8), not the time daemon. Each is
started by hand. The services are installed, only not enabled, so
sv up name works too.
The install needs a working connection to rsync.rawnix.org.
# ip linklists the network interfaces. Wired ones are typically called
eth0 or
enp..., wireless ones
wlan0 or
wlp....
# dhcpcd eth0dhcpcd(8) gets an address, a route and name servers, and writes them to /etc/resolv.conf. Without an interface name it configures every interface it finds.
Write the network's name and passphrase to a configuration file, start wpa_supplicant(8) on it, then get an address:
# wpa_passphrase "SSID" "passphrase" > /tmp/wpa.conf # wpa_supplicant -B -i wlan0 -c /tmp/wpa.conf # dhcpcd wlan0
The installer carries firmware only for a few USB wireless adapters (Ralink rt73 and rt2870, Realtek rtl8192c, rtl8192cu and rtl8192du). Other adapters that need firmware do not come up.
# ip link set eth0 up # ip addr add 192.0.2.10/24 dev eth0 # ip route add default via 192.0.2.1
/etc/resolv.conf already names two public name servers, 1.1.1.1 and 9.9.9.9; edit it if they are not reachable from this network.
# ip addr # ping -c 3 rawnix.org
installation(7), dhcpcd(8), ip(8), wpa_passphrase(8), wpa_supplicant(8)
| September 27, 2026 | setup 1.0 |