how to factory reset vu zero4k via telenet?
I don't think that there's such a command! Could be a script of python file to run.
how to factory reset vu zero4k via telenet?
I don't think that there's such a command! Could be a script of python file to run.
Thanks, s3n0! I tried the script, but still have the same problem - the receiver's clock go ahead with 2 hours after every reboot.
I think that the problem may be is because oscam starts before enigma 2? Is there any oscam settings for the clock time?
I unzip it, copy it to /usr/bin directory, it starts, has webif working, but can't decode anything. Do I have to make same changes in config files to start working?
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:
#!/bin/bash
if [ $(wget -O - -q http://127.0.0.1/web/powerstate | grep "\(<\|</ \)e2instandby" | tr -d '\n' | sed "s/.*<e2instandby>\(.*\)<\/e2instandby.*/\\1\n /g") = true ]; then
while true
do
read -p "The receiver is on standby mode. Do you want to turn it on? Yes/ No: " answer1
case $answer1 in
[yY]* ) wget -O - -q http://127.0.0.1/web/powerstate?newstate=4 2>&1 1>/dev/null;
echo "The receiver is on!"
break;;
[nN]* ) exit;;
* ) echo "Dude, just enter Y or N, please."
;;
esac
done
else
while true
do
read -p "The receiver is running. Do you want to put receiver in standby m ode? Yes/No: " answer2
case $answer2 in
[yY]* ) wget -O - -q http://127.0.0.1/web/powerstate?newstate=5 2>&1 1>/dev/null;
echo "The receiver is going on standby mode!"
break;;
[nN]* ) exit;;
* ) echo "Dude, just enter Y or N, please."
;;
esac
done
fi
Display More
Powerstate can be changed to deep standby or reboot enigma or receiver.
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.
Is this only the bin file, that is placed at /usr/bin folder?
First you need to install this packages on both receivers :
(openssh-keygen is needed only on the receiver from which will be copied files)
Then you have to create ssh-key
just press enter every time system asking you and at the end you have to see something like this:
Your identification has been saved in /home/username/.ssh/id_rsa.
Your public key has been saved in /home/username/.ssh/id_rsa.pub.
The key fingerprint is:
a9:49:2e:2a:5e:33:3e:a9:de:4e:77:11:58:b6:90:26 username@remote_host
The key's randomart image is:
+--[ RSA 2048]----+
| ..o |
| E o= . |
| o. o |
| .. |
| ..S |
| o o. |
| =o.+. |
|. =++.. |
|o=++. |
+-----------------+
Display More
Now you have to copy this key to the other receiver with this command (just replace dest.stb.ip with the ip of the receiver which you will copy the key):
Quote
cat ~/.ssh/id_rsa.pub | ssh root@dest.stb.ip "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
You'll be asked to enter the root password on the other receiver. And that's it. Now you can copy things between the receivers with scp command, like picons, bouqetlist, lamedb and etc. You can automate this with a crontab manager.
For example to copy picons between the receivers, just type (replace dest.stp.ip with the ip of the receiver you'll copy the picons):
Quote
scp /usr/share/enigma2/picon/*.png root@dest.stb.ip:/usr/share/enigma2/picon/
The path to the picons folder may be different, you can find it with this command:
Quote
find / -name picon
I personally use it to receive the ip address form one of the receivers to the other with this script, putted on crontab to send it daily:
I turned off https in openwebif and it start to ask me for username and password. But now, every time I change the channel, I have to enter username and pass again. I can put it like this for every channel in playlist:
http://username:password@192.168.0.101:8001/1:0:1:3EB:1:1:1862FEF:0:0:0:
but I don't think it's safe.
For now I'll close port forwarding for 8001, and I'll open it just when I want to watch tv, and then will close it again.
OpenATV 6.1
When I change the outside port on the router, I can't use the playlist taken from OpenWebIf. I have to manually change the port in the playlist for all channels.
Is there any way to put password prompt for the stream from that port - 8001?
I saw that it isn't installed streamproxy on the reciever. Do I have to install it?
I found the command to see who is using this port:
Quotenetstat -tn
Is there any way to block it?
I forwarded port 8001 to my public IP, so I can watch tv when I'm outside home, but someone else also start to watch it. How can I found how is watching, and how to stop it?
I enabled on OpenWebif settings password identification for stream, but when I start my old playlist it still starts without asking me for password.
Is it possible while receiver is playing one channel on tv, someone else to watch another channel from different transponder on a tablet or pc?