The error you are getting is possibly due to your host machine using a LAN
address to access the internet via NAT (network address translation).  If
this is the case then setting your receive ip address to '0.0.0.0' in the
GRC 'UDP Source' should do the trick.  This setting tells the 'UDP Source'
to listen on all network interfaces.

Mike

--
Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: supp...@ettus.com
Web: http://ettus.com


On Mon, Jun 23, 2014 at 4:24 PM, Matias <mpo...@cawireless.com> wrote:

> Hello,
>
> We would like to send UDP data from a USRP over the internet to a remote
> computer. The setup on the host side is:
>
> USRP Source --> UDP Sink
>
> And on the client side:
>
> UDP Source --> Throttle --> WX GUI FFT Sink
>
> This setup has worked on a local network using the client's IP address
> "10.10.0.175:9000" with the UDP sink and UDP source. However, when using
> the
> host's public static IP "166.149.xxx.xxx:9000", Gnuradio throws the
> following error:
>
>
> /Traceback (most recent call last):
>   File "/home/matias/Documents/top_block.py", line 116, in <module>
>     tb = top_block()
>   File "/home/matias/Documents/top_block.py", line 76, in __init__
>     self.blocks_udp_source_0 = blocks.udp_source(gr.sizeof_gr_complex*1,
> "166.149.xxx.xxx", 9000, 1472, True)
>   File
>
> "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/gnuradio/blocks/blocks_swig5.py",
> line 1974, in make
>     return _blocks_swig5.udp_source_make(*args, **kwargs)
> RuntimeError: bind: Cannot assign requested address/
>
> Does anyone know how to resolve this? We are using GNU Radio 3.7.3 on a
> virtual Ubuntu 12.04 LTS.
>
> Thanks,
> Matias Ponce
>
> CellAntenna Engineer
>
> CellAntenna Corporation
>
> 12453 NW 44th Street
> Coral Springs, FL 33065
>
>
> Office: 954-340-7053 ext 10251
> E-mail: mpo...@cawireless.com
> Web: http://www.cellantenna.com
>
>
>
>
>
>
>
> --
> View this message in context:
> http://gnuradio.4.n7.nabble.com/Sending-Receiving-UDP-Data-Over-Internet-tp49055.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to