Ask Your Question

No connection only in terminal

asked 2016-02-26 06:30:14 -0500

peter55555 gravatar image

I'm a beginner. I try to use Fedora 23 in VirtualBox. I can connect to the Internet by browser (firefox) but when I try to update something in Terminal, for example using command: sudo dnf update kernel* I have an error:

Error: Failed to synchronize cache for repo 'fedora' from '' : Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for [Connection timed out after 120003 milliseconds]

I can open the link using Fedora browser.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-26 08:27:35 -0500

aeperezt gravatar image

That means you box do not have access to the Internet, while you have network connectivity you need check your dns servers. first see if you can ping out site your network you can ping google dns server if that works it means your dns is not resolving so you can set google dns as your server adding it at the file /etc/resolve.conf if you cannot ping outside your network you need to check you virtualbox network configuration to fix the network issue. Keep in mind that the change on the resolv.conf will work until you restart your box, so you probably need to solve the dns configuration on the virtualbox.

Good Luck.

edit flag offensive delete link more

Question Tools


Asked: 2016-02-26 06:30:14 -0500

Seen: 121 times

Last updated: Feb 26 '16