Difference between revisions of "OpenWRT: Mikrotik RB433"

From OnnoWiki
Jump to navigation Jump to search
(New page: ==Referensi== * http://wiki.openwrt.org/toh/mikrotik/rb433 ==Pranala Menarik==)
 
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Konfigurasi Minimal agar OpenWRT di RB433 jalan dengan baik==
  
==Referensi==
+
Set root password
  
* http://wiki.openwrt.org/toh/mikrotik/rb433
+
passwd
 +
 
 +
Aktifkan semua wlan
 +
 
 +
ifconfig wlan0 up
 +
ifconfig wlan1 up
 +
ifconfig wlan2 up
 +
 
 +
Pastikan wlan nyala menggunakan perintah
 +
 
 +
iwconfig
 +
 
 +
 
 +
Melalui Interface Web http://192.168.1.1/ Masuk ke
 +
 
 +
Administration > Network > LAN > Connect
 +
 
 +
Administration > Network > Wifi
 +
      Generic MAC80211 802.11abgn (radio0) ENABLE
 +
      Generic MAC80211 802.11abgn (radio1) ENABLE
 +
      Generic MAC80211 802.11abgn (radio2) ENABLE
 +
 
 +
Untuk memastikan semua Interface wlan up dan di konfigurasi.
 +
 
 +
'''PENTING:'''  Edit
 +
 
 +
/etc/config/wireless
 +
 
 +
Pastikan semua
 +
 
 +
option disabled '0'
 +
 
 +
 
 +
Jika wlan tidak di aktifkan di awal, seringkali pada saat konfigurasi lebih lanjut jadi tidak terdeteksi.
 +
 
 +
 
 +
 
 +
 
 +
Reboot melalui terminal
 +
 
 +
reboot
 +
 
 +
==Konfigurasi MESH melalui Web Interface==
 +
 
 +
Administration > Freifunk > Basic Settings
 +
      Hostname  namemesin
 +
 
 +
Administration > Freifunk > Mesh Wizard > radio0
 +
        Channel  1
 +
        Mesh IP  10.x.x.x
 +
 
 +
Network > Interfaces > Wireless0 > Edit
 +
        IPv4 Netmask  255.0.0.0
 +
 
 +
Network > Wifi > radio0 > Edit
 +
        Channel        1
 +
        Transmit Power 20dBm 100mW
 +
        ESSID          MESH
 +
        Mode          Ad-Hoc
 +
        BSSID          02:CA:FF:EE:BA:BE
 +
 
 +
Services > OLSR > HNA Announcements
 +
        192.168.x.x 255.255.255.0
 +
 
 +
Services > OLSR > Plugins
 +
 
 +
 
 +
==Konfigurasi /etc/config/olsrd==
 +
 
 +
config olsrd 'olsrd'
 +
        option IpVersion '4'
 +
        option RtTable '111'
 +
        option RtTableDefault '112'
 +
 +
config LoadPlugin 'olsrd_arprefresh'
 +
        option library 'olsrd_arprefresh.so.0.1'
 +
        option ignore '0'
 +
 +
config LoadPlugin 'olsrd_nameservice'
 +
        option library 'olsrd_nameservice.so.0.3'
 +
        option latlon_file '/var/run/latlon.js'
 +
#      option hosts_file '/var/etc/hosts.olsr'
 +
        option hosts_file '/etc/hosts'
 +
        option sighup_pid_file '/var/run/dnsmasq.pid'
 +
        option services_file '/var/run/services_olsr'
 +
        option suffix '.olsr'
 +
        option ignore '0'
 +
        option interval '120'
 +
        list name 'base-densurta'
 +
 +
config LoadPlugin 'olsrd_txtinfo'
 +
        option library 'olsrd_txtinfo.so.0.1'
 +
        option accept '0.0.0.0'
 +
        option ignore '0'
 +
 +
config InterfaceDefaults 'InterfaceDefaults'
 +
        option Ip4Broadcast '255.255.255.255'
 +
 +
config LoadPlugin 'olsrd_watchdog'
 +
        option library 'olsrd_watchdog.so.0.1'
 +
        option file '/var/run/olsrd.watchdog'
 +
        option interval '30'
 +
        option ignore '0'
 +
 +
config LoadPlugin 'olsrd_jsoninfo'                 
 +
        option library 'olsrd_jsoninfo.so.0.0'     
 +
        option ignore '0'                           
 +
                                                     
 +
config Interface 'wireless0'                       
 +
        option interface 'wireless0'               
 +
                                                     
 +
config LoadPlugin                                   
 +
        option library 'olsrd_pgraph.so.1.1'       
 +
        option ignore '0'                           
 +
                                                     
 +
config LoadPlugin                                   
 +
        option library 'olsrd_httpinfo.so.0.1'     
 +
        option ignore '1'                   
 +
                                             
 +
config LoadPlugin                           
 +
        option library 'olsrd_quagga.so.0.2.2'
 +
        option ignore '1'                   
 +
                                             
 +
config LoadPlugin                           
 +
        option library 'olsrd_bmf.so.1.7.0' 
 +
        option ignore '1'                   
 +
                                             
 +
config LoadPlugin                           
 +
        option library 'olsrd_dot_draw.so.0.3'
 +
        option ignore '0'                   
 +
                                                   
 +
config LoadPlugin                                 
 +
        option library 'olsrd_pud.so.1.1.0'       
 +
        option ignore '1'                         
 +
                         
 +
config LoadPlugin                                   
 +
        option library 'olsrd_sgwdynspeed.so.1.0.0' 
 +
        option ignore '0'                           
 +
                                                     
 +
config LoadPlugin                                   
 +
        option library 'olsrd_dyn_gw_plain.so.0.4' 
 +
        option ignore '1'                           
 +
                                             
 +
config LoadPlugin                           
 +
        option library 'olsrd_p2pd.so.0.1.0'     
 +
        option ignore '1'                         
 +
                                                   
 +
config LoadPlugin                           
 +
        option library 'olsrd_secure.so.0.6'     
 +
        option ignore '1'                       
 +
                                                 
 +
config LoadPlugin                           
 +
        option library 'olsrd_dyn_gw.so.0.5' 
 +
        option ignore '0'                   
 +
                                             
 +
config LoadPlugin                                 
 +
        option library 'olsrd_mdns.so.1.0.1'     
 +
        option ignore '1'                         
 +
                                                   
 +
config Hna4                                       
 +
        option netaddr '192.168.247.0'           
 +
        option netmask '255.255.255.0'
  
 
==Pranala Menarik==
 
==Pranala Menarik==
 +
 +
* [[OpenWRT]]
 +
* [[OpenWRT: Download Firmware yang sudah jadi]]
 +
* [[OpenWRT: Source Repository Download]]
 +
* [[OpenWRT: Melihat Daftar Package]]
 +
 +
===Build Firmware===
 +
 +
* [[OpenWRT: Build Firmware]]
 +
* [[OpenWRT: Build Firmware Download Source Pendukung]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2]]
 +
* [[Buffalo]]
 +
* [[Buffalo: WZRHPG450H Cara Recovery]]
 +
* [[Buffalo: WZRHPG450H OpenWRT mengaktifkan setelah di flash]]
 +
* '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''RECOMMENDED'''
 +
* [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]]
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStation2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStationM2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Build Firmware Mikrotik RB433]]
 +
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT: Build Firmware Linksys WRT54GL]]
 +
 +
===APRX===
 +
 +
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2 untuk APRX]]
 +
 +
===IPv6===
 +
 +
* [[OpenWRT: IPv6]]
 +
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL Tanpa WebGUI]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG300NH2]]
 +
* [[OpenWRT IPv6: Setup tunnel ke tunnelbroker]]
 +
* [[OpenWRT IPv6: Konfigurasi]]
 +
* [[OpenWRT IPv6: Konfigurasi WAN6 dengan radvd]]
 +
 +
===Flash Firmware===
 +
 +
* [[OpenWRT: Flash Linksys WRT54GL]]
 +
* [[OpenWRT: Flash Linksys WRT160NL]]
 +
* [[OpenWRT: Flash Buffalo WZRHP450H]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash Buffalo WZRHP300N]]
 +
* [[OpenWRT: Flash UBNT NanoStation2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash UBNT NanoStation M2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash UBNT NanoStation Loco M2]]
 +
* [[OpenWRT: Flash UBNT Bullet M2]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash Mikrotik RB433]] '''RECOMMENDED'''
 +
* [[OpenWRT: Flash Mikrotik RB450]]
 +
 +
===Misc===
 +
 +
* [[OpenWRT: Setup WiFi]]
 +
* [[OpenWRT: Setup PPTP VPN Server]]
 +
* [[OpenWRT: Setup OLSR di UBNT via CLI]] '''RECOMMENDED'''
 +
* [[OpenWRT: Mikrotik RB433]] '''RECOMMENDED'''
 +
* [[OpenWRT: Setup OLSR Sederhana]]
 +
* [[OpenWRT: Setup OLSR via Web]] '''RECOMMENDED'''
 +
* [[OLSR - di OpenWRT]]
 +
* [[OpenWRT: 3G modem]]
 +
* [[OpenWRT: Build Firmware dengan 3G Modem Support]]
 +
* [[OpenWRT: Setup Firewall]]
 +
* [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]]
 +
* [[OpenWRT: OLSR nameservice plugin]]
 +
 +
===UBNT===
 +
 +
* [[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]]
 +
* [[OLSR - di Ubuntu]]
 +
* [[OpenWRT]]
 +
* [[OLSR: NAT di UBNT dengan OLSR]]

Latest revision as of 18:37, 23 December 2013

Konfigurasi Minimal agar OpenWRT di RB433 jalan dengan baik

Set root password

passwd

Aktifkan semua wlan

ifconfig wlan0 up
ifconfig wlan1 up
ifconfig wlan2 up

Pastikan wlan nyala menggunakan perintah

iwconfig


Melalui Interface Web http://192.168.1.1/ Masuk ke

Administration > Network > LAN > Connect
Administration > Network > Wifi
      Generic MAC80211 802.11abgn (radio0) ENABLE
      Generic MAC80211 802.11abgn (radio1) ENABLE
      Generic MAC80211 802.11abgn (radio2) ENABLE

Untuk memastikan semua Interface wlan up dan di konfigurasi.

PENTING: Edit

/etc/config/wireless

Pastikan semua

option disabled '0'


Jika wlan tidak di aktifkan di awal, seringkali pada saat konfigurasi lebih lanjut jadi tidak terdeteksi.



Reboot melalui terminal

reboot

Konfigurasi MESH melalui Web Interface

Administration > Freifunk > Basic Settings
      Hostname   namemesin
Administration > Freifunk > Mesh Wizard > radio0
       Channel   1
       Mesh IP   10.x.x.x
Network > Interfaces > Wireless0 > Edit
       IPv4 Netmask   255.0.0.0
Network > Wifi > radio0 > Edit
       Channel        1
       Transmit Power 20dBm 100mW 
       ESSID          MESH
       Mode           Ad-Hoc
       BSSID          02:CA:FF:EE:BA:BE
Services > OLSR > HNA Announcements
       192.168.x.x 255.255.255.0
Services > OLSR > Plugins


Konfigurasi /etc/config/olsrd

config olsrd 'olsrd'
        option IpVersion '4'
        option RtTable '111'
        option RtTableDefault '112'

config LoadPlugin 'olsrd_arprefresh'
        option library 'olsrd_arprefresh.so.0.1'
        option ignore '0'

config LoadPlugin 'olsrd_nameservice'
        option library 'olsrd_nameservice.so.0.3'
        option latlon_file '/var/run/latlon.js'
#       option hosts_file '/var/etc/hosts.olsr'
        option hosts_file '/etc/hosts'
        option sighup_pid_file '/var/run/dnsmasq.pid'
        option services_file '/var/run/services_olsr'
        option suffix '.olsr'
        option ignore '0'
        option interval '120'
        list name 'base-densurta'

config LoadPlugin 'olsrd_txtinfo'
        option library 'olsrd_txtinfo.so.0.1'
        option accept '0.0.0.0'
        option ignore '0'

config InterfaceDefaults 'InterfaceDefaults'
        option Ip4Broadcast '255.255.255.255' 

config LoadPlugin 'olsrd_watchdog'
        option library 'olsrd_watchdog.so.0.1'
        option file '/var/run/olsrd.watchdog'
        option interval '30'
        option ignore '0' 

config LoadPlugin 'olsrd_jsoninfo'                   
        option library 'olsrd_jsoninfo.so.0.0'       
        option ignore '0'                            
                                                     
config Interface 'wireless0'                         
        option interface 'wireless0'                 
                                                     
config LoadPlugin                                    
        option library 'olsrd_pgraph.so.1.1'         
        option ignore '0'                            
                                                     
config LoadPlugin                                    
        option library 'olsrd_httpinfo.so.0.1'       
        option ignore '1'                     
                                              
config LoadPlugin                             
        option library 'olsrd_quagga.so.0.2.2'
        option ignore '1'                     
                                              
config LoadPlugin                             
        option library 'olsrd_bmf.so.1.7.0'   
        option ignore '1'                     
                                              
config LoadPlugin                             
        option library 'olsrd_dot_draw.so.0.3'
        option ignore '0'                     
                                                   
config LoadPlugin                                  
        option library 'olsrd_pud.so.1.1.0'        
        option ignore '1'                          
                          
config LoadPlugin                                    
        option library 'olsrd_sgwdynspeed.so.1.0.0'  
        option ignore '0'                            
                                                     
config LoadPlugin                                    
        option library 'olsrd_dyn_gw_plain.so.0.4'   
        option ignore '1'                            
                                              
config LoadPlugin                             
        option library 'olsrd_p2pd.so.0.1.0'       
        option ignore '1'                          
                                                   
config LoadPlugin                             
        option library 'olsrd_secure.so.0.6'      
        option ignore '1'                         
                                                  
config LoadPlugin                             
        option library 'olsrd_dyn_gw.so.0.5'  
        option ignore '0'                     
                                              
config LoadPlugin                                  
        option library 'olsrd_mdns.so.1.0.1'       
        option ignore '1'                          
                                                   
config Hna4                                        
        option netaddr '192.168.247.0'             
        option netmask '255.255.255.0'

Pranala Menarik

Build Firmware

APRX

IPv6

Flash Firmware

Misc

UBNT