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

    Script to add mac addresses

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.7k 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.
    • R
      rountrey
      last edited by

      I went to school with my new computer to install the Bradford Agent that didn't seem to work, the guys in the IT dept said they would put in my Mac address manually. So, I ask if all the Bradford Agent does is add MAC addresses for authentication, and they said yes.
      Here's the deal: I have a pfSense box at home and I use WPA2 and MAC authentication as security, is there a script that can add MAC addresses to pfSense?  Can't post bounty, unemployed going back to school.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Script to add them to what/for what?

        1 Reply Last reply Reply Quote 0
        • R
          rountrey
          last edited by

          It would be a script that would automatically connect to pfSense and and add the MAC address to the dhcpd>staticmap sections of the xml file, or directly to the DHCP Server page. I just thought it would be a nice thing for people who use MAC authentication, instead of having to go into the webGUI and putting it in manually. I don't know that much about scripting to make it myself, hence going back to school.

          I guess it would have to be two scripts, one for Windows and one for linux/unix/OSX.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            You can script that with wget. Some searching here will find scripts and other examples.

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