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

Howto ping hosts on LAN and Halt System

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 1.3k 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
    Rasco
    last edited by Sep 26, 2012, 9:59 PM

    I am looking for a script that can ping hosts on the LAN and WLAN and when there are no host left, then pfSense router can halt the system.
    The reason is that my network 70% of the day doing nothing.

    1 Reply Last reply Reply Quote 0
    • E
      esnakk
      last edited by Oct 2, 2012, 1:03 PM

      @Rasco:

      I am looking for a script that can ping hosts on the LAN and WLAN and when there are no host left, then pfSense router can halt the system.
      The reason is that my network 70% of the day doing nothing.

      Why not do it the other way around? Configure your router to use wake on lan (WOL) and if there IS traffic, it boots up and stays up. Sounds dangerous to allow a script to shut down the system. How ever a quick and dirty shell or perl script that checks the output of, for example tcpdump on an interface and a loop and a counter to check if nothing happened for X amount of minutes etc.

      OT: If electricity cost is the issue, why not switch to less power hungry components such as Intel Atom or similar, the power consumption on these while idling is almost none and probably switches, UPS, etc consumes more power than the router itself during these times your network users are busy IRL?

      Cheers
      E

      –
      Cheers,
      E

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