Skip to content

Network

szorfein edited this page Jun 14, 2021 · 4 revisions

Network

Here how you can enable the network on.

Wifi

Found your wifi card.

# ip a
---
5: wlan0: ---

Start/Enable the iwd daemon:

# systemctl start iwd
# systemctl enable iwd

Use iwctl to connect on your wifi box

# iwctl --passphrase passphrase station wlan0 connect SSID

Ethernet

Ethernet should work automatically if your kernel module is loaded.

Test

# ping -c1 gentoo.org

Customize

You can customize systemd-network, just take in files at:

  • /etc/systemd/network/*.network

For DNS, quad9 is used by default with DNS over HTTPS:

  • /etc/systemd/resolved.conf
Clone this wiki locally