Results 1 to 3 of 3
Never mention to your boss that you ‘once saw a server running ubuntu’, he might take that to mean you’re an expert through proximity . Following the instructions on Angry ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-27-2012 #1
- Join Date
- Jul 2012
Struggling with DVBlast
Never mention to your boss that you ‘once saw a server running ubuntu’, he might take that to mean you’re an expert through proximity .
Following the instructions on Angry Technician’s guide to building a DVB IPTV sever (see URL below), I had reached the point where everything should boot up when Ethe0 comes online. The stations were tuning properly aside from one or two (probably due to signal as others on the same multiplex were fine), I had set up the SAP server and the ‘Upstart’ conf files were the last thing to go in… and then nothing happened.
To be specific, the Sap server starts up okay (so I'm fairly sure the .conf's are working) but the DVBlast streams do not. Occasionally multiplex one on adapter0 would initialize at boot, but nothing else would.
After some careful investigation and a lot of frustration, I discovered that DVBlast couldn’t access /dev/dvb/adapter(x)/frontend0 without root permissions. However, even changing the permissions through ‘chmod’ for each adapter and subsequent folders did not allow anything but a sudo command to run the files. What was more, any changes made to the permissions on these files within the ‘Adapter’ subfolder reverts back to ‘none’ for other users immediately upon reboot. Perhaps the files are recreated every time the system boots? I just don’t know.
So here’s the bottom line; I’m utterly stuck. Having no prior knowledge of the OS, I honestly don’t know whether this is a simple problem with an easy fix, or a fundamental oversight in the demonstrated coding.
Whilst we could start each stream via vnc, it’d be kinda useless if we had to reinitialize all six multiplexes manually every time the server reset -_-‘
I suppose my real question comes down to this; is there something I can do to either the inaccessible files or the upstart .conf’s that would allow DVBlast to run correctly upon boot? Or perhaps there's another way of ensuring the streams run at startup?
If you need any info on the details, just holler and I’ll post them up here asap, I really appreciate any help you can provide folks.
- 07-27-2012 #2
Hi and welcome
Device files on ubuntu are handled dynamically via udevd.
You can define rules for your dvb adapters in /etc/udev/rules.d/
I am not too familiar with this daemon, but it seems manageable as this example shows:
Last edited by Irithori; 07-27-2012 at 11:07 AM.You must always face the curtain with a bow.
- 07-27-2012 #3
- Join Date
- Jul 2012