[Olsr-dev] jsoninfo ipv6only flag

cholin (spam-protected)
Thu Oct 23 10:02:13 CEST 2014


In OpenWRT config file are written in a uniform language. Init scripts
for services then have to generate the actual config. Default location
for generated config files is /var/etc/. An `ps` states that the right
config file gets loaded (6 only says we use ipv6):

  /usr/sbin/olsrd -f /var/etc/olsrd6.conf -nofork

Regards
Nico

Am 23.10.2014 um 09:37 schrieb Ferry Huberts:
> Make sure the right config file is loaded.
> 
> The location of the config file(s) has moved, config files are now
> located under /etc/olsrd by default.
> 
> Going on what you mentioned, it seems you are on OpenWRT, of which I
> know nothing.
> 
> Also, as far as I know we use a single config file /etc/olsrd/olsr.conf
> 
> On 23/10/14 09:21, cholin wrote:
>> Hey.
>>
>> I'm trying to use this new ipv6only flag (olsr
>> 0.6.7-git_cebcd32-hash_f8ec804d1566d5a03fca9ae3c290546) for jsoninfo
>> with openwrt. When I set "option ipv6only 'true'" for jsoninfo in
>> /etc/config/olsrd6 and only start olsrd6, it seems jsoninfo is also
>> listening on ipv4.
>> I can netcat on 127.0.0.1 9090. Generated config for jsoninfo plugin
>> looks like the following:
>>
>> LoadPlugin "olsrd_jsoninfo.so.0.0"
>> {
>>     PlParam "accept" "::"
>>     PlParam "ipv6only" "true"
>> }
>>
>> Am I misunderstanding this option or what am I doing wrong here?
>>
>> Regards
>> Nico
>>
>>
>>
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20141023/c36c7042/attachment.sig>


More information about the Olsr-dev mailing list