discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] TUN/TAP PDU not working


From: mansourabadi . mojtaba
Subject: Re: [Discuss-gnuradio] TUN/TAP PDU not working
Date: Sat, 17 Jun 2017 12:26:20 +0100

Hi Cinaed,

Sorry to miss the previous email.

I need to clarify that B210 USRP is connected to the PC though USB cable. 
That's why my Ethernet cards are disabled.

Meanwhile I have been trying different things and I noticed the followings:

1- Packet Encoder/Decoder blocks work fine with GMSK modulation scheme. But 
with other modulation like QAM and PSK, it seems to be less efficient.

2- I can receive any packet delivered to the virtual IP address I create using 
GNURadio. I also can print them to the console in GNURadio.

3- I can easily send/receive any form of information using GMSK Scheme along 
with packet encoder/decoder from one USRP to another.

4- but whatever I do I can't put the received packets from virtual IP address 
though GMSK and packet en/decoder.

Sincerely,
Mansour.

> On 17 Jun 2017, at 02:46, Cinaed Simson <address@hidden> wrote:
> 
> Incidentally, all you need is a $20-$30 Ethernet switch with 5-8 ports,
> and 3 CAT-6 Ethernet cables - twice as long as you think might need.
> 
> Then plug 1 one cable into each of the 3 device and plug the other end
> the of all the cables into the switch.
> 
> Configure them as below and you should be able to ping all the devices
> from either the desktop or the laptop.
> 
> -- Cinaed
> 
> 
>> On 06/15/2017 02:49 PM, Cinaed Simson wrote:
>> 
>> I'll assume they're connected correctly.
>> 
>> On the both PC1 and PC2, type
>> 
>>  ip tuntap del dev tap0 mode tap
>> 
>> On PC1, type
>> 
>>  ifconfig enp0s31f6 inet 192.168.200.1 netmask 255.255.255.0
>>  ifconfig enp0s31f6 up
>> 
>> On PC2, type
>> 
>>  ifconfig enp0s31f6 inet 192.168.200.3 netmask 255.255.255.0
>>  ifconfig enp0s31f6 up
>> 
>> Then on either PC, ping the other one. Try pinging the USRP. The pinging
>> shoud work - unless you have more than one Ethernet card and you plugged
>> the cable into the wrong card.
>> 
>> The idea is a tap relies on the existing Ethernet framing (and hence
>> routing) so if the machines are connected correctly then configuring
>> their Ethernet cards should provide the necessary infrastructure.
>> 
>> Also, you need to go the USRP mailing list and ask them how to change
>> the IP address of the B210 - it's something you should know how to do.
>> 
>> In general, the tap address on the B210 should have the same network
>> address as your PC.
>> 
>> The network address of PC1 is 192.168.200.0 and the host address
>> 192.168.200.1.
>> 
>> -- Cinaed
>> 
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>> 
>> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]