OpenWRT: Setup OLSR Sederhana

From SpeedyWiki

Jump to: navigation, search

Contents

[edit] Setup Wireless MESH

Melalui Web

Administration > Network > Wifi > Scan

Klik pada jaringan MESH yang ada.


[edit] Setup Wireless IP Address Statik

Melalui Web

Administration > Network > Interfaces > Klik wireless interface
General Setup > Protocol > Static Address > IPv4 address > 10.x.x.x
General Setup > Protocol > Static Address > IPv4 netmask > 255.0.0.0

Pastikan IP address yang digunakan berbeda dengan teman-teman yang lain agar tidak tabrakan.

[edit] Setup Firewall untuk jadi gateway

Jika di perlukan agar proxy / NAT ke Internet bisa beroperasi dengan baik.

Melalui Web

Administation > Network > Firewall

Klik pada zone wireless

Advanced Setting > destination zones > klik WAN 


[edit] Setup OLSR menggunakan shell

Edit

vi /etc/olsrd.conf

Masukan

Hna4
{
#  192.168.0.0 255.255.255.0  - gateway ke 192.168.0.0/24
#  0.0.0.0 0.0.0.0            - gateway ke internet
}                                                                                

Hna6                                                                             
{                                                    
}

LoadPlugin "olsrd_nameservice.so.0.3"
{
}

LoadPlugin "olsrd_txtinfo.so.0.1"                                                
{                                                                                                 
    PlParam      "accept" "0.0.0.0"                                              
} 

InterfaceDefaults  
{                                                                                                      
}

Interface "wlan0"                                                 
{
     Mode "mesh"                                                                  
}

Edit

vi /etc/rc.local

Masukan

/etc/init.d/olsrd stop
olsrd -f /etc/olsrd.conf &

[edit] Pranala Menarik

[edit] Build Firmware

[edit] Flash Firmware

[edit] Misc

[edit] UBNT

Personal tools