[Olsr-users] Looking for simple OLSRd2 config

Bernd Naumann (spam-protected)
Wed Apr 29 19:43:11 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/29/2015 07:17 PM, Henning Rogge wrote:
> On Wed, Apr 29, 2015 at 6:55 PM, Bernd Naumann <(spam-protected)>
> wrote:

>> ############################################### # cat
>> /etc/config/dlep_radio
> ... I don't think you need the dlep_radio at all.

Ok, I just followed the wiki. So I will disable dlep.

> 
>> ############################################### # cat
>> /etc/config/olsrd2 config global option 'failfast'       'no' 
>> option 'pidfile'        '/var/run/olsrd2.pid' option 'lockfile'
>> '/var/lock/olsrd2'
>> 
>> config log option 'syslog'         'true' option 'stderr'
>> 'true' option 'file'           '/var/log/olsrd2.log' option
>> 'info'           'all' option 'debug'          'all'
> 
> This will spam your logfile pretty quickly... don't complain when
> you have a few megabytes of log after a while.

OK :)

> 
>> config telnet option  'port'          '2009'
>> 
>> config olsrv2 list    'lan'           '::/0' # list 'lan'
>> '0.0.0.0/0'
>> 
>> config interface option 'ifname'         'loopback' #
>> option 'lan'            '10.0.2.1/24'
> 
> the "lan" option is not valid for the section "interface".

Thats the default config from the package. I have no f***ing clue what
I'm doing ;)

> 
> Maybe you are thinking about setting an IP address on the loopback
> in the network config?
> 
>> config interface list    'ifname'        'wlan0'
>> 
>> config interface list    'ifname'        'wan' option 'ignore'
>> '1' #       option 'rx_bitrate' '100M' #       option
>> 'tx_bitrate' '100M' #       option 'signal' '-20'
>> 
>> config interface list    'ifname'        'lan' option  'ignore'
>> '1' #       option 'rx_bitrate' '1G' #       option 'tx_bitrate'
>> '1G' #       option 'signal' '-10'
> 
> So you want both "lan" and "wan" a mesh interface?

That is also in the default config, and it's ignored... But I can
delete that interface config...

> 
>> ###############################################
>> 
>> 
>> dlep and olsrd2 start up via openwrt init.d scripts.
> 
> Why do you want to run dlep_radio?

Like I said, I don't know... For what I have understood from the wiki,
I had to compile it... but I can remove that, too.

> 
>> So my actual questions are:
>> 
>> * Where do I configure an ip-address? Via config/network (or
>> with `ip`), OR via config/olsrd2 ?
> 
> the idea is that you set the IP addresses via the network config. 
> Olsrd2 will monitor all its interfaces and automatically grab 
> addresses that are allowed (you can set patterns in the
> olsrd2-config what is allowed).

k, thx!

> 
> run "olsrd2 --schema=interface.ifaddr_filter" for the rules which 
> addresses will be included in Hellos and "olsrd2 
> --schema=olsrv2.routable" for the rules which addresses will be 
> "routable" and distributed "end-to-end".
> 
>> * How do I check for mesh-neighbours? From olsr I know `wget -qO
>> - http://127.0.0.1:2006/neighbours`...
> 
> Try the telnet port of olsrd2 (see config above ^^). e.g.:
> 
> echo /nhdpinfo neighbor | nc 127.0.0.1 2009
> 
> or connect to the telnet port and use the "help" command... e.g.
> 
> "help" (for generic help and a list of available commands) "help
> <command>" for help text for an available command.

Thanks a lot!

> 
> Henning
> 

Ok, I try a new round.
Bernd

Thanks for your time!

- -- 
Bernd Naumann <(spam-protected)>

PGP:   0xA150A04F via pool.sks-keyservers.net
XMPP:  (spam-protected)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJVQRgvAAoJEEYW3OihUKBPqpUP/RuSVgkphhv/hg0ayEbPan4J
PCz3c55JRbWTi1uRU2lxO4LNBoEfdW4J/weJb3aby2hX73PbtJKbyKML2VU2dGAG
AKj1KRnn5jlkqWqpA5cCANp3JK17GHMsVJl/9R7Ofy91WKFLf6aJkYSp6faWcJeM
BO8/gTTNjv+N26Ns090gvJTfjH8Kme8yJ37fC+1gWF9ucpMfHBQw3N+eYuhS3Z/E
ze98cjNdmyxFFKnao+kHBIhl/9V5D6U01HAg2eQLChbOCCdZvFB0x4xVPcwqGo/z
UJkij/HdBF1bnrEkoUb/qeba3ySjPkb7hbNv/osoR42Yet8YFmw6ijDu7ZLxkCAu
GjPXnWjL84k8hxohUnc75kVjyaCDMmgzbWhMqpHiBmjWbLwX7gc9Ymfv1UKOEHSY
Sc9l2A7w2q873CYrzmas6SjnDq3kxp6fekh3ueaQC0Ssms2/JWONOBcQGZDohDLq
KGvxgzjL1J51rllsn2DQHLsRwKDInBNymhNYXX9EWm5S8xa9W0hUQ11RZPxzUJpx
a80DMqV3yJah+5oUDjaEdWZc805X8DiRyWXvTqun5eEmdigOfWQ1ZFMZ9a01XySa
wSXgwgGxlVcUl0GpqGLWx/bbd5zMIyM408kNJV4Xvutnbaqkb7TDZrj+LOxv9P1g
iL5440jBwv6wRiNNeAFn
=81WC
-----END PGP SIGNATURE-----




More information about the Olsr-users mailing list