Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHello everyone,
Is there a method available to establish the IP
address of the USRP you are using? If so can someone tell me the procedure.
I am using an NI device by the way, not an Ettus device.
Also since apparently i am advised to match the IP address of my USRP(For
the laptop to be able to detect the USRP device) with the Host address (MY
Laptop IP address, i reckon), can someone tell me the procedure as to how
to achieve this?
Thanks a lot,
Vinayak Anant Karandikar
A device name/model would help.
I'm going to explain how our USRP's (Ettus N310's) and hosts (linux
machines) are configured. The N310 has a linux running inside on the SD
card. Don't know how to configure other kinds of USRP's.
For each N310:
ssh into root or use screen via USB
cd /etc/systemd/network
ls (you should shee <name>network
use text editor to change IP, MTU, ect... to whatever you want.
For a linux host machine:
You have two options:
A: Use your distros GUI to configure whatever IP address you want
B: Use the terminal and ifconfig
B1: ifconfig <interface_name> <ip>
B2: ifconfig <interface_name> mtu <value>
Also you do not want to exactly match IP address between the host and USRP.
Do something like this.
USRP: 192.168.xx.2
Host: 192.168.xx.1
xx is of your choice (pick the same number for both)
On Thu, Apr 25, 2019 at 1:27 PM VINAYAK KARANDIKAR via USRP-users <
usrp-users@lists.ettus.com> wrote:
Hello everyone,
Is there a method available to establish the
IP address of the USRP you are using? If so can someone tell me the
procedure. I am using an NI device by the way, not an Ettus device.
Also since apparently i am advised to match the IP address of my USRP(For
the laptop to be able to detect the USRP device) with the Host address (MY
Laptop IP address, i reckon), can someone tell me the procedure as to how
to achieve this?
Thanks a lot,
Vinayak Anant Karandikar
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
On 04/25/2019 04:26 PM, VINAYAK KARANDIKAR via USRP-users wrote:
Hello everyone,
Is there a method available to establish
the IP address of the USRP you are using? If so can someone tell me
the procedure. I am using an NI device by the way, not an Ettus device.
Here's the top of the X310 documentation tree--I believe you have a
2954R? It's just an X310 with a pair of UBX-160 cards and a built-in
GPSDO:
Also since apparently i am advised to match the IP address of my
USRP(For the laptop to be able to detect the USRP device) with the
Host address (MY Laptop IP address, i reckon), can someone tell me the
procedure as to how to achieve this?
That is true of ANY IP device, whether it's a USRP or a toaster--if you
have a dedicated piece of wire between your computer and the device
(as Ettus strongly recommends) then your computers ethernet port
and the USRP have to be on the same IP subnet in order for it to be
reachable, and again, that's not something peculiar to a USRP.
Thanks a lot,
Vinayak Anant Karandikar
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com