Sabtu, 27 April 2013

Connect LAN

LAN Connection

GUI Mode
static ip
start menu -> internet -> wicd
pilih advanced settings di setiap access point / device.
dhcp ip
langsung klik connect di setiap access point / device.

Text mode (terminal / konsole)
static ip

Code:
# nano /etc/network/interfaces
cari dan delete untuk ip dhcp, contoh device eth0
Code:
iface eth0 inet dhcp
tambahin baris berikut dan edit sesuain interface dan ip, contoh device eth0 :
Code:
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
save DNS info (contoh, DNS google)
Code:
# echo nameserver 8.8.8.8
restart network service
Code:
# service networking restart
test internet
Code:
# host google.com
dhcp ip
contoh device eth0
Code:
# dhclient eth0
contoh device wlan0
Code:
# dhclient wlan0


Tidak ada komentar:

Posting Komentar