[Olsr-dev] PlParam "IP.ADDR" "another-name.mesh"

Giuseppe De Marco (spam-protected)
Sun Jan 4 03:27:49 CET 2015


2015-01-04 2:46 GMT+01:00 Joe Ayers <(spam-protected)>:
> Here's the specifics of what we are doing with broadband-hamnet.org live
> example with 0.6.7 :
>
> Hna4
> {
>                 10.161.53.32 255.255.255.248
> }
>
> LoadPlugin "olsrd_nameservice.so.0.3"
> {
>     PlParam "sighup-pid-file" "/var/run/dnsmasq.pid"
>     PlParam "interval" "30"
>     PlParam "timeout" "300"
>     PlParam "name-change-script" "touch /tmp/namechange"
>     PlParam "name" "AE6XE-gateway"
>     PlParam "10.161.53.36" "AE6XE-voip"
>     PlParam "10.161.53.34" "ae6xe-aircam2"
>     PlParam "10.85.38.164" "dtdlink.AE6XE-gateway.local.mesh"
>     PlParam "service" "http://AE6XE-voip:80/|tcp|10.161.53.36"
>     PlParam "service" "http://ae6xe-aircam2:80/|tcp|fishcam-view_view"
> }
>
> Subsequently in /var/run/hosts_olsr:
>
> ### this /etc/hosts file is overwritten regularly by olsrd
> ### do not edit
>
> 127.0.0.1       localhost
> ::1             localhost
>
> 10.84.38.164    AE6XE-gateway   # myself
> 10.161.53.36    AE6XE-voip      # myself
> 10.161.53.34    ae6xe-aircam2   # myself
> 10.85.38.164    dtdlink.AE6XE-gateway.local.mesh        # myself
> 10.45.205.112   dtdlink.K5DLQ-UNSM2-100.local.mesh      # 10.44.205.112
> 10.44.205.112   K5DLQ-UNSM2-100 # 10.44.205.112
> 172.31.182.82   mid1.K5DLQ-UNSM2-100    # 10.44.205.112 (mid #1)
> 172.31.182.78   mid2.K5DLQ-UNSM2-100    # 10.44.205.112 (mid #2)
> [...]
>
> Regards,
> Joe AE6XE

Thank you Joe, your example is very exhaustive, anyway it doesn't work on

 *** olsr.org -  0.6.6-git_80c7283-hash_e45457ce0e767daa107d4dfcf25fa621 ***
 Build date: 2014-11-08 01:21:53 on maker
 http://www.olsr.org

Even if PlParam was inserted the other nodes, and the localhost too,
doesn't get any changes about theese static hostnames.

So my next try will be a fresh compilation of olsr version 0.6.7 on my
openWRT devices.
Can you guarantee me that this feature is available only on olsr version 0.6.7 ?
if so should not be I could think about a wrong package version in
openWRT 14.07 (Barrier Braker).

Thank you, your answer is the most important part of what I was looking for,
Giuseppe




More information about the Olsr-dev mailing list