[Olsr-users] OLSRD dynamic gateway plugin: Invalid HNA error/continuous pings

Patrick Allen (spam-protected)
Wed Mar 11 21:56:20 CET 2009


Hi,

I am testing out some of the dynamic gateway code (dyn_gw 0.4) for olsrd (0.5.6-rc7), installed from aptitude, on debian 4.5 (etchnhalf), kernel 2.6.24-etchnhalf.1-486.  

When using the following configuration, this error occurs:

---------- LOADING LIBRARY olsrd_dyn_gw.so.0.4 ----------
OLSRD dynamic gateway plugin 0.4 by Various artists
Checking plugin interface version:  5 - OK
Trying to fetch plugin init function: OK
Trying to fetch parameter table and it's size... 
Sending parameters...
"Ping"/"192.168.7.1"... Ping: OK
"HNA"/"192.168.7.0 255.255.255.0"... 
Fatal error in plugin parameter "HNA"/"192.168.7.0 255.255.255.0"
HNA: FAILED
Running plugin_init function...
HNA[0007a8c0/000000c0] is invalid

Do ping on 192.168.7.1 ...
---------- LIBRARY olsrd_dyn_gw.so.0.4 FAILED ----------



Relevant parts of olsrd.conf look like this:

###############  olsrd.conf  ###################
...

Hna4
	{ 
	}

...

LoadPlugin "olsrd_dyn_gw.so.0.4"
	{
	PlParam   "HNA"    "192.168.7.0 255.255.255.0"
	PlParam   "Ping"   "192.168.7.1"
	}

################################################

The syntax seems fine to me; I am not sure why it would be erroring out. 

Also, when given only PlParam "Ping" "4.2.2.2" (so that it assumes a default route to the Internet), olsr starts without error, but the pings are constant and extremely fast (several pings per second).  Setting an interval setting does not appear to affect the rate of the pings.

I have read some responses to some others who have had similar problems, but have not yet been able to find a fix for this.

Is there a way for me to fix this currently or in development, short of re-writing from scratch part of the source?

Thank you for any info on this.

_____________________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.com




More information about the Olsr-users mailing list