User Tools

Site Tools


jpc:network_configuration:index

jPC Network Configuration

The jPC uses networkd to manage the operating system's network(s).

To query or broadly control network interfaces, use the networkctl utility.

To make changes to the network configuration, e.g. configuring a static IP address, edit the .network files in /etc/systemd/network/ directory. After making changes run sudo networkctl reload or reboot for the changes to take effect.

Static IP configuration example:

[Match]
Type=ether

[Network]
DHCP=no
LinkLocalAddressing=no

# Static IP address
[Address]
Address=192.168.0.1/24
Gateway=192.168.0.254

# Static link-local address for direct cable connection
[Address]
Address=169.254.1.1/16

The networkd's configuration documentation for more information.

WiFi

The jPC can support connectivity with WiFi networks using a USB WiFi dongle or device. See Choosing a USB WiFi Device for advice on selecting an appropriate make and model.

On the jPC, the WiFi subsystem is managed by the iNet Wireless Daemon (iwd). By default the iwd service is disabled, so if you need WiFi, just enable, and start it:

sudo systemctl enable iwd.service
sudo systemctl start iwd.service

With the iwd service running, you can then use the iwctl command to connect the jPC to a wireless network.

jpc/network_configuration/index.txt · Last modified: by 127.0.0.1