[OpenWrt-Devel] Syntax error in radvd.conf

Pratik Prajapati pratik.prajapati12 at gmail.com
Fri Jul 24 08:34:58 EDT 2015


Hi,

I want to run radvd on OpenWrt but its giving me syntax error in radvd.conf

radvd.conf:

config 'interface'
        option 'interface'          'eth0'
        option 'AdvSendAdvert'      '1'
        option 'AdvManagedFlag'     '0'
        option 'AdvOtherConfigFlag' '0'

config 'prefix'
        option 'interface'     'eth0'
        option 'AdvOnLink'     '1'
        option 'AdvAutonomous' '1'
        option 'AdvRouterAddr' '0'

config 'route'
        option 'interface'        'eth0'
        option 'prefix'           '2001:0DB8:1234:5677::/64'
        option 'AdvRouteLifetime' 'infinity'


Error on running: radvd start

/etc/radvd.conf:1 error: syntax error, unexpected STRING, expecting
T_INTERFACE
[Jul 24 12:28:09] radvd (1202): exiting, failed to read config file

What needs to be corrected in radvd.conf ?

Thanks,
Pratik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150724/1e9d3425/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list