Armbian: Cara Merubah IP Address Armbian 20.10

From Catatan IBM
Revision as of 05:44, 18 January 2023 by Ibm (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cara Pertama

ketikkan perintah berikut untuk konfigurasi armbian melalui gui

armbian-config

Cara Kedua

Ketik perintah berikut untuk rubah melalui user interface:

nmtui

Cara Ketiga

Ubah file 'interfaces' yang berada di /etc/network/

nano /etc/network/interfaces


Ubah Dari:

source /etc/network/interfaces.d/*

# Wired adapter #1
allow-hotplug eth0
no-auto-down eth0
iface eth0 inet dhcp
#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
#       hwaddress ether # if you want to set MAC manually
#       pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838

Menjadi:

source /etc/network/interfaces.d/*

# Wired adapter #1
#allow-hotplug eth0
#no-auto-down eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.0.99
netmask 255.255.255.0
gateway 192.168.0.254
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