Difference between revisions of "OpenWRT: Mikrotik RB433"

From OnnoWiki
Jump to navigation Jump to search
Line 5: Line 5:
 
  passwd
 
  passwd
  
'''PENTING:''' Aktifkan semua wlan
+
Aktifkan semua wlan
  
 
  ifconfig wlan0 up
 
  ifconfig wlan0 up
Line 27: Line 27:
 
Untuk memastikan semua Interface wlan up dan di konfigurasi.
 
Untuk memastikan semua Interface wlan up dan di konfigurasi.
  
Edit
+
'''PENTING:'''  Edit
  
 
  /etc/config/wireless
 
  /etc/config/wireless

Revision as of 14:35, 23 December 2013

Konfigurasi Minimal Agar Aman

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