PDA

View Full Version : Help! Channel keeps suddenly changing to random station!



ninjakettle
22-03-15, 17:00
I have an issue where every now and then - the receiver will change channel. It seems to be a random channel each time often in a different bouqet.
I have reflashed the image and tried the newest images too - same problem.

From a fresh install, with no plugins, no skins etc - it happens.
I enabled Debugging and cleared the log after a reboot to see what happens.
I get an output (below) but don't see anything that might be causing this. Could it be a hardware issue?

I'm currently running OpenVIX 153, Apollo.



playing 1:0:1:D355:81C:2:11A0000:0:0:0:
[eDVBCAService] free slot 0 demux 0 for service 1:0:19:5208:812:2:11A0000:0:0:0:
[eDVBCAService] free service 1:0:19:5208:812:2:11A0000:0:0:0:
decoder state: play, vpid=-1, apid=-1
DEMUX_STOP - pcr - ok
DEMUX_STOP - video - ok
VIDEO_STOP - ok
AUDIO_STOP - ok
DEMUX_STOP - audio - ok
AUDIO_CONTINUE - ok
DEMUX_STOP - ttx - ok
start release channel timer
getResolvedKey config.usage.remote_fallback failed !! (Typo??)
RemovePopup, id = ZapError
[eDVBLocalTimerHandler] remove channel 0x200f350
[eEPGCache] remove channel 0x200f350
[EPGC] abort caching events !!
allocate channel.. 081c:0002
(0)tune
RotorCmd ffffffff, lastRotorCmd ffffffff
prepare_sat System 0 Freq 12551500 Pol 1 SR 22000000 INV 2 FEC 4 orbpos 282 system 0 modulation 1 pilot 2, rolloff 0
tuning to 1951 mhz
OURSTATE: tuning
allocate Channel: res 0
[eDVBCIInterfaces] addPMTHandler 1:0:1:D355:81C:2:11A0000:0:0:0:
allocate demux
[SEC] set static current limiting
[SEC] invalidate current switch params
set sequence pos 3
[SEC] setTone 1
[SEC] sleep 10ms
[SEC] update current switch params
[SEC] startTuneTimeout 5000
[SEC] setFrontend 1
setting frontend 0
(0)fe event: status 0, inversion off, m_tuning 1
(0)fe event: status 1d, inversion off, m_tuning 2
OURSTATE: ok
[eDVBLocalTimerHandler] channel 0x200f350 running
[eEPGCache] channel 0x200f350 running
[EPGC] next update in 2 sec
stop release channel timer
ok ... now we start!!
RemovePopup, id = ZapError
[SEC] sleep 500ms
PATready
use pmtpid 0104 for service_id d355
[Dish] tuning failed
[SEC] set dynamic current limiting
eventNewProgramInfo 0 0
have 1 video stream(s) (0903), and 1 audio stream(s) (0904), and the pcr pid is 0903, and the text pid is 0905
allocate demux
decoder state: play, vpid=2307, apid=2308
DMX_SET_PES_FILTER(0x903) - pcr - ok
DEMUX_START - pcr - ok
DMX_SET_PES_FILTER(0x904) - audio - ok
DEMUX_START - audio - ok
AUDIO_SET_BYPASS(1) - ok
AUDIO_PAUSE - ok
AUDIO_PLAY - ok
Video Device: /dev/dvb/adapter0/video0
demux device: /dev/dvb/adapter0/demux0
VIDEO_SET_STREAMTYPE 0 - ok
DMX_SET_PES_FILTER(0x903) - video - ok
DEMUX_START - video - ok
VIDEO_FREEZE - ok
VIDEO_PLAY - ok
DMX_SET_PES_FILTER(0x905) - ttx - ok
DEMUX_START - ttx - ok
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_CONTINUE - ok
AUDIO_CONTINUE - ok
disable teletext subtitles page ffffffffffffffff (und)
[eDVBCAService] new service 1:0:1:D355:81C:2:11A0000:0:0:0:
[eDVBCAService] add demux 0 to slot 0 service 1:0:1:D355:81C:2:11A0000:0:0:0:
[eDVBCIInterfaces] gotPMT
VIDEO_GET_EVENT - ok
[EPGC] start caching events(1427039695)
sdt update done!
[VideoMode] setting aspect: 16:9
[VideoMode] setting wss: auto
[VideoMode] setting policy: panscan
[VideoMode] setting policy2: letterbox
[eDVBLocalTimerHandler] diff is 1
[eDVBLocalTimerHandler] diff < 120 .. use Transponder Time
[eDVBLocalTimerHandler] set RTC Time
[eDVBLocalTimerHandler] update RTC
[eDVBLocalTimerHandler] time update to 15:54:58
[eDVBLocalTimerHandler] m_time_difference is 1
[eDVBLocalTimerHandler] set Linux Time
[EPGC] abort non avail nownext reading
[EPGC] abort non avail schedule reading
[EPGC] abort non avail netmed schedule reading
[EPGC] abort non avail netmed schedule other reading
[EPGC] abort non avail viasat reading
[EPGC] schedule other finished(1427039703)
KEY: 352 OK
action -> InfobarShowHideActions toggleShow
KEY: 352 OK
KEY: 352 OK
action -> InfobarShowHideActions toggleShow
KEY: 352 OK
KEY: 174 EXIT
action -> InfobarShowHideActions hide
KEY: 174 EXIT
playing 1:0:1:CFEE:909:2:11A0000:0:0:0:
[eDVBCAService] free slot 0 demux 0 for service 1:0:1:D355:81C:2:11A0000:0:0:0:
[eDVBCAService] free service 1:0:1:D355:81C:2:11A0000:0:0:0:
decoder state: play, vpid=-1, apid=-1
DEMUX_STOP - pcr - ok
DEMUX_STOP - video - ok
VIDEO_STOP - ok
AUDIO_STOP - ok
DEMUX_STOP - audio - ok
AUDIO_CONTINUE - ok
DEMUX_STOP - ttx - ok
start release channel timer
getResolvedKey config.usage.remote_fallback failed !! (Typo??)
RemovePopup, id = ZapError
[eDVBLocalTimerHandler] remove channel 0x200f350
[eEPGCache] remove channel 0x200f350
[EPGC] abort caching events !!
allocate channel.. 0909:0002
(0)tune
RotorCmd ffffffff, lastRotorCmd ffffffff
prepare_sat System 0 Freq 11344500 Pol 0 SR 27500000 INV 2 FEC 2 orbpos 282 system 0 modulation 1 pilot 2, rolloff 0
tuning to 1594 mhz
OURSTATE: tuning
allocate Channel: res 0
[eDVBCIInterfaces] addPMTHandler 1:0:1:CFEE:909:2:11A0000:0:0:0:
allocate demux
[SEC] set static current limiting
[SEC] invalidate current switch params
[SEC] setVoltage 2
[SEC] sleep 10ms
[SEC] setTone 0
[SEC] sleep 10ms
[SEC] update current switch params
[SEC] startTuneTimeout 5000
[SEC] setFrontend 1
setting frontend 0
(0)fe event: status 0, inversion off, m_tuning 1
[SEC] sleep 500ms
(0)fe event: status 19, inversion off, m_tuning 2
OURSTATE: ok
[eDVBLocalTimerHandler] channel 0x200f350 running
[eEPGCache] channel 0x200f350 running
stop release channel timer
[EPGC] next update in 2 sec
ok ... now we start!!
RemovePopup, id = ZapError
PATready
use pmtpid 0104 for service_id cfee
[SEC] set dynamic current limiting
eventNewProgramInfo 0 0
have 1 video stream(s) (092c), and 1 audio stream(s) (092d), and the pcr pid is 092c, and the text pid is ffffffff
allocate demux
decoder state: play, vpid=2348, apid=2349
DMX_SET_PES_FILTER(0x92c) - pcr - ok
DEMUX_START - pcr - ok
DMX_SET_PES_FILTER(0x92d) - audio - ok
DEMUX_START - audio - ok
AUDIO_SET_BYPASS(1) - ok
AUDIO_PAUSE - ok
AUDIO_PLAY - ok
Video Device: /dev/dvb/adapter0/video0
demux device: /dev/dvb/adapter0/demux0
VIDEO_SET_STREAMTYPE 0 - ok
DMX_SET_PES_FILTER(0x92c) - video - ok
DEMUX_START - video - ok
VIDEO_FREEZE - ok
VIDEO_PLAY - ok
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_CONTINUE - ok
AUDIO_CONTINUE - ok
disable teletext subtitles page ffffffffffffffff (und)
[eDVBCAService] new service 1:0:1:CFEE:909:2:11A0000:0:0:0:
[eDVBCAService] add demux 0 to slot 0 service 1:0:1:CFEE:909:2:11A0000:0:0:0:
[eDVBCIInterfaces] gotPMT
[Dish] tuning failed
VIDEO_GET_EVENT - ok
[VideoMode] setting aspect: 16:9
[VideoMode] setting wss: auto
[VideoMode] setting policy: panscan
[VideoMode] setting policy2: letterbox
[EPGC] start caching events(1427039756)
sdt update done!
[eDVBLocalTimerHandler] diff is 0
[eDVBLocalTimerHandler] diff < 120 .. use Transponder Time
[eDVBLocalTimerHandler] not changed
[EPGC] abort non avail nownext reading
[EPGC] abort non avail schedule reading
[EPGC] abort non avail netmed schedule reading
[EPGC] abort non avail netmed schedule other reading
[EPGC] abort non avail viasat reading
[EPGC] schedule other finished(1427039763)
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/protocols/basic.py", line 571, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 1655, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 826, in requestReceived
self.process()
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/web/server.py", line 189, in process
self.render(resrc)
File "/usr/lib/python2.7/site-packages/twisted/web/server.py", line 238, in render
body = resrc.render(self)
File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/base.py", line 103, in render

File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/mobile.py", line 102, in P_eventview

File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/models/services.py", line 474, in getEvent

exceptions.TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/protocols/basic.py", line 571, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 1655, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 826, in requestReceived
self.process()
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/web/server.py", line 189, in process
self.render(resrc)
File "/usr/lib/python2.7/site-packages/twisted/web/server.py", line 238, in render
body = resrc.render(self)
File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/base.py", line 103, in render

File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/mobile.py", line 102, in P_eventview

File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/models/services.py", line 474, in getEvent

exceptions.TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
job Components.Task.Job name=SoftcamCheck #tasks=1 completed with [] in None
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/protocols/basic.py", line 571, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 1655, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.7/site-packages/twisted/web/http.py", line 826, in requestReceived
self.process()
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/web/server.py", line 189, in process
self.render(resrc)
File "/usr/lib/python2.7/site-packages/twisted/web/server.py", line 238, in render
body = resrc.render(self)
File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/base.py", line 103, in render

File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/mobile.py", line 102, in P_eventview

File "/home/vix2/oe-alliance/builds/openvix/dags4/tmp/work/tmnano3t-oe-linux/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-1+gitAUTOINC+88e742466a-r0/git/plugin/controllers/models/services.py", line 474, in getEvent

exceptions.TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

Larry-G
22-03-15, 17:03
When it happens again try using the netstat command in a telnet session and post the results here.

abu baniaz
22-03-15, 18:54
Your ports are open on your router and forwarded to your receiver. Anyone can access your receiver.

ninjakettle
22-03-15, 23:38
Your ports are open on your router and forwarded to your receiver. Anyone can access your receiver.

That's true, I wanted to set this up while at work, and didn't change root or setup http authentication. But really, could that be it....someone changing my channels! Forgive my ignorance but is my ip showing somehow up on this forum?

Having a bad evening, laptop died, can't telnet. Tried with Android telnet app..can't bleedin copy paste output...pfft

abu baniaz
22-03-15, 23:44
On any forum, admin/mods can check your IP in the user panel that VBulletin uses.

Some sites record your IP.

ninjakettle
23-03-15, 00:03
On any forum, admin/mods can check your IP in the user panel that VBulletin uses.

Some sites record your IP.

True - i guess it could have been any site. Jaysus you'd think people would have better things to be doing.
Right, well if that's the case - it's easy to confirm. I'll update (shamefacedly) later. thanks folks

judge
23-03-15, 00:06
Forgive my ignorance but is my ip showing somehow up on this forum?
You don't need your IP to show on the forum, there's a few simple google searches that will easily find open E2 boxes & that's likey what's happened you.

judge
23-03-15, 00:09
Jaysus you'd think people would have better things to be doing.
Chances are they aren't changing the channel for fun, they're either using it to view channels or sell them on on pay servers.
It really is a silly idea to open ports like this.

ninjakettle
23-03-15, 00:29
Chances are they aren't changing the channel for fun, they're either using it to view channels or sell them on on pay servers.
It really is a silly idea to open ports like this.

sure. they were forwarded for just a day or two to allow me to set it up remotely, with only the box itself exposed so I wasn't concerned, but there you go, i guess i shouldn't be surprised scripts and exploit searches exist for that scenario.

So far ....no further random changes. Case closed :thumbsup:

jukkal
23-03-15, 22:19
sure. they were forwarded for just a day or two to allow me to set it up remotely, with only the box itself exposed so I wasn't concerned, but there you go, i guess i shouldn't be surprised scripts and exploit searches exist for that scenario.
If you know the ip you'll need to connect to your box from, it's a good idea to configure your router to forward requests to your box only from that ip. And only for the time slot you will use yourself.

AND enable http authentication and HTTPS authentication in the OpenWebif settings, anyway.
AND set some password for the root account.

Also, it is a good idea to create a non-root user account and disable access for user root in OpenWebif settings.

Larry-G
23-03-15, 22:32
sure. they were forwarded for just a day or two to allow me to set it up remotely, with only the box itself exposed so I wasn't concerned, but there you go, i guess i shouldn't be surprised scripts and exploit searches exist for that scenario.

So far ....no further random changes. Case closed :thumbsup:

There are a lot of people out there scanning specifically for Enigma2 boxes with open ports either to steal your details for resale or just to hijack your channels for their own use. Even if you only open ports for a few hrs you are vulnerable unless you route it all through a VPN. Thats just the sad fact of things these days as most users tend to be novices who just want to be able to watch the footy at work from their box at home and Enigma / Enigma2 was never designed with security in mind.

ninjakettle
24-03-15, 10:40
Yep, I closed it all down. I did see the option in openWeb to disable root access - but is there a plugin to manage User's on the box so i can create a standard User? - or is it all Linux commands?
I can go do some homework - just wondering if someone has already made this easier via a plugin.

jukkal
24-03-15, 10:53
Yep, I closed it all down. I did see the option in openWeb to disable root access - but is there a plugin to manage User's on the box so i can create a standard User? - or is it all Linux commands?

You don't need so many Linux commands for that.
First, telnet in as root when there are no other users yet defined.

Then, change the password for root:
passwd

Create new account, here "newuser" used as an example for login:
useradd newuser

And finally, set the password for "newuser":
passwd newuser

(When you are logged in as root, you can change password for other user accounts by giving the login as parameter for the passwd command. Without parameters, passwd will change the password for the user you are logged in as.)

Larry-G
24-03-15, 13:32
You don't need so many Linux commands for that.
First, telnet in as root when there are no other users yet defined.

Then, change the password for root:
passwd

Create new account, here "newuser" used as an example for login:
useradd newuser

And finally, set the password for "newuser":
passwd newuser

(When you are logged in as root, you can change password for other user accounts by giving the login as parameter for the passwd command. Without parameters, passwd will change the password for the user you are logged in as.)

It still won't help though, even with passwords set once a port is opened the receiver is vulnerable.


Sent from my iPad Air using Tapatalk

jukkal
24-03-15, 16:31
It still won't help though, even with passwords set once a port is opened the receiver is vulnerable.


True, but at least the attacker must first guess a working login and the right password before being able to do anything. (Not that it necessarily prevents all attackers, but at least they need some more effort, and that may keep some of them away.)

If, in addition to disabling root login and requiring password for another user acccount, the router passes traffic to the receiver only from certain known ip address(es) only at certain given times, I think it should be safe enough for most of us.

But anyway, I'd like to have an option to prevent any setting changes via OpenWebif, allowing only streaming and adding timers. And it would be really nice to be able to have one account with these restrictions and another one that can do anything you can do. now.

Larry-G
24-03-15, 16:36
True, but at least the attacker must first guess a working login and the right password before being able to do anything. (Not that it necessarily prevents all attackers, but at least they need some more effort, and that may keep some of them away.)

If, in addition to disabling root login and requiring password for another user acccount, the router passes traffic to the receiver only from certain known ip address(es) only at certain given times, I think it should be safe enough for most of us.

But anyway, I'd like to have an option to prevent any setting changes via OpenWebif, allowing only streaming and adding timers. And it would be really nice to be able to have one account with these restrictions and another one that can do anything you can do. now.

The login will make no difference at all, enigma2 is not setup with security in mind, regardless of what authentication you set on the image a open port will allow full unmetered access to your receiver. The best way to secure the receiver is to setup a dedicated VPN to route the traffic or don't open ports in the first place, authentication in enigma2 is worthless as it currently stands.


Sent from my iPad Air using Tapatalk

rossi2000
24-03-15, 16:43
you could always setup a VPN at home, so you dont have these problems.

s1m0nw
24-03-15, 17:19
Ill second that. I had my ports opened and my channels kept being changed to kids channels (nick jnr, to be precise). Luckily for me my router has vpn feature built-in, so set that up and had np problems since.

ninjakettle
02-04-15, 14:05
Yep - sounds like VPN is the way to go - cheers guys!