• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • S
    stephenw10 Netgate Administrator
    last edited by Nov 18, 2012, 2:00 PM

    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
    • M
      Mellowlynx
      last edited by Nov 18, 2012, 2:19 PM

      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
      • S
        stephenw10 Netgate Administrator
        last edited by Nov 18, 2012, 2:25 PM

        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
        • M
          Mellowlynx
          last edited by Nov 18, 2012, 5:31 PM

          Working on that :)

          Here is a iPhone 5 screenshot

          And here a iPad one

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Nov 18, 2012, 6:02 PM

            Nice.  :)

            Steve

            1 Reply Last reply Reply Quote 0
            25 out of 25
            • First post
              25/25
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received