Difference between revisions of "RockpiS/network-management"
< RockpiS
(→Introduction) |
|||
Line 3: | Line 3: | ||
{{Languages|rockpiS/dev/usbnet}} | {{Languages|rockpiS/dev/usbnet}} | ||
− | [[rockpiS | ROCK Pi S]] > [[RockpiS/network-management | | + | [[rockpiS | ROCK Pi S]] > [[RockpiS/network-management | Network Management]] |
This guide describes how to manage the network on ROCK Pi S. | This guide describes how to manage the network on ROCK Pi S. |
Revision as of 11:58, 7 May 2020
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