OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Reload ppp interface via cron?
« previous next »
  • Print
Pages: [1]

Author Topic: Reload ppp interface via cron?  (Read 2527 times)

liwanda

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Reload ppp interface via cron?
« on: March 15, 2019, 08:33:27 am »
Hello everybody, My name is Liwanda
I have not found anything yet.
My UMTS modem now and then needs a 'reload' in the interface overview.
I would like to automate this (cron?)

I would need a 'configdp_run' ('interface_reconfigure', array ('...'));

Is that possible?

thank you for your help
แทงบอลเว็บไหนดีpantip

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Reload ppp interface via cron?
« Reply #1 on: March 15, 2019, 08:37:56 am »
Hi Liwanda,

You need to find out your internal representation of the interface in the /conf/config.xml file (wan, lan, optX) and then go to System: Settings: Cron, create a job for "Periodic interface reset" and as a parameter add that internal representation.


Cheers,
Franco
Logged

mfinke

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Reload ppp interface via cron?
« Reply #2 on: July 28, 2019, 10:55:28 pm »
I had hoped you found a way to get rid of internal representations alltogether but really you just hid it from the Web-UI? That's a bummer, somehow   :-[
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Reload ppp interface via cron?
« Reply #3 on: July 31, 2019, 01:00:29 pm »
Err, sorry, what?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Reload ppp interface via cron?
 

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