Page 1 of 1

Reset Button

PostPosted: Tue May 07, 2013 7:46 pm
by marcelp1
I have locked out myself and now can't login back into the TVHeadend and wonder if it is at all posible to
reset the box and delete all users.

I have tried pressing and holing the reset button but noting happens :(

User guide TBS MOI DVB-S2 Streaming Box_Quick Start Guide _V1.0.pdf
says noting how to use the reset button.

"Reset: reset the system to the factory default settings"

I just do not want to brick my box ;)

Re: Reset Button

PostPosted: Wed May 08, 2013 1:48 am
by cody
you can't brick your MOI that way, because it has dual-boot - by that i mean even if something is totally messed up on the primary file system and it can't boot from there it will boot from the secondary one - in the passed there were such motherboard with Dual BIOS function that worked in the similar way - if the main BIOS is broken then it boots from secondary BIOS. anyway, another way to solve the problem is connect to your MOI via SSH (for example using PuTTY in Windows as client) and restore proper 'accesscontrol' file.

Re: Reset Button

PostPosted: Wed May 08, 2013 1:54 am
by marcelp1
THank you for your reply,

would you be so kind and help me restore proper "accesscontrol" file .....

How do I do it. I am Linux novice so and learning something new every day,
would you be so kind and give me more details answer?


Your answer did not answer: How does the "Reset" button work and what exactly does it reset :(

Thank you.

Re: Reset Button

PostPosted: Wed May 08, 2013 10:44 pm
by cody
access file is:

root/.hts/tvheadend/accesscontrol/1

it has the following content by default:

{
"enabled": 1,
"username": "*",
"password": "*",
"comment": "Default access entry",
"prefix": "0.0.0.0/0",
"streaming": 1,
"dvr": 1,
"webui": 1,
"admin": 1,
"id": "1"
}


so, you can make such text file or even download ready one from here:

http://www.basicupload.com/839bcepmwo2k

connect to your MOI box via SSH using WinSCP and copy that file to "root/.hts/tvheadend/accesscontrol/1" - it's the same as using any file manager or Windows Explorer if that's something more familiar to you.

Reset button, as i already mentioned, but maybe it's not clear copies Backup file system to the main file system, i.e. it's impossible to brick.

Re: Reset Button

PostPosted: Wed May 08, 2013 11:28 pm
by marcelp1
Hi,

I managed to sort out my problem with accesscontrol as per post here:
viewtopic.php?f=94&t=8493#p28917

What I do not get, is if I pressed the "Reset" how come that the accesscontrol files 1 and 2 in "/.hts/tvheadend/accesscontrol/ ware not erased?

Do you mean
/root/.hts/tvheadend/accesscontrol/1
or
/.hts/tvheadend/accesscontrol/1
or both?

When I connect to MOI via SSH, do I connect to "Backup" file system or the "actual" file system?
Why all the config, channels, etc remain same ... if "Reset" button copies backup file system into the main system?


So if I delete something by accident when I connect to MOI via SSH will I get the system back by:

just once pressing the "Reset" button
holding the "Reset" button
holding the "Reset" button while rebooting
holding the "Reset" button while booting up?