其他分享
首页 > 其他分享> > armbian静态ip设置

armbian静态ip设置

作者:互联网

cp /etc/network/interfaces /etc/network/interfaces.backup
sudo nano /etc/network/interfaces
# Ethernet adapter 0
auto eth0
allow-hotplug eth0
#no-auto-down eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
#dns-nameservers 1.1.1.1 1.0.0.1
reboot

 

标签:1.1,etc,静态,ip,interfaces,192.168,armbian,network,eth0
来源: https://www.cnblogs.com/xiaobawangoo/p/15266190.html