Broadband-Hamnet™ Forum :: Problems & Answers
Welcome Guest   [Register]  [Login]
 Subject :olsr nameservice help?.. 2013-07-30- 17:27:41 
kd0nrc
Member
Joined: 2012-12-16- 01:27:52
Posts: 8
Location: Kansas City Metro Area

I'm working to get an Ubuntu VM directly on the mesh with a wifi dongle. I end up with this:

As you can see, it shows my IP addresses, not hostname.

Here's my nameservices config in olsrd.conf:

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" "KD0NRC-M"
    PlParam "service" "http://KD0NRC-M:0/|tcp|NTP"
}


Here's some olsrd output: http://pastebin.com/Pi3z4NeU

Of particular concern are the error messages related to the KD0NRC-M nameservices packets:

Plugin param key:"name" val: "KD0NRC-M"
Plugin param key:"service" val: "http://KD0NRC-M:0/|tcp|NTP"
"service"/"http://KD0NRC-M:0/|tcp|NTP"... Got got http://KD0NRC-M:0/|tcp|NTP (main address)
"name"/"KD0NRC-M"... Got got KD0NRC-M (main address)
NAME PLUGIN: insert main addr for name KD0NRC-M 
NAME PLUGIN: invalid or malformed parameter KD0NRC-M (10.48.191.141), fix your config!
NAME PLUGIN: ip or hostname KD0NRC-M in service http://KD0NRC-M:0/|tcp|NTP is NOT allowed (does not belong to you)
NAME PLUGIN: invalid or malformed parameter http://KD0NRC-M:0/|tcp|NTP (0.0.0.0), fix your config!
NAME PLUGIN: decap type=0, len=8, name=KD0NRC-1
NAME PLUGIN: create new name/service/forwarder entry KD0NRC-1 (10.160.61.123) [len=8] [type=0] in linked list
NAME PLUGIN: decap type=0, len=8, name=KD0NRC-1

Any idea what's going on here? 10.48.191.141 noted in the error is KD0NRC-HOMEGW's IP.

IP Logged
Last Edited On: 2013-07-30- 17:30:22 By kd0nrc for the Reason
Kansas City HSMM on G+
KC HSMM Working Group mailing list
 Subject :Re:olsr nameservice help?.. 2013-07-31- 05:37:37 
ae5ae
Member
Joined: 2010-10-27- 00:47:17
Posts: 144
Location: Van Alstyne, TX

I suspect the problem may be that KD0NRC-M is an unknown host in that it doesn't appear to be the host running 'olsrd' here (KD0NRC-1) nor is it an attached host for which it's advertising.

IP Logged
Last Edited On: 2013-07-31- 05:39:53 By ae5ae for the Reason
 Subject :Re:olsr nameservice help?.. 2013-07-31- 07:15:52 
kd0nrc
Member
Joined: 2012-12-16- 01:27:52
Posts: 8
Location: Kansas City Metro Area
The text logs are from KD0NRC-M, and from a web browser on KD0NRC-M, I can access the mesh nodes by IP address. That's how I got the screen shot. For one reason or another, OLSRd's nameservice plugin on my laptop (Ubuntu) isn't happy. This is part of a bigger project to get linux laptops to mesh with one another and other BBHN Nodes, without using an intermediate box like a WRT54G. The name service problem is one of the last pieces I need to solve.
IP Logged
Kansas City HSMM on G+
KC HSMM Working Group mailing list
 Subject :Re:olsr nameservice help?.. 2013-07-31- 08:24:48 
ae5ae
Member
Joined: 2010-10-27- 00:47:17
Posts: 144
Location: Van Alstyne, TX
I use 'dnsmasq' on my Linux laptop, just like on the WRT54G. Have you gotten the host list generated by 'olsrd' read by 'dnsmasq'???
IP Logged
Page # 


Powered by ccBoard


SPONSORED AD: