OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [Solved] Periodic reset for pppoe connection not working properly
« previous next »
  • Print
Pages: [1]

Author Topic: [Solved] Periodic reset for pppoe connection not working properly  (Read 4266 times)

markus

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
[Solved] Periodic reset for pppoe connection not working properly
« 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

« Last Edit: June 01, 2017, 08:08:11 pm by markus »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13647
  • Karma: 1174
    • View Profile
Re: Periodic reset for pppoe connection not working properly
« Reply #1 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
Logged

markus

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Periodic reset for pppoe connection not working properly
« Reply #2 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13647
  • Karma: 1174
    • View Profile
Re: [Solved] Periodic reset for pppoe connection not working properly
« Reply #3 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [Solved] Periodic reset for pppoe connection not working properly
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2