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 USRP Hardware Driver and USRP Manual: USRP2 and N2x0 Series,
“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.
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 USRP Hardware Driver and USRP Manual: USRP2 and N2x0 Series
[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?)
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.