1

I am trying to get Ubuntu version 14.04.1 running on a Windows 7 64 bit system. The Oracle VirtualBox is version 5.0.12r104815.

From a terminal window in Ubuntu I am able to ping google.com and other addresses. But I cannot get the system to update or install other software.

I have the default horrible 640x480 resolution which I cannot change and want to install the tools to change the resolution.

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-x11

I get an instant response:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package virtualbox-guest-dkms
E: Unable to locate package virtualbox-guest-x11

When I try to run an update:

sudo apt-get update

The response is a continuous:

0% [Connecting to gb.archive.ubuntu.com (91.189.92.201...

I can't open google.com in firefox either, yet I can ping google.com

I have setup the system with the correct company DNS address. All the host names and addresses will ping ok, but I can't get any data response back to the system. I suspect it is a firewall problem. The companies IT dept has experience in Windows only, what ports do I need to ensure are opened?

SPlatten
  • 113

2 Answers2

0

first check if gateway is setup correctly

#route

check the gateway if not ok then

#route delete default gw (your gateway ip)

#route add default gw (your gateway ip)

then

do a

DNS

-A INPUT -p tcp -m tcp --sport 53 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -j ACCEPT

apt-get

-A INPUT -p tcp --sport 80 -j ACCEPT
0

In the end I believe the problem was related to our firewall, I set-up a proxy and everything now works, the information came from this post:

proxy settings don't help with update manager

SPlatten
  • 113