# Changing the IP of USRP2

**URL:** <https://www.ruby-forum.com/t/changing-the-ip-of-usrp2/233937>\
**Category:** GNU Radio\
**Created:** [January 23, 2015, 5:28pm UTC](https://www.ruby-forum.com/t/changing-the-ip-of-usrp2/233937 "2015-01-23T17:28:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [January 23, 2015, 5:28pm UTC](https://www.ruby-forum.com/t/changing-the-ip-of-usrp2/233937/1 "2015-01-23T17:28:11Z")

</div>

Hi All,

I am a newbee to grc and USRP. I need some help regarding changing the  
IP  
address of the USRP. I checked the previous threads on this discussion  
and  
searched a bit to do this, but couldn’t get it working.

My host PC IP is 192.168.10.1

My USRP1’s IP is 192.168.10.2

My USRP2’s IP is 192.168.10.2 Currently. I want to set this IP to  
192.168.10.4

I disconnected USRP1 and tried this command  
sudo ./usrp2\_recovery.py --ifc=eth0 --new-ip=192.168.10.4

The output is

(‘Opening raw socket on interface:’, ‘eth0’)  
(‘Loading packet with ip address:’, ‘192.168.10.4’)  
Sending packet (22 bytes)  
Done

I removed the power source and connected it back and tried to ping the  
new  
IP 192.168.10.4, I dont get any reply. Also I tried uhd\_find\_devices but  
It  
shows the same old IP 192.168.10.2.

I tried the second approach  
./usrp\_burn\_mb\_eeprom --args=192.168.10.2 --key=ip-addr  
–val=192.168.10.4

I get this as the output:  
./usrp\_burn\_mb\_eeprom: symbol lookup error: ./usrp\_burn\_mb\_eeprom:  
undefined symbol: \_ZN3uhd6device4makeERKNS\_13device\_addr\_tEm

Can some1 help me understand whats happening here ? I appreciate the  
help.

Thanks.

---

<div class="post-metadata">

**Author:** ![vaibhav\_kulkarni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vaibhav\_kulkarni](https://www.ruby-forum.com/u/vaibhav_kulkarni)\
**Post date:** [January 26, 2015, 7:44pm UTC](https://www.ruby-forum.com/t/changing-the-ip-of-usrp2/233937/2 "2015-01-26T19:44:11Z")

</div>

Hello Vaibhav,

you’re getting runtime linker errors.  
My diagnosis here is that on your PC there’s a mix of different versions  
of USRP drivers installed, which will not work. Please make sure to  
uninstall all installations of UHD, install the latest version for your  
linux, and re-build GNU Radio to make it use that version.

It’s a bit surprising to see usrp2\_recovery not work; did you directly  
connect the USRP to your PC using a Gigabit Ethernet-compatible cable  
and network controller?

Greetings,  
Marcus
