[USRP-users] Trouble Connecting to N210 in VMWare

Ken M Erney gsmmobiledev at gmail.com
Sat Oct 7 11:34:07 EDT 2017


Hi Tellrell,

I am using virtual box but I have used VMWare Fusion as well and both have the option to specify that the network adapter should be bridged.  I am not a network guy, so I cant offer any advice regarding the alias approach you mention.  What I do know regarding my setup is that when its configured in bridged mode, the adapter on the VM will show up on your network as another machine and not be NAT’d behind the VMWare client.  So for VMWare Fusion (OSX) and virtual box, there is a setting in the guest configuration that allows you to specify if the adapter is NAT’d, bridged, host only, etc.  In that config, specify bridged.  Once the OS boots, you can then go into the Ubuntu network config and configure the adapter with a manually assigned IP (i.e. not DHCP). In my case, I modified the interfaces file in ubuntu to use a static IP (192.168.10.5) and subnet (255.255.255.1).  No gateway.  It then worked without issue.

Another option is to change the IP of the N210 to a fixed address on your real network.  The N210 won’t do DHCP but you can usually reserve and IP on your network and then just burn it into the N210.  Then on the guest OS config side, also specify bridged mode and let your network DHCP assign an IP to the guest.  It should work that way as well.

Give that you are using an alias, it would seem that this would do the same thing as what I am describing.  What we need is somebody with network experience to chime in here.  Oh one thing… when you say “alias” are you referring to setting this in the hosts file on ubuntu?  That may not work the same way, but I don’t know.  One other thing is to make sure that IP tables or the ubuntu firewall is turned off.  You CAN run a firewall on Ubuntu and still support the N210, but turning it off for right now would make sure that it is not interfering with the comms.

Also, when running the uhd_find_devices… try calling it and passing it the ip address of your N210… just in case.

- ken


> On Oct 6, 2017, at 11:31 PM, Tellrell White via USRP-users <usrp-users at lists.ettus.com> wrote:
> 
> Ken
> I'm using vmware. Not sure if you used the same client but how exactly did you configure your vm to bridged. Also, I used the command to set an alias ip to 192.168.10.1 which is in the same subnet as the N210, not sure if thats different from the manual approach you're suggesting.
> 
> Tellrell
> 
> 
> On Friday, October 6, 2017 10:32 PM, Ken M Erney <gsmmobiledev at gmail.com> wrote:
> 
> 
> What are you using as the VM software client (e.g. VMware, virtual box, etc.). I was able to get mine to work but I had to configure my VM eth as "bridged". I also set it with a manually configured ip in the same subnet as the N210.
> 
> - ken
> 
> On Oct 6, 2017 10:23 PM, "Tellrell White via USRP-users" <usrp-users at lists.ettus.com <mailto:usrp-users at lists.ettus.com>> wrote:
> Hello Guys. 
> I'm currently trying to connect to the N210 using an ubuntu 14.04 virtual machine. I've tried the commands uhd_find_devices and also uhd_usrp_probe and they both indicate "no devices found". Pinging 192.168.2 comes up empty as well. I used the command sudo ip address add 192.168.10.1/255.255.255.0 <http://192.168.10.1/255.255.255.0> dev eth0 to set the ip of the virtual machine. I'm connected to the internet via wi-fi. The version of UHD i'm using is 3.10.2. Any help is greatly appreciated. 
> 
> Regards
> Tellrell
> 
> ______________________________ _________________
> USRP-users mailing list
> USRP-users at lists.ettus.com <mailto:USRP-users at lists.ettus.com>
> http://lists.ettus.com/ mailman/listinfo/usrp-users_ lists.ettus.com <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>
> 
> 
> 
> 
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20171007/6107cc9b/attachment-0002.html>


More information about the USRP-users mailing list