Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    2

    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.

    Mike.

    angrytechnician.wordpress.com/2010/07/23/how-to-stream-every-channel-from-freeview-onto-your-network/

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,444
    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:
    http://stackoverflow.com/questions/1...n-ubuntu-12-04
    Last edited by Irithori; 07-27-2012 at 11:07 AM.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jul 2012
    Posts
    2
    Quote Originally Posted by Irithori View Post
    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/
    From the look of things this may do the trick. However I'll have to build a custom code to suit. I'll get back to you when I've tried this out.
    Thanks

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •