Modify

Opened 9 years ago

Closed 8 years ago

#4217 closed defect (fixed)

olsrd - some config items end up with quote marks

Reported by: andrew@… Owned by: jow
Priority: normal Milestone:
Component: packages Version: Kamikaze trunk
Keywords: Cc:

Description

Some of the config items for olsrd end up with double quotes which olsrd doesn't like. An example is IP6AddrType against an interface.

To tell a network interface to use link-local address in the web interface you currently need to do:

Services -> OLSR -> interfaces -> custom -> 'Ip6AddrType' -> add

Then type in site-local in the value field.

In /var/etc/olsrd.conf it adds a line with:

IP6AddrType "site-local"

But olsrd complains about the double quotes, which need to be removed for it to start.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by andrew@…

This is with 8.09rc1.

comment:2 Changed 9 years ago by jow

  • Owner changed from developers to jow
  • Status changed from new to assigned

comment:3 in reply to: ↑ description Changed 9 years ago by billy

Goodmorning dear friends excuse me for my poor english. In fact I met some problem to run olsr on my wrt54gl, I use kamikaze 8.09 and I install lucci olsr package so I configure olsr by Lucci web interface. When I set the following configuration:

config 'olsrd'

option 'FIBMetric' 'flat'
option 'LinkQualityAlgorithm' 'etx_ff'
option 'IpVersion' '6'

config 'Interface'

option 'ignore' '0'
option 'interface' 'lan'
option 'Ip6AddrType' 'global'

config 'LoadPlugin'

option 'library' 'olsrd_dyn_gw_plain.so.0.4'
option 'ignore' '0'

config 'LoadPlugin'

option 'library' 'olsrd_nameservice.so.0.3'
option 'name' 'luci-node'
option 'suffix' '.olsr'
option 'hosts_file' '/var/etc/hosts.olsr'
option 'ignore' '1'

config 'LoadPlugin'

option 'library' 'olsrd_txtinfo.so.0.1'
option 'accept' '127.0.0.1'

config 'Interface'

option 'ignore' '1'
option 'interface' 'net1'
option 'Ip6AddrType' 'global'

config 'LoadPlugin'

option 'library' 'olsrd_dyn_gw.so.0.4'
option 'ignore' '0'

config 'Hna6'

option 'netaddr' '2001:345:567b:12ab:0:0:0:0'
option 'prefix' 'ffff:ffff:ffff:ffff:0:0:0:0'

But when I run olsr it seems to run but nothing is exchanged between my routers. please help me.

comment:4 Changed 8 years ago by jow

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version set to Kamikaze trunk

Fixed in LuCI with r3828 and in OpenWrt with r13286

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.