Navigation

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

    Schedule wireless interface up and down

    General pfSense Questions
    1
    1
    314
    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.
    • F
      fabiolg last edited by

      Hi all!

      I have a wireless interface on my pfSense firewall, that I use to share internet access with business visitors. It works fine.

      But now I would like to make it visible only when the office is meeting. I tried to do something using Cron and I got some success doing:

      When the office closes, I can successfully shutdown the hostapd, disable and destroy the wireless interface and restart the dhcpd service.

      But I have no success when the office opens again, because pfSense creates a alias for my run0 wireless interface, something like run0_wlan0 and I have no idea of how to recreate it.

      I investigating how reproduce via (php) script the actions of disable interface and apply actions via web interface, and the reverse, enable the wireless interface and apply actions via web interface, to after this, queue this php script via cron to enable/disable wireless interface when the office open/close.

      Any suggestions?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Products

      • Platform Overview
      • TNSR
      • pfSense
      • Appliances

      Services

      • Training
      • Professional Services

      Support

      • Subscription Plans
      • Contact Support
      • Product Lifecycle
      • Documentation

      News

      • Media Coverage
      • Press
      • Events

      Resources

      • Blog
      • FAQ
      • Find a Partner
      • Resource Library
      • Security Information

      Company

      • About Us
      • Careers
      • Partners
      • Contact Us
      • Legal
      Our Mission

      We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

      Subscribe to our Newsletter

      Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

      © 2021 Rubicon Communications, LLC | Privacy Policy