I can’t seem to get my virtual machine to talk to the internet. When I start the OpenEMR appliance in VMPlayer, I enter the given address into my browser (doesn’t matter which browser I use) and it says it cannot connect to the site. When I admitted I was a wimp and attempted desktop installation, I got a lot of “Could not resolve ‘us.archive.ubuntu.com’” messages. Any ideas?
The link you need to browse to on the virtual machine will be a IP Address, like http:/192.168.1.100/openemr/, Look at the bootup screen and it will give you the address to use.
-Tony
Check your network adapter settings in the VMWare player virtual machine settings. What is it set to? It needs to be either bridged or NAT for the virtual machine to be able to get to the rest of the world.
Your description of your problem doesn’t make it clear if the problem you are having is with the virtual machine getting to the rest of the world, or your host machine simply can’t access the virtual machine, or both.
Kevin,
The reason it is unclear is that I don’t know. It just seems to me that my virtual machine cannot access the internet. My network settings are Bridged with the “Replicate physical network connection state” box checked. I’ve tried all of the settings to no avail.
Thanks, Joe
Start a command prompt and then issue the command
ping <Virtual Machine IP Address>
i.e.
ping 192.168.1.101
and let us know what happens. That should give you information about whether the host machine sees the vm at all.
Similarly, from a console in your virtual machine try pinging the hostmachine’s ip address and then try pinging something off on the internet.
e.g.
ping 18.241.0.1
When I ping an IP address, I get “Network is Unreachable”. When I ping my openemr IP, I get a string of “64 bytes from 127.0.0.1: icmp_seq=NN ttl=64 time=N.NNN ms”. It just kept doing (in a loop) that until I shut it down. By then it had reached icmp_seq=500.
What is your host OS? and is 127.0.0.1 the address you think is your openemr IP? did you try to use that in the url to reach the webserver from your browser?
that is definitely not the correct ip address as that is the loopback address. http://en.wikipedia.org/wiki/Localhost
Log on to the appliance and from the command line issue the command
ifconfig
you should get something like this:
the inet addr for eth0 is what you need to use for the ipaddress. If there is no eth0, then I’m not sure what to do.
First, try this within the appliance (as the root user) and then restart the appliance (sometimes when you move the appliance to another directory it can cause issues that this will solve):
rm -f /etc/udev/rules.d/61-net_config.rules
If above does not work, then likely a network issue. The appliance is like another computer (in bridged mode), so your network will treat it like a computer. In most situations, this means it gets assigned an IP address via DHCP (from a router). Some work environments may not be as forgiving (ie. not allow new computers on the network by not providing IP addresses to them). Provide a quick description of your network.
What this means is that your VM has no ethernet adapter configured to the outside world. I suggest that you try switching the network connection to NAT from bridged mode, reboot the VM and try ifconfig again and see if it can detect a virtual ethernet adapter in that mode.