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

    Remote monitoring using iOS?

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 3 Posters 8.4k 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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      You could do something crude, as I have in the past.
      Create a file called, say. istatd.sh in /usr/local/etc/rc.d and put in it:

      
      #!/bin/sh
      #
      #File to start istatd until a proper package is created.
      
      /usr/local/bin/istatd -c /usr/local/etc/istat.conf -d
      
      

      Set the file permissions so it can be executed. Cross your fingers and reboot.  ;)

      Steve

      1 Reply Last reply Reply Quote 0
      • MellowlynxM Offline
        Mellowlynx
        last edited by

        I googled and found this :)

        "Executing commands at boot time"

        The hidden config.xml option <shellcmd>will run the command specified towards the end of the boot process.
        Above the line, add a line such as the following:

        <shellcmd>mycommand -a -b -c 123</shellcmd>
        

        Where "mycommand -a -b -c 123" is the command to run. You can add multiple <shellcmd>lines to execute multiple commands. Save your changes and restore the modified configuration.</shellcmd></shellcmd>

        (source: http://doc.pfsense.org/index.php/Executing_commands_at_boot_time)

        Did that, rebooted and YAY, it works :)

        BIG thanks for your help! :)

        1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          Good call that's a better way to do it. Don't know why I didn't suggest that.  ::)

          Screenshots (from your phone) to encourage others to try it?

          Steve

          1 Reply Last reply Reply Quote 0
          • MellowlynxM Offline
            Mellowlynx
            last edited by

            Working on that :)

            Here is a iPhone 5 screenshot

            And here a iPad one

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              Nice.  :)

              Steve

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