List of Telnet Commands for Enigma2 Receivers
thatfellow
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:
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:
opkg install /tmp/filename.ipk
The command above will install the specific filename.ipk from /tmp.
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:
opkg list
Remove a package (replace package with the package name):
opkg remove package
Update a ViX Image from Telnet
(This may not work on all E2 images — confirmation welcome.)
init 4 && opkg update && opkg upgrade && init 6
Update Box Image & Plugins Using opkg
Update the image:
opkg update
Update the plugins:
opkg upgrade
Screen Grabs / Dumps
Run the command below, replacing filename with the filename you want for the screenshot.
Grabs the OSD only:
grab -o -p /tmp/filename.png
Grabs the OSD with the channel:
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:
opkg -force-overwrite install enigma2-fonts
Change the Power State of an Enigma2 Box
Note: change password to your root password.
Deep standby:
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=0
Reboot:
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=6
Restart Enigma2:
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=3
Wake up from standby:
wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=4
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
wget -qO - http://127.0.0.1/web/servicelistreload?mode=
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