• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Changes to UDP-SENDER

Scheduled Pinned Locked Moved
FOG Problems
3
4
1.2k
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.
  • Y
    YuYo
    last edited by Jun 26, 2014, 1:04 PM

    Hi,

    I have tweaked the file lib/fog/MulticastTask.class.php, changing from the Client Count to 2 the mínimum receivers (just in case there’s a broken PC) and I have set a mínimum wait of 300 seconds.

    I have changed the several lines to look like this

    [CODE]
    $cmd .= ‘cat "’.$path.‘"|’.UDPSENDERPATH.’ --min-wait 300 --min-receivers 2 --portbase ‘.$this->getPortBase().’ ‘.$interface.’ ‘.$wait.’ --full-duplex --ttl 32 --nokbd;';
    [/CODE]
    but when I launch the multicast task, it is not applying the change, taking the new parameters.

    In the multicast.log file you can see

    [CODE]
    [06-26-14 12:48:14 pm] CMD: cat “/images/Windows7x64Limpia/rec.img.000”|/usr/local/sbin/udp-sender --min-receivers 13 --portbase 63494 --interface eth0 --full-duplex --ttl 32 --nokbd;cat “/images/Windows7x64Limpia/sys.img.000”|/usr/local/sbin/udp-sender --min-receivers 13 --portbase 63494 --interface eth0 --full-duplex --ttl 32 --nokbd;
    [/CODE]

    Is it there any other place where I should change that ?

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by Jun 26, 2014, 1:27 PM

      Did you restart the service after making changes?

      [code]
      sudo /etc/init.d/FOGMulticastManager restart[/code]

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • Y
        YuYo
        last edited by Jun 26, 2014, 3:30 PM

        That was it! … I forgot to restart the service.

        Thanks!!

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jun 27, 2014, 10:52 AM

          Just remember, any changes you make to have “service” controlled files is just loading a cached version of the needed files at service start time. It has no clue about any changes until after a restart. I wish I could make it work without having to restart, but at least we know how to fix it when you edit these files.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post

          146

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project