armbian固定ip

/ 0评 / 0

手动改/etc/network/interfaces,例如如下

# Wired adapter #1
auto eth0
allow-hotplug eth0
no-auto-down eth0
# iface eth0 inet dhcp
iface eth0 inet static
hwaddress 12:34:56:78:9A:BC
address 192.168.1.202
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注