On Die, 2007-10-16 at 18:17 +0200, Jens Nachtigall wrote:
[...]
> I installed the olsrd ipkg from openwrt and wondered why the 
> olsrd.conf.default.rfc is the default olsrd.conf? Then I found out that it is 

Because nobody changed it since LQ exists?
SCNR - it was probably only a rhetoric question?

I remember there was some discussion about it months ago.
Hmm, probably I got distracted by $OTHER_LIFE and forget any result (in
the
broadest sense) of it.

> even the default for olsrd? (as it is copied by the Makefile to olsrd.conf)
> probably, it is the same for other distros like debian. I think you should 
> make olsrd.conf.default.lq-fisheye the default conf file. I do not know any 
> network that does use the hop count metric as in the rfc (because it prefers 
> long high-loss links in a path to get a lower hop number). 

Yes, the LQ-version is probably the less worse of the two.

And since you can't do anything useful - except trying it out and
playing with it
- without editing and learning a few basic things, we should push people
in the
saner direction;-)

As for a distro-delivered package: Well, that is IMHO primarily a
decision of the
distro makes/packagers to what to deliver per default (or none at all to
force
people to think about it).

> Also, this would be a big help for beginners. Think of the people getting in 
> touch with the mailing list saying olsrd does not work well, only until they 
> are told that they should use another config file.

BTW while I'm at it: if I find some time I will kill the logic that use
some
compiled in "default default configfile" if /etc/olsrd.conf (or whatever
was
given on the commandline) wasn't found - and the daemon will simply exit
with
"configfile not found" or whatever else errno delivers.
Or can anyone think of a (sane) reason to keep the behaviour?

And another thing with the configuration: Is there any OS there which
doesn't
have getopt_long(3) somewhere?
Linux has it and I assume CygWin has it too (since it is "GNU" anyways).
Or is it in the *BSD and MacOS worlds usual nowadays to not use
getopt(3)/getopt_long(3)?

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




