niammuddin icon

Static IP Armbian

niammuddin | PRO | 04/14/19 03:32:23 PM UTC | 0 ⭐ | 998 👁️ | Never ⏰ | []
text |

1.09 KB

|

None

|

0 👍

/

0 👎

source /etc/network/interfaces.d/*
 # Wired adapter #1
#allow-hotplug eth0
#no-auto-down eth0
#iface eth0 inet dhcp
  #static IP
auto eth0 
iface eth0 inet static
address 192.168.150.10
netmask 255.255.255.0
gateway 192.168.150.1
dns-nameservers 8.8.8.8 8.8.4.4
 #	hwaddress ether # if you want to set MAC manually
#	pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
  # Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
# 
#allow-hotplug wlan0
#iface wlan0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off
 # Local loopback
auto lo
iface lo inet loopback

Comments