Forum: GNU Radio USRP N210 Network Issues

Posted by Justyn Bell (Guest)
on 2013-01-22 19:30
(Received via mailing list)
Hello list,

Hopefully this is an appropriate place to ask this question:

I'm trying to connect a host machine to a switch in which a USRP N210 is
also connected.  I have configured the host machine's IP to be static on
the 192.168.10.0/24 subnet, and can successfully ping the N210 at
192.168.10.2.  However, when I try to do a "uhd_usrp_probe", the command
simply returns the following:

linux; GNU C++ version 4.6.3; Boost_104601; 
UHD_003.004.002-152-gdb8f128e

Error: Connection refused

I have also tried to do "uhd_usrp_probe --args="addr=192.168.10.2" in
which case it returns the following:

linux; GNU C++ version 4.6.3; Boost_104601; 
UHD_003.004.002-152-gdb8f128e

Error: LookupError: KeyError: No devices found for ----->
Device Address:
     addr: 192.168.10.2

My first thought was that it is some kind of firewall issue, so I issued
a "sudo ufw disable", but the results didn't change (when trying to
probe, it returns the above errors, I can still ping).

According to
http://files.ettus.com/uhd_docs/manual/html/usrp2....,
"When the IP address is not specified, the device discovery broadcasts
UDP packets from each ethernet interface."  Which implies that broadcast
UDP packets are not sent when an IP /is/ specified (which is what I did
in my second attempt to probe the USRP), so I don't think it's a
firewall issue.

The switch is a Netgear GS608 which I don't think has "broadcast storm"
control, anyway.

Thanks for any help on the issue.
Posted by unknown (Guest)
on 2013-01-22 19:37
(Received via mailing list)
On 22 Jan 2013 13:29, Justyn Bell wrote:

> Hello list,
>
>
Hopefully this is an appropriate place to ask this question:
>
> I'm
trying to connect a host machine to a switch in which a USRP N210 is
also connected. I have configured the host machine's IP to be static on
the 192.168.10.0/24 subnet, and can successfully ping the N210 at
192.168.10.2. However, when I try to do a "uhd_usrp_probe", the command
simply returns the following:
>
> linux; GNU C++ version 4.6.3;
Boost_104601; UHD_003.004.002-152-gdb8f128e
>
> Error: Connection
refused
>
> I have also tried to do "uhd_usrp_probe
--args="addr=192.168.10.2" in which case it returns the following:
>
>
linux; GNU C++ version 4.6.3; Boost_104601;
UHD_003.004.002-152-gdb8f128e
>
> Error: LookupError: KeyError: No
devices found for ----->
> Device Address:
> addr: 192.168.10.2
>
> My
first thought was that it is some kind of firewall issue, so I issued a
"sudo ufw disable", but the results didn't change (when trying to probe,
it returns the above errors, I can still ping).
>
> According to
http://files.ettus.com/uhd_docs/manual/html/usrp2....
[1], "When the IP address is not specified, the device discovery
broadcasts UDP packets from each ethernet interface." Which implies that
broadcast UDP packets are not sent when an IP _is_ specified (which is
what I did in my second attempt to probe the USRP), so I don't think
it's a firewall issue.
>
> The switch is a Netgear GS608 which I don't
think has "broadcast storm" control, anyway.
>
> Thanks for any help on
the issue.
>
> --
> Justyn

Simple test. Does it all work when directly
connected? (Or are you using a switch because your host doesn't support
1GiGe?)



Links:
Posted by Justyn Bell (Guest)
on 2013-01-22 19:54
(Received via mailing list)
I definitely should have mentioned that initially.  Yes it works
perfectly when directly connected.  But I would like to configure the
eth interface to have two addresses, because we're on a campus, one for
network communications to the outside world, one for the USRP, and use a
switch to bring it all together.

Both the host and the switch support 1 GigE.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.