OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: markus on June 01, 2017, 08:10:09 am

Title: [Solved] Periodic reset for pppoe connection not working properly
Post by: markus on June 01, 2017, 08:10:09 am
Hey guys,

I am running opnsense 17.1.7 and have a multi WAN setup employing WAN (DHCP) and WAN2 (PPPOE).

A cronjob was created as follows:

Code: [Select]
Enabled, Minutes, Hours, Days, Months, Weekdays, Description, Command
<x>      30       7      *     *       *         Redial VDSL  Periodic interface reset

As parameter I added "WAN2", so everything should work as expected.

For whatever reason when I browse the log file I see:

Code: [Select]
configd.py: [8a8b6c9e-2fca-44e1-a37a-e2e67d331e5a] Configuring interface WAN2
which indicates the cronjob is being executed but the interface doesn't reconnect. No change of IP address visible in the log.

I already tried using pppoe1 and OPT2 as parameter but that doesn't change anything.

Ideas?

Cheers,
Markus

Title: Re: Periodic reset for pppoe connection not working properly
Post by: franco on June 01, 2017, 11:58:42 am
Hi Markus,

Can you double check with the names advertised under Interfaces: Overview? The titles have the name you need to put into the cron job parameter (first one in the parenthesis). Must be lowercase, too.


Cheers,
Franco
Title: Re: Periodic reset for pppoe connection not working properly
Post by: markus on June 01, 2017, 08:07:47 pm
Hi franco,

oh that was my bad, really.
First mistake was I thought I need to address the paramenter with the interface description name (in my case WAN2) and the second mistake was not using lowercase!

Thanks for your help, works as expected now!

Cheers,
Markus
Title: Re: [Solved] Periodic reset for pppoe connection not working properly
Post by: franco on June 01, 2017, 08:18:23 pm
Hi Markus,

No worries. I have an interface selector on my list of nice things to have for the GUI there to make this easier in the future so the fault is mine for not implementing it. :D


Cheers,
Franco