I have installed CentOS 6.3, OpenSUSE 12.1 and Ubuntu 12.04 on VMware Workstation 9. On any of these when I use ping to check network connectivity, I receive a proper answer, but when try to update them using yum, yast and apt-get, they all return error message like "can't reach repository".
I changed network setting in OSs and also in VMware over and over, but nothing happened.
Also from CentOS (and probably other OSs) I cannot use firefox to access internet also cannot use wget to fetch a page such as yahoo.com, it says: "Connecting to yahoo.com (yahoo.com)|98.138.253.109|:80... failed: Connection refused. "
on Ubuntu I do/see this:
root@ubuntu:~# apt-get update Err http://packages.mate-desktop.org precise InRelease Err http://packages.mate-desktop.org precise Release.gpg Unable to connect to packages.mate-desktop.org:http: Err http://extras.ubuntu.com precise InRelease Err http://extras.ubuntu.com precise Release.gpg Unable to connect to extras.ubuntu.com:http: Err http://ppa.launchpad.net precise InRelease Err http://ppa.launchpad.net precise Release.gpg Unable to connect to ppa.launchpad.net:http: Err http://security.ubuntu.com precise-security InRelease Err http://security.ubuntu.com precise-security Release.gpg Unable to connect to security.ubuntu.com:http: Err http://us.archive.ubuntu.com precise InRelease Err http://us.archive.ubuntu.com precise-backports InRelease Err http://us.archive.ubuntu.com precise-updates InRelease Err http://us.archive.ubuntu.com precise Release.gpg Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80] Err http://us.archive.ubuntu.com precise-backports Release.gpg Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80] Err http://us.archive.ubuntu.com precise-updates Release.gpg Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80] Reading package lists... Done W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/InRelease W: Failed to fetch http://packages.mate-desktop.org/repo/ubuntu/dists/precise/InRelease W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease W: Failed to fetch http://ppa.launchpad.net/xubuntu-dev/xfce-4.10/ubuntu/dists/precise/InRelease W: Failed to fetch http://packages.mate-desktop.org/repo/ubuntu/dists/precise/Release.gpg Unable to connect to packages.mate-desktop.org:http: W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to extras.ubuntu.com:http: W: Failed to fetch http://ppa.launchpad.net/xubuntu-dev/xfce-4.10/ubuntu/dists/precise/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Unable to connect to security.ubuntu.com:http: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.14 80] W: Some index files failed to download. They have been ignored, or old ones used instead.
ping yahoo.com.