Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

mgcamd and telnet logging?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • gianni253
    replied
    Re: mgcamd and telnet logging?

    Originally posted by kontoni
    ok guys just one more thing about mgcamd supervision i want to ask .

    my query is that on cccam we can access its data and control them with web interface

    using internal ip of box + port 16001

    is it possible to have a similar access to mgcam ?
    No webif for mgcamd

    Leave a comment:


  • aplok
    replied
    Re: mgcamd and telnet logging?

    @gianni253

    yes ! obviiously !

    sorry for my previous stupid comment !

    android should support sshd and telnetd ...

    Leave a comment:


  • gianni253
    replied
    Re: mgcamd and telnet logging?

    Originally posted by aplok
    ... dedicated to click-interfaced-like portable device


    and without keyboard how to you talk to Tux ?
    You can connect via ssh or telnet and use your pc's keyboard.
    Also, usb keyboards can be connected directly to the device.

    Leave a comment:


  • kontoni
    replied
    Re: mgcamd and telnet logging?

    ok guys just one more thing about mgcamd supervision i want to ask .

    my query is that on cccam we can access its data and control them with web interface

    using internal ip of box + port 16001

    is it possible to have a similar access to mgcam ?

    Leave a comment:


  • aplok
    replied
    Re: mgcamd and telnet logging?

    Originally posted by gianni253
    ... because, after all, android is another linux
    distro.
    ... dedicated to click-interfaced-like portable device


    and without keyboard how to you talk to Tux ?

    Leave a comment:


  • gianni253
    replied
    Re: mgcamd and telnet logging?

    Originally posted by aplok
    ... by the way, is it possible to juggle this way with android ?
    I can't say it for direct experience, but I would say yes because, after all, android is another linux distro.

    Leave a comment:


  • aplok
    replied
    Re: mgcamd and telnet logging?

    Originally posted by gianni253
    Or put this check in crontab.
    ... restarting emu and it takes 3 second with remote control ...
    yes,

    here is a nice illustration of the power, the flex and the smartness of Linux :

    1 question, various best solutions according to the needs of the moment

    manu
    clicware : ... restarting emu and it takes 3 second with remote control ...
    manu: ( command )

    auto
    deamon.auto: ... or put this check in crontab
    deamon.manu: ( command ) &

    by the way, is it possible to juggle this way with android ?

    Leave a comment:


  • gianni253
    replied
    Re: mgcamd and telnet logging?

    Originally posted by aplok
    yes, you can pray Tux
    to resurrect mgcamd when he went away:

    while [ . ]; do ps aux |grep -v grep |grep mgcamd || /var/script/mgcamd_1.38_cam.sh start; sleep 5; done

    Or put this check in crontab.

    Anyway, as a matter of fact, I have found that having processes running to check that all is fine can sometimes result in cpu peaks that, in their turn, result is occasional freezes.
    So my question is: is it really worth ?
    When I have black screen the first thing I do is restarting emu and it takes 3 second with remote control ...

    Leave a comment:


  • aplok
    replied
    Re: mgcamd and telnet logging?

    Originally posted by kontoni
    if they can show me status and possible problem of emu when executed exactly after it has already happened this malfunction?
    try to log the debug message:

    1. activate various debug option in /var/keys/mg_cfg

    2. choose this # 01 + 02 -> 03
    # --- log
    # Log option, summ of:
    # 00 off
    # 01 network udp log
    # 02 log to console
    # 04 file, appended ! delete it by yourself, before it eat all your hdd
    # + IP udp-port log-file-name
    #L: { 03 } 172.16.1.1 28007 /tmp/mgcamd.log
    L: { 03 }

    3. /var/script/mgcamd_aaa.sh stop

    4. /var/script/mgcamd_aaa.sh start

    5. zap until mgcamd drop down

    6. read the log

    7. to restart mgcamd
    /var/script/mgcamd_aaa.sh start

    8. to restart automatically mgcamd:
    while [ . ]; do ps aux |grep -v grep |grep mgcamd || /var/script/mgcamd_1.38_cam.sh start; sleep 5; done

    Leave a comment:


  • kontoni
    replied
    Re: mgcamd and telnet logging?

    Originally posted by aplok
    to resurrect mgcamd when he went away:

    while [ . ]; do ps aux |grep -v grep |grep mgcamd || /var/script/mgcamd_1.38_cam.sh start; sleep 5; done



    dear aplok is this a telnet command to manually restore emu?

    if yes i think it is easier to do it from menu of softcam manager.


    anyway problem now is that with

    /var/script/mgcamd_aaa.sh stop
    /var/script/mgcamd_aaa.sh start

    you have to be very lucky so within this period of telnet session you will have a dropout of emu since it is somehow random.


    i wonder if i can see more details for mgcamd status on telnet when exactly this random disfunction occurs.

    by searching i found these commands

    ps|grep mgcam

    ps -e | grep -i MgCamd

    does anybody know what they do and if they can show me status and possible problem of emu when executed exactly after it has already happened this malfunction?

    Leave a comment:


  • aplok
    replied
    Re: mgcamd and telnet logging?

    Originally posted by gianni253
    ...Sometimes emus can crash ... (there is nothing you can do about that)
    yes, you can pray Tux
    to resurrect mgcamd when he went away:

    while [ . ]; do ps aux |grep -v grep |grep mgcamd || /var/script/mgcamd_1.38_cam.sh start; sleep 5; done

    Leave a comment:


  • gianni253
    replied
    Re: mgcamd and telnet logging?

    Originally posted by kontoni
    how do i run mgcamd from telnet session?

    simply as aplok wrote or alternatively should i modify something on mg_cfg L line and then on telnet start it ?

    also what could cause this stopping of emu sometimes?
    Just simply as aplok wrote but remember to kill it before launching !

    Sometimes emus can crash for ecms whose processing goes bad (there is nothing you can do about that)

    Leave a comment:


  • kontoni
    replied
    Re: mgcamd and telnet logging?

    Originally posted by gianni253
    No, I don't think that replace.list tweaks will fix your problem.
    About logging, just omit log file name and run mgcamd from telnet session.
    how do i run mgcamd from telnet session?

    simply as aplok wrote or alternatively should i modify something on mg_cfg L line and then on telnet start it ?

    also what could cause this stopping of emu sometimes?

    Leave a comment:


  • KVF1966
    replied
    Re: mgcamd and telnet logging?

    i use the emulator mgcamd in your satellite receiver but replace.list never corrected and I have all worked without any problems, we can conclude that replace.list don't need

    Leave a comment:


  • aplok
    replied
    Re: mgcamd and telnet logging?

    Originally posted by kontoni
    how can i activate logging mgcamd function on telnet console please?
    you can also try to activate de various debug options
    start mgcamd with the command, in a telnet console,

    /var/script/mgcamd_aaa.sh stop
    /var/script/mgcamd_aaa.sh start


    an read them in real time

    Leave a comment:

Working...