Untuk bisa setting IP, seorang user harus login sebagai root
atau super user dg perintah SU. Untuk memastikan lihat promptnya harus tanda pagar "#",
Cara Login ke root :
a) Login : user biasa b) Login : root
password... password..
$ SU [enter]
password..(root password)
#
Cara setting IP sementara :
#ifconfig[enter]
eth0-> 192.168.xxx.xxx broadcast 192.168.xxx.xxx
lo -> 127.0.0.1
atau
Cara setting IP
# ifconfig
# ifconfig eth0 192.168.1.1 network 255.255.255.0
# ifconfig[enter]
Setting IP secara permanen
a)Edit file interfaces menggunakan text editor(pico/nano/vim)
#pico /etc/network/interfaces [enter]
setelah itu,restart jaringan anda dg mengetik perintah :
# /etc/init.d/networking restart
setelah restart masuk kembali ke user root atau super user....
lalu cek IP anda dengan perintah :
#ifconfig[enter]
sekian postingan pertama saya...
Semoga bermanfaat....
1 komentar:
siipp....
suwon yo...
aku ngopy punya.mu...
buwat tgas skolah... hahaha... hehe.. yiha yiha...
Posting Komentar