[Olsr-users] [HELP]how to use OpenWrt olsrd mesh

楊善文 (spam-protected)
Thu Jun 6 12:25:14 CEST 2013


i use this platform Atheros AR9344, and want to start wireless mesh feature.
And use OpenWrt Environment, my wifi interface is wlan0 and set static
ip:10.0.0.1.

this is my olsrd.conf:
===============================================
DebugLevel      0
IpVersion       4
ClearScreen     yes

Hna4
{
# My home LAN
10.0.0.0  255.255.255.0
}

AllowNoInt      yes
UseHysteresis   yes

# Hysteresis parameters
HystScaling     0.50
HystThrHigh     0.80
HystThrLow      0.30


LinkQualityLevel        0
Pollrate        0.05
NicChgsPollInt  3.0

Interface "wlan0"
{
AutoDetectChanges            yes
}

LoadPlugin "olsrd_httpinfo.so.0.1"
{
PlParam         "port"  "1979"
PlParam         "Net"   "0.0.0.0 0.0.0.0"
}

LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam         "port"  "9090"
PlParam         "accept"        "0.0.0.0"
PlParam         "accept"        "127.0.0.1"
}
===============================================



This is my file /etc/config/olsrd:
===============================================
config olsrd
        option config_file '/etc/olsrd.conf'
        option IpVersion '4'

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

config LoadPlugin
        option library 'olsrd_dyn_gw.so.0.5'
        option ignore '0'

config LoadPlugin
        option library 'olsrd_httpinfo.so.0.1'
        option port '9090'
        list Net '10.0.0.0 255.255.255.0'
        option ignore '0'

config LoadPlugin
        option library 'olsrd_nameservice.so.0.3'
        option ignore '0'
config LoadPlugin
        option library 'olsrd_txtinfo.so.0.1'
        option port '9090'
        option accept '127.0.0.1'
        option ignore '0'

config Interface
        option ignore '0'
        option interface 'mesh'
        option Mode 'mesh'

config InterfaceDefaults

config LoadPlugin
        option library 'olsrd_pgraph.so.1.1'
        option ignore '0'

config LoadPlugin
        option library 'olsrd_jsoninfo.so.0.0'
        option ignore '0'

config LoadPlugin
        option library 'olsrd_p2pd.so.0.1.0'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_sgwdynspeed.so.1.0.0'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_pud.so.1.1.0'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_watchdog.so.0.1'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_secure.so.0.6'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_bmf.so.1.7.0'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_dyn_gw_plain.so.0.4'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_dot_draw.so.0.3'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_mdns.so.1.0.1'
        option ignore '1'
=============================================


This is my /etc/config/wireless:
=============================================
config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11ng'
        option path 'platform/ar934x_wmac'
        option htmode 'HT20'
        list ht_capab 'LDPC'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'TX-STBC'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option txpower '27'
        option country 'US'
config wifi-iface
        option device 'radio0'
        option encryption 'none'
        option wps_pushbutton '1'
        option ssid 'OLSR_test1'
        option mode 'adhoc'
        option bssid '00:00:00:FF:FF:01'
        option network 'mesh wlan'
========================================

Now i have several devices, i want to connect together.
when i exec /etc/init.d/olsrd start, and seen't error msg.
But when i see WebGUI, i sawn't any device connect.
And has a error msg in OLSR statistic page:
OLSR Daemon

Unable to connect to the OLSR daemon!

Make sure that OLSRd is running, the "jsoninfo" plugin is loaded,
configured on port 9090 and accepts connections from "127.0.0.1".

But i always findn't reason. And also not know this msg when another
node/device connect or not.  How i can to do and solve this problem?

Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20130606/8e7ac2b5/attachment.html>


More information about the Olsr-users mailing list