List of Telnet Commands for Enigma2 Receivers

There are 55 replies in this Thread which was already clicked 130,479 times. The last Post () by jenseneverest.

    • Official Post

    1. I would like to access "List of Telnet commands for Enigma 2 Boxes" but the link seems to be broken.

    Link and commands have been fixed.



    2. What plugin do I need to do I do a full image backup on my Zgemma H2S please?

    Depends which image is being used. Some have built-in backup plugins, other you need to use backupsuite.

  • Discussion of article List of Telnet commands for Enigma2 Receivers:

    Quote
    List of Telnet commands for Enigma 2 BoxesPlease post below and we will build a master list on this thread... This list is for E2 Specific telnet commandsFor Common Unix/Linux Commands used via Telnet for pc's & stb's, see this very complete list by Master G Common Unix/Linux Commands used via Telnet for pc's & stb's Installing a tar.gz file to the boxFTP the tar.gz file to folder /tmpExecute the command below replacing filename with the actual filename tar -xzvf /tmp/filename.tar.gz -C /…




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

  • master G

    Changed the title of the thread from “List of Telnet commands for Enigma2 Receivers” to “List of Telnet Commands for Enigma2 Receivers”.
    • Official Post

    How do I list/delete/install plugins from the command line?

    opkg list

    opkg install plugin.name

    opkg remove plugin.name


    And is it possible to launch the Youtube plugin, if possible with a particular video?

    Launch youtube with video from command line? Dunno if thats possible.

  • Actually...


    opkg list | grep enigma2-plugins


    although does this show what is installed or what is available for download?


    I did notice something called python-youtube-dl which is described as a command line to download videos, so that needs some investigation....


    Don't suppose there is a manpage for it.... ::derpthink:

    • Official Post

    Is it possible to change channels from the command line?

    open command line, type:


    help


    and a full list of possible commands will be presented to you, then try find the one you require.

    • Official Post

    is not very useful. Most of the commands shown don't mean anything to me.

    typing help gives you a list of functions

    type help then the function name for more info

    first funtion in the list is alias

    type help alias

    do the same for the rest of the functions for more understanding, then use google for further info.

  • Is it possible to change channels from the command line?


    Yes. You can do this with following command:


    wget -q -O - http://127.0.0.1/web/zap?sRef=1:0:1:3EB:1:1:1862FEF:0:0:0:


    were 1:0:1:3EB:1:1:1862FEF:0:0:0: is the channel reference. You can see them in userbouquets which are at /etc/enigma2 folder.


    If you have password protection add it like this:


    wget -q -O - http://user:password@127.0.0.1/web/zap?sRef=1:0:1:3EB:1:1:1862FEF:0:0:0:


    For more info see this page:

    https://wiki.tuxbox-neutrino.org/wiki/Enigma2:WebInterface


    I use this function as alias (placed in .profile file in home directory) to see whether receiver is sleeping or which channel is running.


    function channel () { wget -O - -q http://user:pass@127.0.0.1/web/getcurrent | grep "\(<\|</\)e2servicename" | tr -d '\n' | sed "s/.*<e2servicename>\(.*\)<\/e2servicename.*/\\1\n/"; }


    So when I write channel in telnet it shows me empty space if receiver is sleeping or the channel name if it is on.

  • Hello.


    Checking the standby mode via an open channel is stupid, because the channel (device tuner) can be active while the TV can be turned off. For example, during EPG night scanning with EPG-refresh plug-in or streaming channels on the network (if set-bop-box is used only as streaming device for other boxes). Therefore, it is more efficient to detect the power status through the OpenWebif particular function. Otherwise, the set top box may not be in the standby mode and the tuner may be active (some channel can still be tuned).


    See a snippet of my bash script:

    Code
    webif_enigma="http://localhost:80"         # "http://127.0.0.1:PORT"  or  "http://LOGIN:PASSWORD@127.0.0.1:PORT"
    log_file="/dev/null"
    
    #### function to check the Standby (e2/OpenWebif power-state)
    function is_standby(){
        [ "$(wget -q -O - $webif_enigma/web/powerstate | grep '</e2instandby>' | cut -f 1)" == "true" ]
    }
    
    #### if the Enigma is not standby, exit the script
    if ! is_standby; then echo `date`": Enigma2 is not in Standby. Script canceled." >> $log_file; exit; fi

    For a better understanding, you can try this command only:

    Code
    wget -q -O - http://localhost/web/powerstate | grep '</e2instandby>' | cut -f 1
  • For me it's enough to know if some channel is running or not. Anyway I also made and this script to check stb status and turn it off or on:


    Powerstate can be changed to deep standby or reboot enigma or receiver.

  • For me it's enough to know if some channel is running or not. Anyway I also made and this script to check stb status and turn it off or on:


    Powerstate can be changed to deep standby or reboot enigma or receiver.

    on my mutant hd51tells me always :


    root@mutant51:~# checkE2.sh

    The receiver is running. Do you want to put receiver in standby m ode? Yes/No: n

    root@mutant51:~# checkE2.sh

    The receiver is running. Do you want to put receiver in standby m ode? Yes/No: y

    The receiver is going on standby mode!

    root@mutant51:~# checkE2.sh

    The receiver is running. Do you want to put receiver in standby m ode? Yes/No: n


    WHY?

    • Official Post

    channel list, sat settings(LNB settings), oscam config files, installed plugins.

    Figure out where everything lives then copy to another directory.

    Code
    channel list & cable / satellites.xml files - /etc/enigma2 & /etc/tuxbox
    sat settings (LNB settings) - /etc/enigma2/settings.xml (config.NIMS)
    oscam config files - /etc/tuxbox/config
    install plugins - /usr/lib/enigma2/python/Plugins/Extensions
    installed skins - /usr/share/enigma2


    Create a new directory for your backup. For example a directory named mybackups on HDD.

    cd /media/hdd

    mkdir mybackups


    Then copy everything to the mybackups directory.

    cp -r /etc/enigma2 /etc/tuxbox /etc/tuxbox/config /usr/share/enigma2 /usr/lib/enigma2/python/Plugins/Extensions /media/hdd/mybackups/

Participate now!

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