Jump to content


Photo

Network bridge feature

DM500

  • Please log in to reply
14 replies to this topic

#1 dheche

  • Member
  • 9 posts

0
Neutral

Posted 9 November 2008 - 01:18

Hi PLi Team,

Previously i use Gemini image, but i think i will switch to PLi images because i think this community is more open.

I want specific feature for my dreambox:
1. network bridge support
2. easy to operate (have menu to add more addon+plugin, like Gemini or PLi does)
3. ability to use cam/emu for watch pay tv (like Gemini or PLi)

I think i have two option:
1. Building from scratch (using cvs source from tuxbox) + add cam/emu + add menu + add custom script, etc
2. Ask PLi team to enable network bridge feature (because from all my requirement, only network bridge is not support yet)

What i already done so far:
I already success enable network bridge in kerneland add bridge-utils package using cvs source from tuxbox.
But i still can't figure out how to add CAM (emu) on it.

I think it is kind a long journey for me to accomplish first option. I hope i can use PLi image as base for my custom image. Is it possible ?
Or at least, can PLi team guide me how i can meet my requirement?

ps.
I have DM500S

Thanks in advance

Re: Network bridge feature #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 November 2008 - 01:33

your box has only 1 network adapter, what do you intend to bridge between? Also, expect huge cpu load.

Re: Network bridge feature #3 dheche

  • Member
  • 9 posts

0
Neutral

Posted 9 November 2008 - 01:48

Hi pieterg,

I want to bridge dvb_0 (dvbnet) to eth0, using for receiving multicast ip via satellite. Yes, maybe the cpu load is huge, but this is my school project to make dreambox as multicast data receiver over satellite.

Re: Network bridge feature #4 hemispherical1

  • Senior Member
  • 1,596 posts

+49
Good

Posted 9 November 2008 - 02:53

You're asking pieterg to do your homework for you??? ;)




--
hemi

Re: Network bridge feature #5 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 November 2008 - 11:45

Be aware the 500 has (partially) closed source dvb drivers. Are you sure you can get dvbnet working in the first place?

Re: Network bridge feature #6 jonc

  • Senior Member
  • 2,667 posts

0
Neutral

Posted 9 November 2008 - 11:50

I know we are talking about a DM500 but does the dreamdata plugin on the OE boxes not do a bit of this now with the IPRadio option ? Can this be modded for the 500?

	<service>
		<name>IP-Radio</name>
		<SID>7556</SID>
		<TSID>1053</TSID>
		<pid pid_0="252" pid_1="" pid_2="" pid_3="" pid_4="" />
		<mroutedconf conf0="phyint eth0 rate_limit 0 igmpv1" conf1="phyint dvb0_0 rate_limit 0 igmpv1" conf2="" conf3="" conf4="" />
	</service>


Re: Network bridge feature #7 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 November 2008 - 11:52

looks like it uses dvb0_0 somehow, so indeed perhaps dvbnet works.

Re: Network bridge feature #8 jonc

  • Senior Member
  • 2,667 posts

0
Neutral

Posted 9 November 2008 - 11:56

I might add although it is there, I have never been able to get it to work, not that I have really tried.
It's a hobby, so mileage varies Tell your friends about our Pli Wiki as it is there to help you - Click here for the PLi Wiki

Re: Network bridge feature #9 dheche

  • Member
  • 9 posts

0
Neutral

Posted 9 November 2008 - 12:57

You're asking pieterg to do your homework for you??? Posted Image


No. The original task is only for utilize dreambox as multicast data bridge from satellite. I already finish that work using cvs source from tuxbox (see on my first post).
I ask PLi dev team just for another fun, integrating what i already test to PLi images, maybe someone need this too.

Re: Network bridge feature #10 dheche

  • Member
  • 9 posts

0
Neutral

Posted 9 November 2008 - 13:07

Be aware the 500 has (partially) closed source dvb drivers. Are you sure you can get dvbnet working in the first place?


Just like i said in the first post, i already try dvbnet in dm500 and it is running fine.

multicast serv ---> satelitte --> dreambox ---> pc

from mcast serv i sent files using udp-sender or video using vlc, dreambox is bridging dvb0_0 and eth0 (only need activate bridge support in kernel and bridge-utils package), in pc i usin udp-receiver for receiving files or vlc for watching video.

Re: Network bridge feature #11 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 November 2008 - 13:07

Which kernel config options do you need, and how much kernel image size do they add?

Re: Network bridge feature #12 dheche

  • Member
  • 9 posts

0
Neutral

Posted 9 November 2008 - 13:20

Which kernel config options do you need, and how much kernel image size do they add?


only 1 option change is needed:
CONFIG_BRIDGE=y

This is only activating bridge feature on kernel. Before we can use it, we also need user space application, bridge-utils package, but i think this package should be fall into addon (not core module)

Re: Network bridge feature #13 dheche

  • Member
  • 9 posts

0
Neutral

Posted 9 November 2008 - 13:34

I know we are talking about a DM500 but does the dreamdata plugin onthe OE boxes not do a bit of this now with the IPRadio option ? Canthis be modded for the 500?

    <service>
	    <name>IP-Radio</name>
	    <SID>7556</SID>
	    <TSID>1053</TSID>
	    <pid pid_0="252" pid_1="" pid_2="" pid_3="" pid_4="" />
<mroutedconf conf0="phyint eth0 rate_limit 0 igmpv1" conf1="phyintdvb0_0 rate_limit 0 igmpv1" conf2="" conf3="" conf4="" />
    </service>


Interesting, i should dig OE box to find it, maybe we can modded this to tuxbox.

Re: Network bridge feature #14 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 November 2008 - 13:44

only 1 option change is needed:
CONFIG_BRIDGE=y


any idea how much binary size that adds?
If it's not too much, we might just add it to our standard kernelconf.

This is only activating bridge feature on kernel. Before we can use it, we also need user space application, bridge-utils package, but i think this package should be fall into addon (not core module)


Yes, and your tuxbox built binary should work as well.

Re: Network bridge feature #15 dheche

  • Member
  • 9 posts

0
Neutral

Posted 9 November 2008 - 14:58

any idea how much binary size that adds?
If it's not too much, we might just add it to our standard kernelconf.


without bridge support:
-rw-rw-r-- 1 dheche dheche 1032192 2008-11-09 20:48 boot-cramfs.img

with bridge support:
-rw-rw-r-- 1 dheche dheche 1044480 2008-11-09 20:52 boot-cramfs.img

So the diff is about 12288 byte



Also tagged with one or more of these keywords: DM500

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users