Page 1 of 1
ElementaryOS - No Internet Connection
Posted: 5. Mar 2018, 23:58
by En-TACT
I'm running VirtualBox 5.2.8, successfully installed CentOS 7 and ElementaryOS 4.1. I have internet connection for CentOS, however, not for ElemetaryOS. Network adapter is set to NAT for both virtuals. Is there additional setup required for ElementaryOS?
Re: ElementaryOS - No Internet Connection
Posted: 6. Mar 2018, 07:05
by BillG
No, that should just work. It does for me. What do you see if you click on the network icon?
Elementary.PNG
Re: ElementaryOS - No Internet Connection
Posted: 7. Mar 2018, 05:06
by En-TACT
Almost identical to yours. I'm able to get updates, but cannot use the browser to visit a site (eg. amazon.com), and get a "we can't connect.." error.
Re: ElementaryOS - No Internet Connection
Posted: 7. Mar 2018, 06:32
by BillG
If you get an IP and can download updates, Internet access is working as it should. If it is a just the browser, that is an Elementary OS problem, not a VirtualBox problem.
Your screenshot does not look like the Elementary Epiphany browser. Where did it come from?
Re: ElementaryOS - No Internet Connection
Posted: 7. Mar 2018, 06:47
by socratis
BillG wrote:Where did it come from?
Mozilla. It says so on the title-bar
@En-TACT
Try the following
commands from a Terminal on your guest. I've included sample output that you should be focusing on:
$ ifconfig
enp0s3 Link encap:Ethernet HWaddr 08:00:27:40:51:1a
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
$ route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.2.2 0.0.0.0 UG 100 0 0 enp0s3
$ ping <DefaultGateway> <-- tests your connectivity
$ ping 8.8.8.8 <-- tests outgoing connectivity
$ ping google.com <-- tests name resolution
If you can ping your "gateway", if you can ping "8.8.8.8", if you can ping "google.com", VirtualBox is working as it should. You should look elsewhere for your browser connectivity. Look in your host for firewalls, proxies, antivirus filters, web-cleaning applications, redirectors, etc.
Re: ElementaryOS - No Internet Connection
Posted: 7. Mar 2018, 20:24
by En-TACT
Thanks for the replies..
ElementaryOS has an IP, and I'm able to ping my gateway, 8.8.8.8, google.com. My host machine is running Avast. Disabled it, same issue. I encountered the issue with Epiphany browser, so I downloaded FireFox thinking it was that browser. But I'm seeing it as well in Firefox.
Re: ElementaryOS - No Internet Connection
Posted: 7. Mar 2018, 21:02
by socratis
En-TACT wrote:ElementaryOS has an IP, and I'm able to ping my gateway, 8.8.8.8, google.com.
Then it's not a VirtualBox problem. You got to start searching elsewhere. I already gave you some ideas, you shouldn't expect me to pinpoint the culprit remotely...