List of Telnet Commands for Enigma2 Receivers

This is a reference list of Telnet commands for Enigma2 boxes. It covers E2-specific commands; for common Unix/Linux commands used via Telnet on PCs and set-top boxes, see the separate list linked below.

Common Unix/Linux Commands used via Telnet for pc's & stb's

Installing a tar.gz File to the Box

FTP the tar.gz file to the /tmp folder, then run the command below, replacing filename with the actual filename:

Code
tar -xzvf /tmp/filename.tar.gz -C /

The command above will install filename.tar.gz from /tmp.

Installing an IPK File to the Box

FTP the .ipk file to /tmp, then run the command below, replacing filename with the actual filename:

Code
opkg install /tmp/filename.ipk

The command above will install the specific filename.ipk from /tmp.

Code
opkg install /tmp/*.ipk

The command above will install all and any .ipk files in /tmp.

Listing & Uninstalling IPK Files

Note: always perform a full image backup before uninstalling an IPK through Telnet.

List installed packages with opkg:

Code
opkg list

Remove a package (replace package with the package name):

Code
opkg remove package

Update a ViX Image from Telnet

(This may not work on all E2 images — confirmation welcome.)

Code
init 4 && opkg update && opkg upgrade && init 6

Update Box Image & Plugins Using opkg

Update the image:

Code
opkg update

Update the plugins:

Code
opkg upgrade

Screen Grabs / Dumps

Run the command below, replacing filename with the filename you want for the screenshot.

Grabs the OSD only:

Code
grab -o -p /tmp/filename.png

Grabs the OSD with the channel:

Code
grab -d -p /tmp/filename.png

Force Overwrite Fonts from Telnet

If you find that there is always one package available for update, use this command to force-overwrite the fonts — this is usually the culprit:

Code
opkg -force-overwrite install enigma2-fonts

Change the Power State of an Enigma2 Box

Note: change password to your root password.

Deep standby:

Code
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=0

Reboot:

Code
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=6

Restart Enigma2:

Code
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=3

Wake up from standby:

Code
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=4
Code
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=X
where X = 
0 - deep standby "shutdown"; will execute all /etc/rc0.d/* scripts before entering deep standby
1 - single user without network; will execute all /etc/rc1.d/* scripts after switching the runlevel
2 - multi user with network; will execute all /etc/rc2.d/* scripts after switching the runlevel
3 - multi user with network with enigma2; will execute all /etc/rc3.d/* scripts after switching the runlevel
4 - multi user with network; will execute all /etc/rc3.d/* scripts after switching the runlevel
5 - multi user with network with enigma2; will execute all /etc/rc5.d/* scripts after switching the runlevel
6 - reboot ; will execute all /etc/rc6.d/* scripts before reboot
S - shutdown ; will execute all /etc/rc0.d/* scripts before entering deep standby

Reload Enigma2 Settings

Note: change the X in the command to:

  • 0 — reload lamedb and user bouquets
  • 1 — reload lamedb only
  • 2 — reload user bouquets only
Code
wget -qO - http://127.0.0.1/web/servicelistreload?mode=
Code
wget -qO - http://127.0.0.1/web/servicelistreload?mode=X
where X =
0, reloading lamedb and Userbouquets
1, reloading lamedb only
2, reloading Userbouquets only

More Articles

How to install an ipk on any enigma2 receiver
How to grab a screenshot on any enigma2 receiver
How to expand ROM and RAM in PurE2
PurE2 General Setup
PiP (Picture in Picture) in PurE2
The world's first pretty comprehensive E2 tutorial and its predecessor...

Navigation

  1. Donate
  2. Articles
  3. FileBase
  4. Forum
  5. Gallery
  1. Contact
  2. My Account
  3. Forum Rules & ToS
  4. Privacy Policy
  5. Cookie Policy
  6. Legal Notice

Current Location

This site uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.