I need to share a folder between the host (Windows 7) and the guest (Oracle Linux 6.4 x86-64), so I have to install Guest Additions. By following the "UserManual.pdf" (downloaded from www.virtualbox.org), I came across a problem. I have internet connection on the host, but it seems I don't have on the guest, and I don't have a web browser to check:
$ yum install dkms
Loaded plugins: security
http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host ' public-yum.oracle.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_UEK_latest. Please verify its path and try again
$ wget google.com
--2013-11-15 11:57:44-- http://google.com/
Resolviendo google.com... falló: Fallo temporal en la resolución del nombre.
wget: unable to resolve host address 'google.com'
$ uname -r
2.6.39-400.17.1.el6uek.x86_64
I've tried several things but none worked:
1)
cd /var/lib/rpm
rm -f __db*
rpm --rebuilddb
2) yum clean all
3)
$ ls -l /etc/resolv.conf
-rw-r--r--. 1 root root 0 oct 7 10:17 /etc/resolv.conf
$ echo nameserver 8.8.8.8 >> /etc/resolv.conf
$ cat /etc/resolv.conf
nameserver 8.8.8.8
I've been googling for hours, and at this point I gave up. Please help me.