[Berlin-wireless] olsrd config in kamikaze trunk

Goetz Fischer g.fischer
So Nov 4 18:53:00 CET 2007


Hi,
gehört eigentlich hier nicht wirklich hin, weiß aber nicht wer S50olsrd
bearbeitet.
In /etc/config/olsr habe ich
config "olsr" "general"
        option DebugLevel       '0'
        option IpVersion        '4'
        option AllowNoInt       'yes'
        option Pollrate '0.025'
        option TcRedundancy     '2'
#       option NatThreshold     '0.9'
        option MprCoverage      '7'
        option LinkQualityFishEye       '1'
        option LinkQualityWinSize       '100'
        option LinkQualityDijkstraLimit '0 9.0'
        option LinkQualityLevel '2'
        option UseHysteresis    'no'

#config "LoadPlugin" "arprefresh"
#       option Library  'olsrd_arprefresh.so.0.1'

#config "LoadPlugin" "dyn_gw_plain"
#       option Library  'olsrd_dyn_gw_plain.so.0.4'

config "LoadPlugin" "nameservice"
        option Library  'olsrd_nameservice.so.0.3'
        option name     'sven-ola-gs'
        option hosts_file       '/var/etc/hosts'
        option suffix   '.olsr'
        option latlon_infile    '/var/run/latlon.txt'

config "LoadPlugin" "txtinfo"
        option Library  'olsrd_txtinfo.so.0.1'
        option Accept   '127.0.0.1'

config "Interface" "ath1"
        option HelloInterval    '6.0'
        option HelloValidityTime        '108.0'
        option TcInterval       '4.0'
        option TcValidityTime   '324.0'
        option MidInterval      '18.0'
        option MidValidityTime  '324.0'
        option HnaInterval      '18.0'
        option HnaValidityTime  '108.0'

Beim starten wird dann auch /var/etc/olsrd.conf gefüllt aber *ohne* den
Interfacebereich und somit startet olsrd nicht.

root at OpenWrt:/tmp$ uci show|grep olsr
olsr.general=olsr
olsr.general.DebugLevel=0
olsr.general.IpVersion=4
olsr.general.AllowNoInt=yes
olsr.general.Pollrate=0.025
olsr.general.TcRedundancy=2
olsr.general.MprCoverage=7
olsr.general.LinkQualityFishEye=1
olsr.general.LinkQualityWinSize=100
olsr.general.LinkQualityDijkstraLimit=0 9.0
olsr.general.LinkQualityLevel=2
olsr.general.UseHysteresis=no
olsr.nameservice=LoadPlugin
olsr.nameservice.Library=olsrd_nameservice.so.0.3
olsr.nameservice.name=sven-ola-gs
olsr.nameservice.hosts_file=/var/etc/hosts
olsr.nameservice.suffix=.olsr
olsr.nameservice.latlon_infile=/var/run/latlon.txt
olsr.txtinfo=LoadPlugin
olsr.txtinfo.Library=olsrd_txtinfo.so.0.1
olsr.txtinfo.Accept=127.0.0.1
olsr.ath1=Interface
olsr.ath1.HelloInterval=6.0
olsr.ath1.HelloValidityTime=108.0
olsr.ath1.TcInterval=4.0
olsr.ath1.TcValidityTime=324.0
olsr.ath1.MidInterval=18.0
olsr.ath1.MidValidityTime=324.0
olsr.ath1.HnaInterval=18.0
olsr.ath1.HnaValidityTime=108.0
wireless.cfg4.ssid=olsr.freifunk.net



Götz





Mehr Informationen über die Mailingliste Berlin