Anda bisa settting IP melalui terimanal manager yaitu
dengan perintah :
Cek interface network :
$ ifconfig -a
atau
$ nmcli d show enp2s0
atau
$ nmcli dev status : jika status "unmanage" network manager mati, jika "manage" network manager hidup
Cek interface network :
$ ifconfig -a
atau
$ nmcli d show enp2s0
atau
$ nmcli dev status : jika status "unmanage" network manager mati, jika "manage" network manager hidup
Edit Interface dengan editor Nano :
$ nano /etc/network/interface
Isikan pada editor nano :
auto lo enp2s0
iface lo inet loopback
iface enp2s0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
Jika sudah, tekan tombol keyboard CTRL+X dan pilih Y (Yes)
Setting DNS :
$ sudo nano /etc/resolv.conf
Isikan pada nano editor :
8.8.8.8
8.8.4.4.
Jika sudah, tekan tombol keyboard CTRL+X dan pilih Y (Yes)
Restart IP yang telah di setting :
$ /etc/init.d/netwoking restart
$ nano /etc/network/interface
Isikan pada editor nano :
auto lo enp2s0
iface lo inet loopback
iface enp2s0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
Jika sudah, tekan tombol keyboard CTRL+X dan pilih Y (Yes)
Setting DNS :
$ sudo nano /etc/resolv.conf
Isikan pada nano editor :
8.8.8.8
8.8.4.4.
Jika sudah, tekan tombol keyboard CTRL+X dan pilih Y (Yes)
Restart IP yang telah di setting :
$ /etc/init.d/netwoking restart
No comments:
Post a Comment