Linux Tutorial by Adit

Change interfaces

nano /etc/network/interfaces //open file
//add this
allow-hotplug enp0s8
iface enp0s8 inet static
address [ip]/[sm] //ex: 192.168.21.1/24
netmask [ip] //ex: 255.255.255.0
gateway [ip] //ex: 192.168.21.1
//reset network
systemctl restart networking

Setting isc-dhcp-server

nano /etc/default/isc-dhcp-server //open file
interfaces="enp0s8" //change this

Change repository

nano /etc/apt/sources.list //open file
//ganti ke repo sekolah