RockpiS/network-management
ROCK Pi S > ROCK Pi S Network Management
This guide describes how to manage the network on ROCK Pi S.
Introduction
Rockpis static address settings.First, install some dependency packages
sudo apt-get install netplan.io
Create the 01-netcfg.yaml file in the folder /etc/netplan. If there is no netplan folder, you need to create.
sudo mkdir /etc/netplan sudo touch /etc/netplan/01-netcfg.yaml
Add the following to the file 01-netcfg.yaml
rock@rockpis:/etc/netplan$ cat 01-netcfg.yaml network: version: 2 renderer: networkd ethernets: eth0: addresses: - 192.168.2.135/24 gateway4: 192.168.2.1 nameservers: search: [mydomain, otherdomain] addresses: [192.168.2.1, 255.255.255.0]
Execute the following command for the configuration to take effect
sudo netplan apply
then reboot,IP address is what you set.
Troubleshooting
- Refer Troubleshooting page
- Post your issue on the forum: https://forum.radxa.com/c/rockpiS