OpenWRT: Setup OLSR via Web

From OnnoWiki
Jump to navigation Jump to search

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