I've got Ubuntu 12.04 TLS running on Virtual box, when I try and do wget
it's taking about 10 seconds to connect to a server, although the download itself is quick.
If I run the same command in terminal on my laptop, it's instant.
:~$ time wget example.com/profile/avatar/USERID-640.jpg
--2014-02-26 09:52:58-- http://example.com/profile/avatar/USERID-640.jpg
Resolving example.com (example.com)... 54.230.2.117, 54.240.166.35, 54.230.0.66, ...
Connecting to example.com (example.com)|54.230.2.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40145 (39K) [application/octet-stream]
Saving to: `USERID-640.jpg.7'
100%[===========================================================================>] 40,145 --.-K/s in 0.04s
2014-02-26 09:53:08 (898 KB/s) - `USERID-640.jpg.7' saved [40145/40145]
real 0m10.269s
user 0m0.000s
sys 0m0.004s
This is what the network settings look like:
Summary of settings from image:
- Attached to: Bridged Adapter
- en0: Wi-Fi (AirPort)
- Adapter Type: Paravirtualized Network (virtio-net)
I've also tried some other Adapter Types, it makes no difference
The file should download immediately, but when I try and check for files existences in PHP pages it's timing out the web server due to the slow page loads.
I'm using OS X mavericks, Virtual box 3.3.6
EDIT
Added /etc/resolv.conf
as requested:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.1
search Home
EDIT
Just trying to access serverfault.com
- time curl serverfault.com (real 0m10.516s)
- time wget serverfault.com (real 0m10.607s)
- time lynx -dump serverfault.com (real 0m30.709s)