Changing the IP Address
The USRP N210 comes with a default IP address of 192.168.10.2 which may be changed (e.g. 192.168.1.13):
sudo /usr/local/lib64/uhd/utils/usrp2_recovery.py --ifc=em1 --new-ip=192.168.1.13
Increase Socket BUffers
sudo vi /etc/sysctl.conf
# Increase buffers for USRP
net.core.rmem_max=162149863
net.core.wmem_max=162149863
Realtime Priority
sudo vi /etc/security/limits.conf
# Add for USRP realtime priority
myusername - rtprio 99
Will require re-login
Updating N210 Firmware and FPGA
sudo /usr/local/lib64/uhd/utils/uhd_images_downloader.py
cd /usr/local/lib64/uhd/utils
./usrp_n2xx_net_burner.py --addr=192.168.1.13 --fw=/usr/local/share/uhd/images/usrp_n210_fw.bin
./usrp_n2xx_net_burner.py --addr=192.168.1.13 --fpga=/usr/local/share/uhd/images/usrp_n210_r4_fpga.bin
Cycle power on the USRP
Probe
uhd_usrp_probe --args "addr=192.168.1.13"
Benchmark
cd /usr/local/lib64/uhd/examples
./benchmark_rate --rx_rate 25E6 --tx_rate 25E6 --args "addr=192.168.1.13"
Leave a Reply