On 10/25/2018 12:06 PM, Farhad Mirkazemi wrote:
HI Marcus,
Sorry I was away from my office for few days;
*I first made sure I have a new IP address by doing this:*
sudo ./usrp2_recovery.py --ifc=enp4s0 --new-ip=192.168.10.3
[sudo] password for farhad:
('Opening raw socket on interface:', 'enp4s0')
('Loading packet with ip address:', '192.168.10.3')
Sending packet (22 bytes)
Done
*so when I ping for the address 192.168.10.3, I get:*
"""""ping 192.168.10.3
PING 192.168.10.3 (192.168.10.3) 56(84) bytes of data.
64 bytes from 192.168.10.3: icmp_seq=1 ttl=64 time=0.065 ms
64 bytes from 192.168.10.3: icmp_seq=2 ttl=64 time=0.043 ms
64 bytes from 192.168.10.3: icmp_seq=3 ttl=64 time=0.042 ms
64 bytes from 192.168.10.3: icmp_seq=4 ttl=64 time=0.042 ms
64 bytes from 192.168.10.3: icmp_seq=5 ttl=64 time=0.047 ms
64 bytes from 192.168.10.3: icmp_seq=6 ttl=64 time=0.041 ms
^C
--- 192.168.10.3 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5100ms
rtt min/avg/max/mdev = 0.041/0.046/0.065/0.011 ms"""""
*but when I do:*
""""" uhd_usrp_probe --args "addr=192.168.10.3" """""
I get:
linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_003.009.005-0-g32951af2
Error: LookupError: KeyError: No devices found for ----->
Device Address:
addr: 192.168.10.3
*My Ethernet setup is also as follows:*
Inline image
Still any idea?
Many many thanks
-Farhad
Farhad, it seems that you have your host IP address set to the same as
the address of your USRP2. This cannot
work. Every device, whether it's a computer, a USRP, a router, a
server, a toaster, etc, needs an address
that is contextually unique. Set your host (PC) address to
192.168.10.1 and you should be OK.
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com