Difference between revisions of "Armbian: Cara Merubah IP Address Armbian 20.10"

From Catatan IBM
Jump to navigation Jump to search
(Created page with "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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===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/
Ubah file 'interfaces' yang berada di /etc/network/
  nano /etc/network/interfaces
  nano /etc/network/interfaces
Line 24: Line 35:
   
   
  # Wired adapter #1
  # Wired adapter #1
  allow-hotplug eth0
  #allow-hotplug eth0
  #no-auto-down eth0
  #no-auto-down eth0
  #iface eth0 inet dhcp
  #iface eth0 inet dhcp
auto eth0
  iface eth0 inet static
  iface eth0 inet static
  address 192.168.1.100
  address 192.168.0.99
  netmask 255.255.255.0
  netmask 255.255.255.0
  gateway 192.168.1.1
  gateway 192.168.0.254
  dns-nameservers 192.168.1.1
  dns-nameservers 8.8.8.8,8.8.4.4
  #      hwaddress ether # if you want to set MAC manually
  #      hwaddress ether # if you want to set MAC manually
  #      pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
  #      pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838

Latest revision as of 05:44, 18 January 2023

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