Restart IGMP Proxy - HOW?



  • Can anyone tell me the command from the CLI to restart the IGMP Proxy?

    Many Thanks,
    James


  • Rebel Alliance Developer Netgate

    On which version of pfSense?

    If you're on 2.1 or later (e.g. 2.1.2), this should work:

    pfSsh.php playback svc restart igmpproxy
    


  • Thanks a lot for the help.

    I am getting the following when I try that command, any ideas?

    [2.1.2-RELEASE][james@pfsense.mshome]/home/james(13): pfSsh.php playback svc restart igmpproxy

    Starting the pfSense shell system…............

    Attempting to issue restart to igmpproxy service...
    PHP Warning:  fopen(/tmp/igmpproxy.conf): failed to open stream: Permission denied in /etc/inc/services.inc on line 1273

    Warning: fopen(/tmp/igmpproxy.conf): failed to open stream: Permission denied in /etc/inc/services.inc on line 1273

    igmpproxy has been restarted.
    [2.1.2-RELEASE][james@pfsense.mshome]/home/james(14):




  • Hi james_h,

    Try running the command as the user root. Your personal user account probably doesn't have the necessary permissions.


  • Rebel Alliance Developer Netgate

    Yes, you need to run it as root or use the sudo package to run it as your own user



  • I managed to install the sudo package as I'm accessing remotely and don't have RSA Keys setup for the root user.

    The IGMP Proxy was restarted from the command line with:

    #sudo pfSsh.php playback svc restart igmpproxy

    I then played around with the cron job tool and have managed to schedule a working IGMP Proxy restart at 01:00 every morning with the following command ran as root:

    /usr/local/sbin/pfSsh.php playback svc restart igmpproxy

    Hopefully now the 2 channels which kept going off after a couple of days (Nickelodian and Disney) will stay working and my wife will be off my case.

    Thanks a lot!!