laboreiro
GF Prata
- Entrou
- Dez 19, 2017
- Mensagens
- 498
- Gostos Recebidos
- 1
Lista de comandos Telnet para Enigma 2
This list is for E2 Specific telnet commands
Installing a tar.gz file to the box
FTP the tar.gz file to folder /tmp
Execute the command below replacing filename with the actual filename
Code
tar -xzvf /tmp/filename.tar.gz -C /
above command will install filename.tar.gz from /tmp
Installing IPK file to the box
FTP the .ipk file to /tmp
Execute the command below replacing filename with the actual filename
Code
ipkg install /tmp/filename.ipk
above command will install specific filename.ipk file from /tmp
Code
ipkg install /tmp/*.ipk
above command will install all and any .ipk files in /tmp
Listing & Uninstalling IPK files on the box
NOTE: Always perform a full image backup before uninstalling IPK through telnet
List ipkg
Code
ipkg list
Remove packages (Replace package with package name)
Code
ipkg remove package
Update Box Image & plugins
Using Open PacKaGe Management
Update Image
Code
opkg update
Update Plugins
Code
opkg upgrade
Force overwrite fonts from telnet
If you find that there is always 1 package available for update use this command to force overwrite fonts. This is usually the culprit.
Code
opkg -force-overwrite install enigma2-fonts
Change powerstate of a Enigma2.
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
Wakeup 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
This list is for E2 Specific telnet commands
Installing a tar.gz file to the box
FTP the tar.gz file to folder /tmp
Execute the command below replacing filename with the actual filename
Code
tar -xzvf /tmp/filename.tar.gz -C /
above command will install filename.tar.gz from /tmp
Installing IPK file to the box
FTP the .ipk file to /tmp
Execute the command below replacing filename with the actual filename
Code
ipkg install /tmp/filename.ipk
above command will install specific filename.ipk file from /tmp
Code
ipkg install /tmp/*.ipk
above command will install all and any .ipk files in /tmp
Listing & Uninstalling IPK files on the box
NOTE: Always perform a full image backup before uninstalling IPK through telnet
List ipkg
Code
ipkg list
Remove packages (Replace package with package name)
Code
ipkg remove package
Update Box Image & plugins
Using Open PacKaGe Management
Update Image
Code
opkg update
Update Plugins
Code
opkg upgrade
Force overwrite fonts from telnet
If you find that there is always 1 package available for update use this command to force overwrite fonts. This is usually the culprit.
Code
opkg -force-overwrite install enigma2-fonts
Change powerstate of a Enigma2.
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
Wakeup 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