Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Problems with multicast and dvb card
Hello Paolo
Sorry for the late reply.
On Thu, 3 Jul 2003, Paolo Casagranda wrote:
> Hi Holger,
> I address the issue primarily to you, because you made multicast work at the
> end ;-)
> The issue is: we install the linuxtv drivers (configurations tried: RH8 +
> linuxpre3 and RH9 + original Kernel 2.4.20 + linuxpre2; the card is a
> TT-DVB-T but the chipset is the same of a lot of other cards), we configure
> them with dvbnet, and tcpdump or ethereal can read the multicast packets
> CORRECTLY: they have correct IP and MAC addresses. But at application level
> we don't see anything; it seems that in promiscuous mode the driver works
> and with an application it doesn't.
>
I just see that the devices where all in promiscuous mode, but I just
turned it off and we still receive data.
> We solved this problem, with the old drivers, deleting the
> dvb->set_multicast_list = dev_net_set_multi; and manually setting the MACs
> to 01:00:5e:n2:n3:n4 but I know this is a workaround.
>
> Maybe with the new drivers there's some additional step we miss...
>
Here are the steps that I did to get it working:
- cd linuxtv-dvb-1.0.0-pre3/driver
- make and then a make insmod
- szap -n 1 (I think you need something else here)
- dvbnet -p <PID> for each PID you want to receive.
- ifconfig dvb0_0 <IP0>
ifconfif dvb0_0 hw ether <MAC>
ifconfig dvb0_1 <IP1>
ifconfif dvb0_1 hw ether <MAC>
ifconfig dvb0_2 <IP2>
ifconfif dvb0_2 hw ether <MAC>
.
.
.
(for each PID)
- then started the application
Maybe try to start your application with strace and see why is not able
to receive anything. I also always use ifconfig to see if packets do
arrive:
[root@dwdsat3 linuxtv-dvb-1.0.0-pre3]# ifconfig
dvb0_0 Link encap:Ethernet HWaddr 00:D0:D7:04:70:A3
inet addr:192.168.238.238 Bcast:192.168.238.255 Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:4096 Metric:1
RX packets:10481 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3541092 (3.3 Mb) TX bytes:0 (0.0 b)
dvb0_1 Link encap:Ethernet HWaddr 00:D0:D7:04:70:A3
inet addr:192.168.239.239 Bcast:192.168.239.255 Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:4096 Metric:1
RX packets:145780 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:158110950 (150.7 Mb) TX bytes:0 (0.0 b)
Base address:0x12c
dvb0_2 Link encap:Ethernet HWaddr 00:D0:D7:04:70:A3
inet addr:192.168.240.240 Bcast:192.168.240.255 Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:4096 Metric:1
RX packets:49573 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:52569117 (50.1 Mb) TX bytes:0 (0.0 b)
Base address:0x1f4
Besides, I am using RedHat 9 and a plain kernel 2.4.21, but I don't think
this makes any difference.
Hope this somehow helps.
Regards,
Holger (Kiehl)
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index