Discussion of article List of Telnet Commands for Enigma2 Receivers:
QuoteThe most common Linux commands used in telnet to get the most from your enigma2 receiver.
Learn how to update, upgrade, download and install packages remotely.
There are 55 replies in this Thread which was already clicked 130,581 times. The last Post () by jenseneverest.
Discussion of article List of Telnet Commands for Enigma2 Receivers:
QuoteThe most common Linux commands used in telnet to get the most from your enigma2 receiver.
Learn how to update, upgrade, download and install packages remotely.
slight correction to the above.
Update Box Image & plugins
Using Open PacKaGe Management
Update Image
opkg update updates the image feeds located in /etc/opkg/ ( off the top of my head may be a slightly different path ) if you run this command it will not update any thing on the image but allow the image to know updates are there.
Update Plugins
opkg upgrade is the command that updates the image and or plugins as identified by the above opkg update command. when using these commands i recommend you first place enigma into a sleeping state so that any changes that are made have less risk of becoming corrupted as they may when being updated while there in a live / running state.
Here are some other commands that i use regularly with ViX although most if not all are universal to all images, along with a brief description of what the commands do as i understand them ( so some may be wrong or not 100 percent accurate ) but all these commands work as i use them my self.
init codes.
init 1 closes all running files.
init 3 wake enigma from a sleeping state / GUI restart.
init 4 Kill enigma / places enigma into sleep mode allowing you to edit or modify files that otherwise would corrupt or become damages if edited while live.
init 6 Full reboot.
you can also use the following commands.
shutdown -r now = basically the same as the above init 6 command
shutdown -h now = Full shutdown.
lsusb = lists all attached USB devices
df -h = checks memory and storage stats.
nmap -sp 192.168.1.0/24 = allows you to map your local network ( change the address as needed to map your own network )
cat /proc/meminfo = memory info
opkg update && opkg list-upgradable = allows you to check what is available to update on the image.
opkg download = allows you to download plugins directly from the images own feeds in a installable .ipk format to the /home/root/ directory of your receiver for safe keeping etc. a couple of examples as follows.
opkg download enigma2-plugin-extensions-backupsuite
opkg download enigma2-plugin-systemplugins-autobouquetsmaker
opkg install = allows you to install plugins directly from the image feeds., a few examples below.
opkg install enigma2-plugin-systemplugins-autobouquetsmaker
opkg install enigma2-plugin-extensions-backupsuite
opkg install enigma2-plugin-extensions-ondemand
Hi,
Some few corrections or at least some explanations should be added to this thread.
Init command does not do anything, but only change the runlevel of the linux machine and reload all init scripts, located in /etc/init.d for each /etc/rcX.d where X is a number between 0-6 or S and represents a runlevel, where usually do following from end user perspective
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
So issuing an "init 4" or "init 2" will not kill anything, but will stop enigma2 gracefully, waiting for all it's components to stop.
Issuing from command line, ssh or ftp, "killall 9 enigma2" will cause to sudden stop all enigma2 services without waiting to close anything and leave all opened files in an uncertain state, for example, if you have an E2 plugin which open some files, let say "permanent time-shift" and issue killall -9 enigma2 this plugin will not have a chance to close and remove it's files prior closing enigma2, because was killed with -9 parameter which mean "sudden/ no wait".
For sure the "killall -9 enigma2" will not reboot the machine. :)
So, it is dangerous to issue haphazardly commands which you don't understand, but most dangerous is to write HOW TO's with those incorrect commands.
Please, somebody rectify all those above commands in this thread.
Best regards,
Marc
________________________
DM800HD PVR; VU+ Solo 4K
init 2 && init 3
hi
online e2 settings install script code help me please
problem: The new list adds to the end of the old list
I want to do As DreamboxEdit, how can I delete the old list.
#!/bin/sh
echo '############################'
echo '# O.U.D Team #'
echo '############################'
echo $LINE
echo 'Guncel Motor Kanal Listesi By ARABADE'
echo 'PLEASE WAIT WHILE OUR BOUQUETS ARE UPDATED'
sleep 3
echo 'UPDATE BOUQUETS AND SERVICES'
echo 'Updating Services'
echo 'Please Wait'
sleep 2
echo $LINE
wget http://arabade.freevar.com/kanal/arabade/arabade.zip -O /tmp/arabade.zip > /dev/null
echo 'DOWNLOAD COMPLETE'
unzip -o /tmp/arabade.zip -d /etc/enigma2 > /dev/null
echo 'UNPACKED BOUQUETS'
sleep 1
rm -rf /tmp/arabade.zip > /dev/null
echo 'DELETED FILES FROM TMP FOLDER'
sleep 1
echo $LINE
echo 'RELOADING SERVICES - PLEASE WAIT'
wget -qO - http://127.0.0.1/web/servicelistreload?mode=0 > /dev/null
wget -qO - http://127.0.0.1/web/servicelistreload?mode=1 > /dev/null
echo $LINE
echo 'Guncel Motor Kanal Listesi By ARABADE - UPDATED'
echo $LINE
exit 0
Display More
#!/bin/sh
echo '############################'
echo '# O.U.D Team #'
echo '############################'
echo $LINE
echo 'Guncel Motor Kanal Listesi By ARABADE'
[COLOR='#FF0000']echo 'PLEASE WAIT. REMOVING OLD BOUQUETS'@@@WCF_PRE_LINEBREAK@@@rm -f -r /etc/enigma2/blacklist /etc/enigma2/lamedb /etc/enigma2/satellites.xml /etc/tuxbox/satellites.xml /etc/enigma2/whitelist /etc/enigma2/*.tv /etc/enigma2/*.radio[/COLOR]
sleep 3
echo 'UPDATE BOUQUETS AND SERVICES'
echo 'Updating Services'
echo 'Please Wait'
sleep 2
echo $LINE
wget [url]http://arabade.freevar.com/kanal/arabade/arabade.zip[/url] -O /tmp/arabade.zip > /dev/null
echo 'DOWNLOAD COMPLETE'
unzip -o /tmp/arabade.zip -d /etc/enigma2 > /dev/null
echo 'UNPACKED BOUQUETS'
sleep 1
rm -rf /tmp/arabade.zip > /dev/null
echo 'DELETED FILES FROM TMP FOLDER'
sleep 1
echo $LINE
echo 'RELOADING SERVICES - PLEASE WAIT'
wget -qO - [url]http://127.0.0.1/web/servicelistreload?mode=0[/url] > /dev/null
wget -qO - [url]http://127.0.0.1/web/servicelistreload?mode=1[/url] > /dev/null
echo $LINE
echo 'Guncel Motor Kanal Listesi By ARABADE - UPDATED'
echo $LINE
exit 0
Display More
Hi
How do I delete the folder and its contents on the device in the same way
Quote
/usr/script/cam/
/usr/oudteam/
/usr/lib/enigma2/python/Plugins/Extensions/SoftcamManager/
thank you
does anybody know if you can run a make command on enigma2?
or if it is possible to run mono on it to get a windows exe to run?
- - - Updated - - -
does anybody know if you can run a make command on enigma2?
or if it is possible to run mono on it to get a windows exe to run?
My box is zgemma hs. enigma 2,openATV image running.
My question is i want to read device information on SCI0. We can get usb devices as type "lsusb" but what is the command for get sci0 device list. I was try "lssci" but it not success.
what is the command to display DVB-T/C tuner hardware info and the drivers it is using?
is there a comand to restart the network
i'm mean just like the restart network menu...
Hi ALL,
Is there anyway of setting a static ip address via command line on Enigma2 boxes?
Thanks
G
any command to purge unused packages or files?
great post thanks
Hello, I have problems with this command for openpli, you need to activate openvpn and create a directory in etc / openvpn where to enter the openvpn certificate and user and password to navigate the decoder connected to the openvpn server.
INSTALL OPENVPN ENIGMA2:
opkg update
opkg upgrade && install (the second line only if you have a sim a8p)
opkg list | grep vpn
opkg install openvpn
update-rc.d openvpn defaults
opkg install kernel-module-tun
I have always written with telnet on OPENPLI up to version 6.0, now in 6.2 in etc / no longer creates the openvpn folder where to enter the certificate and user and password.
I RESOLVED BY HAND INSERTING THE OPENVPN FOLDER IN THE ETC ON WHICH I INSERTED THE VPN CERTIFICATE ATTRIBBUTS 777 AND THE KEY TEXT FILE WHERE I AM USER AND PASSWDORD X THE CERTIFICATE VPN, AND IT'S ALL OK THE DECODER CONNECT WITH THE IP OF THE VPN.
I am a newbie.
1. I would like to access "List of Telnet commands for Enigma 2 Boxes" but the link seems to be broken.
Is there a new page please?
2. What plugin do I need to do I do a full image backup on my Zgemma H2S please?
Thanks for any help.
1) in first posts there are a lot of commands. what excactly doy you need?
2) to do a full backup,you need a plugin like backupsuite...
Don’t have an account yet? Register yourself now and be a part of our community!