2 N-lines, how to get it to use second if no reply from first

There are 6 replies in this Thread which was already clicked 1,646 times. The last Post () by Touchey2.

  • I've got 2 N-lines from different people, and what I'd like mgcamd to do is


    Try line 1 ------ reply in X seconds, all good
    no reply in X seconds, try line 2...


    or even send the ECM to both servers, and use whichever reply comes first. Hopefully a bit of redundancy will reduce glitching.


    I've tried:


    CWS = host1 port1 etc etc etc
    CWS = host2 port2 etc etc etc


    and also



    CWS = host1 port1 etc etc etc
    CWS_MULTIPLE = host2 port2 etc etc etc


    but it seems to nearly always use the first line, even retrying and retrying and retrying when there's no reply, instead of trying the second line.


    Is there a way to configure mgcamd to use 2 lines efficiently?

    • Official Post

    keepalive checks to see if there`s a connection, if not it tries to reconnect. You might want to try removing this parameter altogether..
    Try this in mg_cfg:

    Code
    # network retry, use summ for several options
    #    00 disable
    #    01 retry every new ecm
    #    02 try to connect to offline shares every Q: seconds
    #    04 try to detect and fast reconnect to lost (and not used atm) server
    #    + XX messages number and YY seconds to reconnect
    #    mg will reconnect to server, if no answer to last XX ecm/keepalive or
    #    if no answer for last ecm or keepalive sent for YY seconds
    #    set to 0 to disable
    N: { 00 }
  • I'll try that Master G, thanks.


    But should I be using
    CWS = line1
    CWS = line2


    or


    CWS = line1
    CWS_MULTIPLE = line2


    or


    CWS_MULTIPLE = line1
    CWS_MULTIPLE = line2


    PS. Do I need to add "lan" to the end of each line too?

  • Been looking for this HOW TO CLEAR TWO LINES, Testing on Gigablue ue combo box and working FLAWLESSLY on VIX image when switching from Sly to VM. Thank you. I am very happy.

MGCamd Support Forum

Configs, discussion, downloads and guides for MGCamd Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!