Difference between revisions of "UBNT: olsr dengan backfire openwrt"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 68: | Line 68: | ||
===Set IP Address Interface Statik===  | ===Set IP Address Interface Statik===  | ||
| + | Edit  | ||
| + | |||
| + |  vi /etc/config/network  | ||
| + | |||
| + | Isi dengan  | ||
| + | |||
| + |  config 'interface' 'mesh'  | ||
| + |          option '_orig_ifname' 'ath0'  | ||
| + |          option '_orig_bridge' 'false'  | ||
| + |          option 'proto' 'static'  | ||
| + |          option 'ipaddr' '172.16.100.1'  | ||
| + |          option 'netmask' '255.255.0.0'  | ||
| + |          option 'dns' '8.8.8.8'  | ||
===Konfigurasi olsrd.conf===  | ===Konfigurasi olsrd.conf===  | ||
Revision as of 17:15, 21 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/backfire/10.03.1/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
 
opkg install luci luci-app-olsr luci-app-olsr-viz luci-app-olsr-services
Konfigurasi
Login ke Web OpenWRT menggunakan password root yang sudah di set sebelumnya
Prinsip Konfigurasi Yang Harus Dilakukan
- Set Wireless menjadi ad-hoc
 - Set IP Address Interface Wireless
 - Konfigurasi olsrd.conf
 - Masukan olsrd di rc.local
 
Terus terang ini semua lebih gampang dilakukan melalui shell jadi lakukan
ssh root@ip-address-ubnt
Set Wireless Interface Menjadi Ad-Hoc
Set IP Address Interface Statik
Edit
vi /etc/config/network
Isi dengan
config 'interface' 'mesh'
        option '_orig_ifname' 'ath0'
        option '_orig_bridge' 'false'
        option 'proto' 'static'
        option 'ipaddr' '172.16.100.1'
        option 'netmask' '255.255.0.0'
        option 'dns' '8.8.8.8'
Konfigurasi olsrd.conf
Masukan olsrd di rc.local
Edit
vi /etc/rc.local
Isi dengan
/usr/sbin/olsrd -f /etc/olsrd.conf
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
- UBNT
 - UBNT: Teknik Recovery
 - UBNT: Upload Firmware
 - UBNT: Rebuild Firmware
 - UBNT: firmware dengan OLSR
 - UBNT: openwrt
 - UBNT: olsr dengan openwrt
 - UBNT: olsr dengan kamikaze openwrt
 - UBNT: olsr dengan backfire openwrt
 - UBNT: UniFi
 - UBNT: UniFi Konfigurasi Awal
 - UBNT: UniFi Manajemen HotSpot
 - UBNT: OLSR Pembuatan Firmware
 - UBNT: OLSR Konfigurasi
 - OLSR - di UBNT