Page 1 of 1

Startup script problem + pppoe client

Posted: Fri Jan 15, 2010 5:54 pm
by synologic
Hi,

it seems if i put a script in the scheduler to run at startup, the following command doesnt do nothing:

{:foreach i in=[/interface pppoe-client find] do={/interface pppoe-client enable $i}}

what i am trying to do is to enable a pppoe-client interface that was previously configured as disabled, but nothing happens.

I have to mention this is done on a rb750 with v3.29 as it came from Mikrotik.
Since i have no other unit available to test with a different version, i need to know if this is a known/fixed problem or not, otherwise it will be hard to upgrade about 1000 units :)

Thx

Re: Startup script problem + pppoe client

Posted: Fri Jan 15, 2010 5:58 pm
by fewi
Wild stab, but try inserting a ":delay 30" at the top to give the box enough time to properly initialize all subsystems and interfaces after startup.

Re: Startup script problem + pppoe client

Posted: Fri Jan 15, 2010 6:15 pm
by synologic
Many thanks, it worked with the delay !