Difference between revisions of "Mengkonfigurasi Interface di Ubuntu Shell"

From OnnoWiki
Jump to navigation Jump to search
(New page: Mengkonfigurasi Interface di Shell dapat melalui dua cara * Melalui Command Line * Mengedit file /etc/network/interfaces ==Melalui Command Line== Menggunakan perintah ifconfig eth0 19...)
 
Line 54: Line 54:
  
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
* [[Konfigurasi Jaringan]]

Revision as of 05:23, 25 January 2012

Mengkonfigurasi Interface di Shell dapat melalui dua cara

  • Melalui Command Line
  • Mengedit file /etc/network/interfaces

Melalui Command Line

Menggunakan perintah

ifconfig eth0 192.168.0.3 netmask 255.255.255.0

Untuk Wireless

iwconfig wlan0 essid namahotspot
iwconfig wlan0 mode managed

Untuk Scanning Wireless

iwlist scanning

Melalui /etc/network/interfaces

Edit file

vi /etc/network/interfaces

Untuk LAN

auto eth0
iface eth0 inet dhcp

Untuk WLAN

auto eth1
allow-hot plug eth1
iface eth1 inet dhcp
wireless-mode managed
wireless-essid NAMAHOTSPOT

Untuk WLAN menggunakan MESH

auto eth1
allow-hot plug eth1
iface eth1 inet static
address 172.16.1.2
broadcast 172.16.255.255
netmask 255.255.0.0
wireless-mode ad-hoc
wireless-channel 1
wireless-essid MESH
wireless-bssid 02:ca:ff:ee:ba:be

Pranala Menarik