Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] R: Re: How to change MAC bytes number more important



Hi Alexandru,

-----Messaggio Originale-----
Da: <beb99@iname.com>
A: <linux-dvb@linuxtv.org>
Data invio: sabato 30 dicembre 2000 10.44
Oggetto: [linux-dvb] Re: How to change MAC bytes number more important


> I have two EON accounts.
> Is there any possibility to recive data for both of them using the same
DVB
> card?
Yes
When you ask for an web site the answer is sent to MAC address
00:02:ipA:ipB:ipC:ipD where ipA:ipB:ipC:ipD is your IP address.
So if your ask for something from the SAME IP ADDRESS you'll receive the
answer to the same MAC Address, so it is not necessary to hack the Dvb
filter.

> I already have two ip adresses on the same pc but I guess  that I must do
> something with the MAC address.
> from the DVB.
You should have IP1 and IP2 (static on internet)
So MAC addresses are 00:02:(IP1) and 00:02:(IP2).
You have to search the NET address common in IP1 and IP2 and set it to
filter DVB.
Near the end of dvbd.c file you find "filter_0" string.
After you'll have an assignment like this:
dvbcfg[0].data[1] = (ip[0] << 8) | (0x00FF) ; or something similar.
You have to change 0x00FF to 0x0000: the FF rappresents the bitfilter mask
(with FF is only accepted ip[0] while if you set 0x0000 is accepted all 256
value for ip[0].
Unfortunately you couldn't set all 4 IP to mask 0x0000 (I don't know why)
but only some of them.
For example ip[0], ip[1], ip[2] and 0x00F0 for ip[3].
Tell me if you have trouble trying all that.
Happy New Year

Arcomano Roberto

>
> Could somebody tell me if there are others providers like EON on EUROPE ?
>
> Alexandru Salceanu
>
> ----- Original Message -----
> From: Mihai Amariutei <mihai@ambra.ro>
> To: <linux-dvb@linuxtv.org>
> Cc: Arcomano Roberto <berto@fatamorgana.com>
> Sent: Tuesday, December 26, 2000 13:20
> Subject: [linux-dvb] Re: How to change MAC bytes number more important
>
>
> > The MAC mask processing in dvbrouter is absolutely absymal. For some
> reason
> > it only allow the mask to be set for whole bytes.
> > The least significant bits of that value controls that, each bit masking
> one
> > byte of the MAC (and yes, it works).
> > For the time being, your best resource is to set it directly in the
> source.
> > There are separate identical sections for each filter.
> > Better yet, you may take the time to clean the whole mess (and
contribute
> it
> > back, hopefully)
> >
> > Good luck
> > Mihai
> >
> > ----- Original Message -----
> > From: "Arcomano Roberto" <berto@fatamorgana.com>
> > To: <linux-dvb@linuxtv.org>
> > Sent: Thursday, December 21, 2000 2:07 PM
> > Subject: [linux-dvb] How to change MAC bytes number more important
> >
> >
> > > Hi,
> > > I'm trying to change my DVB setting in Unicast: I would like to change
> > > the number used to indicate Dvb card how many bytes consider in MAC
> > > field. In /etc/dvbd.conf file there is a field (after filter_0 MAC)
but
> > > it doesn't work.
> > > Thank you
> > >
> > > --
> > > Arcomano Roberto
> > >
> > >
> > >
> > >
> > >
> > > ---
> > > Info:
> > > To unsubscribe send a mail to listar@linuxtv.org with unsubscribe as
> > subject.
> > >
> > >
> >
> >
> >
> > ---
> > Info:
> > To unsubscribe send a mail to listar@linuxtv.org with unsubscribe as
> subject.
> >
>
>
>
> ---
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with unsubscribe as
subject.



--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with unsubscribe as subject.



Home | Main Index | Thread Index