Control: retitle -1 radvd: What is wrong with my configuration ?
Control: severity -1 minor
Control: tag -1 moreinfo

On Thu, May 24, 2018 at 07:09:12PM +0200, MANAOUIL KARIM wrote:
> 
> Whenever i start the deamon, i get the following syntax error, i have no idea 
> what's wrong:
> 
> [May 24 12:06:00] radvd (1076): version 2.15 started
> /etc/radvd.conf:1 error: syntax error, unexpected T_BAD_TOKEN, expecting '{'
> [May 24 12:06:00] radvd (1076): Freeing Interfaces
> [May 24 12:06:00] radvd (1076): freeing interface enp0s8
> [May 24 12:06:00] radvd (1076): exiting, failed to read config file
 [...] 
> What is wrong with my configuration ?

This from a working configuration, note the nested  curly brackets


interface br0
{
   AdvSendAdvert on;
   IgnoreIfMissing on;
   MinRtrAdvInterval 3;
   MaxRtrAdvInterval 10;
   prefix fd45:bd2a:bb0b:a82d::/64
   {
        AdvOnLink on;
        AdvAutonomous on;
        AdvRouterAddr off;
   };
};


Advice:

*  Put the above config in your config with minimal change,
   e.g. replace the br0 with your enp0s8
   Then you have a running radvd  ( which advertizes wrong information )
*  Make further changes for your network.


Kind request:
*  Email your /etc/radvd.conf to this bugreport


Groeten
Geert Stappers
DD
-- 
Leven en laten leven

Reply via email to