Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Replicate clicking the save button on interface page

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      diretore
      last edited by

      Hi guys….

      I'm having problems with my atheros-based wireless adapter. After weeks of trying i gave up tweaking the driver.

      Anyhow... I realized that clicking the save button (on the OPT1 interface page) kind of "fixes" my wireless. I'm having periodical disconnects, and "saving" repairs my wireless...

      So, my question is:

      Is it possible to replicate this (clicking on the save) via shell script and schedule it with cron so it repeats, say, every 5 hours?

      Tnx

      1 Reply Last reply Reply Quote 0
      • D
        diretore
        last edited by

        Anybody?

        What happens when I click the save button? A set of commands is executed… But what set? ;)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          You'd have to follow the logic in the code, which in this case, is most likely /etc/inc/interfaces.inc, in particular the function interfaces_wireless_configure().

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • D
            diretore
            last edited by

            Thank you!

            Will look into it!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.