Difference between revisions of "UBNT: olsr dengan openwrt"

From OnnoWiki
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
Author: Xavier Martinez August 24th 2009
+
Sumber: http://wiki.ubnt.com/OLSR_on_OpenWrt
  
This procedure will show how to install, configure and monitor the OLSR routing protocol on a Ubiquiti device with OpenWrt already installed.
+
Tulisan ini menerangkan cara menginstalasi, konfigurasi dan monitor OLSR di Ubiquiti Device dengan OpenWRT yang di install.
Requirements
 
  
    - A computer running with a web browser installed (i.e. Mozilla Firefox, IExplorer, etc.) and a ssh client (i.e. putty)
 
    - A Ubiquiti device with OpenWrt already installed
 
    - An internet gateway to which both the device and the computer should be connected
 
  
Installing
+
==Kebutuhan==
Putty configuration screen
 
  
1. If not, set up a root password in the device:
+
* Komputer dengan Browser (mis. Firefox) dan ssh client.
telnet 192.168.1.1
+
* Ubiquity Device dengan OpenWRT yang sudah terinstalasi. Pastikan menggunakan kamikaze firmware
passwd
 
  
2. ssh into the device using putty or another client and the root password you've just entered
+
http://downloads.openwrt.org/snapshots/trunk/atheros/
  
3. update opkg.list
+
* Akses Interent yang berlaku untuk Device & Computer. Edit network pada OpenWRT UBNT agar sesuai dengan jaringan,
opkg update
 
  
4. install luci administration UI and olsr show
+
Edit Network
opkg install luci-admin-full olsrd-luci
 
Configure
 
OLSR configuration page in Luci UI
 
Package installation page in Luci UI
 
  
5. Log in into the Luci UI typing the address of the router in your favourite web browser and using the root password
+
vi /etc/config/network
  
6. Go to Services>OLSR and configure the daemon. Image show valid generic settings.
+
config interface lan
 +
        option ifname  eth0
 +
        option type    bridge
 +
        option proto    static
 +
        option ipaddr  192.168.0.10
 +
        option netmask  255.255.255.0
 +
        option gateway  192.168.0.222
  
7. You can install additional packages in System>Process. Luci compatible OLSR plugins start with olsr-luci-*. Then configure them in Services>OLSR>Plugins
+
Edit nameserver
Monitor
 
OLSR status page in Luci UI
 
  
8. Go to Status>OLSR and you'll find the "Neighbour Quality", "Neighbour Link Quality" and "ETX".
+
vi /etc/resolv.conf
  
The NQ parameter shows how we see the neighbour from 0 (very bad) to 1 (very good). The NLQ parameter shows how the neighbour sees us from 0 (very bad) to 1 (very good). The ETX is the global transmission quality parameter and goes from 1 to infinite. Good links have ETX values from 1 to 2, regular ones from 2 to 3 and bad ones have values greater than 3. The colours help identifying the link quality
+
nameserver 8.8.8.8
  
 +
==Instalasi==
 +
 +
* Pastikan kita sudah menset root password & akses ssh ke device
 +
* ssh ke device, misalnya
 +
 +
ssh root@192.168.1.1
 +
 +
* update opkg.list
 +
 +
opkg update
 +
 +
* install luci administration UI & olsr show
 +
 +
mkdir /root/tmp
 +
opkg --tmp-dir /root/tmp install luci
 +
 +
==Konfigurasi==
 +
 +
* Login ke Web OpenWRT menggunakan password root yang sudah di set sebelumnya
 +
 +
* Masuk ke Services>OLSR dan konfigurasi OLSR daemon.
 +
 +
* Paket tambahan bisa di install di System>Process. Luci compatible OLSR plugins start with olsr-luci-*. Then configure them in Services>OLSR>Plugins
 +
 +
==Monitoring==
 +
 +
Monitor OLSR status di Luci UI melalui Status>OLSR.
 +
Kita akan menemukan "Neighbour Quality", "Neighbour Link Quality" and "ETX".
 +
 +
Cara membacanya:
 +
 +
NQ parameter  0 (sangat jelek) s/d 1 (sangat baik)
 +
NLQ parameter  0 (sangat jelek) s/d 1 (sangat baik)
 +
ETX paremeter (global transmission quality) dari 1 s/d tak terhingga
 +
ETX antara 1-2 sambungan baik
 +
ETX antara 2-3 sambungan normal
 +
ETX di atas 3 sambungan tidak baik
  
 
==Referensi==
 
==Referensi==
  
 
* http://wiki.ubnt.com/OLSR_on_OpenWrt
 
* http://wiki.ubnt.com/OLSR_on_OpenWrt
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
Line 53: Line 82:
 
* [[UBNT: openwrt]]
 
* [[UBNT: openwrt]]
 
* [[UBNT: olsr dengan openwrt]]
 
* [[UBNT: olsr dengan openwrt]]
 +
* [[UBNT: olsr dengan kamikaze openwrt]]
 +
* [[UBNT: olsr dengan backfire openwrt]] '''RECOMMENDED'''
 
* [[UBNT: UniFi]]
 
* [[UBNT: UniFi]]
 +
* [[UBNT: UniFi Konfigurasi Awal]]
 +
* [[UBNT: UniFi Manajemen HotSpot]]
 +
* [[UBNT: OLSR Pembuatan Firmware]]
 +
* [[UBNT: OLSR Konfigurasi]]
 
* [[OLSR - di UBNT]]
 
* [[OLSR - di UBNT]]
 +
* [[OLSR - di Ubuntu]]
 +
* [[OpenWRT]]

Latest revision as of 07:58, 22 July 2012

Sumber: http://wiki.ubnt.com/OLSR_on_OpenWrt

Tulisan ini menerangkan cara menginstalasi, konfigurasi dan monitor OLSR di Ubiquiti Device dengan OpenWRT yang di install.


Kebutuhan

  • Komputer dengan Browser (mis. Firefox) dan ssh client.
  • Ubiquity Device dengan OpenWRT yang sudah terinstalasi. Pastikan menggunakan kamikaze firmware
http://downloads.openwrt.org/snapshots/trunk/atheros/
  • Akses Interent yang berlaku untuk Device & Computer. Edit network pada OpenWRT UBNT agar sesuai dengan jaringan,

Edit Network

vi /etc/config/network
config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   192.168.0.10
        option netmask  255.255.255.0
        option gateway  192.168.0.222

Edit nameserver

vi /etc/resolv.conf
nameserver 8.8.8.8

Instalasi

  • Pastikan kita sudah menset root password & akses ssh ke device
  • ssh ke device, misalnya
ssh root@192.168.1.1
  • update opkg.list
opkg update
  • install luci administration UI & olsr show
mkdir /root/tmp
opkg --tmp-dir /root/tmp install luci

Konfigurasi

  • Login ke Web OpenWRT menggunakan password root yang sudah di set sebelumnya
  • Masuk ke Services>OLSR dan konfigurasi OLSR daemon.
  • Paket tambahan bisa di install di System>Process. Luci compatible OLSR plugins start with olsr-luci-*. Then configure them in Services>OLSR>Plugins

Monitoring

Monitor OLSR status di Luci UI melalui Status>OLSR. Kita akan menemukan "Neighbour Quality", "Neighbour Link Quality" and "ETX".

Cara membacanya:

NQ parameter   0 (sangat jelek) s/d 1 (sangat baik)
NLQ parameter  0 (sangat jelek) s/d 1 (sangat baik)
ETX paremeter (global transmission quality) dari 1 s/d tak terhingga
ETX antara 1-2 sambungan baik
ETX antara 2-3 sambungan normal
ETX di atas 3 sambungan tidak baik

Referensi

Pranala Menarik