Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: dvb and dvb0_0 network device
Hi,
thanks for your answer Johannes Stezenbach ,
I give you the output of dvbsnoop :
I send a mpeg-2 packet withinan mpe frame which have an
encapsulated IP packet( a ping). And dvbsnoop give me this result.
************************************************************************
I HAVE THIS RESULT WHEN I DON'T MAKE THE DVBNET DEVICE DVB0_0 AND WHEN I USE
DVBSTREAM AND DVBTUNE
************************************************************************
# dvbsnoop -n 1 101
----------------------------------------------------------
SECT-Packet: 00000001 PID: 101 (0x0065), Length: 80 (0x0050)
Time received: Thu 2004-06-10 09:02:20.367
----------------------------------------------------------
0000: 3e b0 4d 7b f1 c1 00 00 20 5c d0 00 45 00 00 40 >.M{.... \..E..@
0010: 1d 54 00 00 ff 01 89 68 0a 01 00 fe 0a 01 00 01 .T.....h........
0020: 08 00 38 8c 03 d5 00 00 00 07 e5 59 00 00 70 fe ..8........Y..p.
0030: ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd ................
0040: ab cd ab cd ab cd ab cd ab cd ab cd 7d 24 f5 0a ............}$..
PID: 101 (0x0065)
Guess table from table id...
DSM-CC DATAGRAM-decoding....
Table_ID: 62 (0x3e) [= DSM-CC - private data section // DVB datagram]
section_syntax_indicator: 1 (0x01)
private_indicator: 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 77 (0x004d)
MACaddrbyte/DevicdID 6: 123 (0x7b)
MACaddrbyte/DeviceID 5: 241 (0xf1)
reserved_2: 3 (0x03)
payload_scrambling_control: 0 (0x00) [= unscrambled]
address_scrambling_control: 0 (0x00) [= unscrambled]
LLC_SNAP_flag: 0 (0x00)
current_next_indicator: 1 (0x01) [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
MACaddrbyte/DeviceID 4: 32 (0x20)
MACaddrbyte/DeviceID 3: 92 (0x5c)
MACaddrbyte/DeviceID 2: 208 (0xd0)
MACaddrbyte/DeviceID 1: 0 (0x00) => MAC-Address/DeviceID: 00:d0:5c:20:f1:7b
IP_datagram_bytes
0000: 45 00 00 40 1d 54 00 00 ff 01 89 68 0a 01 00 fe E..@.T.....h....
0010: 0a 01 00 01 08 00 38 8c 03 d5 00 00 00 07 e5 59 ......8........Y
0020: 00 00 70 fe ab cd ab cd ab cd ab cd ab cd ab cd ..p.............
0030: ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd ................
CRC: 2099574026 (0x7d24f50a)
==========================================================
************************************************************************
THAT'S ALL
************************************************************************
WHEN I USE DVBNET OR DVBTUNE TO CREATE THE DEVICE DVB0_0 LET SEE WHAT I HAVE:
dvbtune -f 1450000 -s 15914 -n 101
-------------------------------------
Using DVB card "STV0299/TSA5059/SL1935 based"
tuning DVB-S to L-Band:1107311556, Pol: Srate=15914000, 22kHz=off
polling....
Getting frontend event
FE_STATUS:
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_CARRIER
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Bit error rate: 22272
Signal strength: 62120
SNR: 65535
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Successfully opened network device, please configure the dvb interface
-----------------------------------------------------
after this result i have to configure the dvb0_0 device:
************************************************************************
ifconfig dvb0_0 10.1.0.1 hw ether 00:D0:5C:20:F1:7B up
and the ifconfig gave me:
----------------------------------------------------------------
dvb0_0 Lien encap:Ethernet HWaddr 00:D0:5C:20:F1:7B
inet adr:10.1.0.1 Bcast:10.255.255.255 Masque:255.0.0.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:4096 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
************************************************************************
I TRIED TO USE :
ifconfig dvb0_0 promisc up
and
echo 0 > /proc/sys/net/ipv4/conf/dvb0_0/rp_filter
BUT NOTHING BETTER
(what do you think about this two things ... promisc and rp_filter ????)
I HAVE NOTHING ON "TCPDUMP -ni DVB0_0"
***************************************
HOW CAN I USE OR SEE THE COUNTERS IN DVB_NET.C ???????????????????????
********************
THANKS FOR HELPING
********************
----------------------------------------------------------------------
> dvb@cristalys.com wrote:
> > I use dvbsnoop ( dvbsnoop 101 )
> > And i succeed in capturing my packet .
> > BUT when i use instead of dvbstream and dvbsnoop the dvbnet application or
> > simple dvbtune like this :
dvbtune -f 1450000 -s 15914 -n 101 (to create dvb0_0 network device )
> > or
> > dvbnet -p 101
> > after configuring the dvb0_0 device I do a tcpdump on dvb0_0 and nothing
> What does 'ifconfig dvb0_0' say? Check against the statistics
> counters in drivers/media/dvb/dvb-core/dvb_net.c, function
> dvb_net_sec().
> See also linux/Documentation/dvb/faq.txt.
>
> If it is not counting any packets then the section filter does not work
> for some reason. Post some dvbsnoop output then.
>
> HTH,
> Johannes
Home |
Main Index |
Thread Index