No internet access after installing GUI on ubuntu server
Hi all,
I was having a hard time configuring ubuntu server with command line so this is the steps I did to install the GUI; Code:
apt-get update Code:
apt-get upgrade Code:
apt-get install ubuntu-desktop then I tried Update Manager and received this error message: Requires installation of untrusted packages I tried this in terminal window Code:
apt-get update W: Failed to fetch http://au.archive.ubuntu.com/........ (-5 - No address associated with hostname So I did System Testing and got the result that my network was fine but my internet failed! I could do command line update no problem before installing GUI. I can see it on the network on another computer though. Trying to setup without the GUI is starting to look easier than with. :banghead: Thanks for any help. Cheers. |
First, don't login as root in the GUI
Make sure your default gateway and dns are correct. What's the output from Code:
ping 74.125.230.83 |
1 Attachment(s)
Thanks for the help, below is the screen shot of my router that plugs into a adsl modem.
Sorry to be a pain but could you help with static ip address, network address, gateway address etc Code:
ping 74.125.230.83 but google.com did not Thanks |
You need to put the dns in
Quote:
Try to put the dns from your provider or use opendns Quote:
|
Ok, will try again after work.
Where can I find dns server? Sorry for all the Q's Cheers |
You can set the dns in your router, when you use dhcp, it will be given out with the ip address to your computer.
You can also add the dns in the file /etc/resolv.conf on your computer Quote:
|
/etc/resolv.conf
is # Generated by NetworkManager search gigglenetwork Gigglenetwork is what I called my home network and thought it was only the wireless network name. Should I just add the nameserver info after this in the /etc/resolv.conf file? |
First see if networkmanager has an option to add the DNS
Since /etc/resolv.conf is regenerated by networkmanager at every restart of the network. If you don't have an option in networkmanager; you can do the following Code:
sudo cp /etc/resolv.conf /etc/resolv.conf.auto |
Thanks repo for all your input.
Still no go but. After reading alot more I'm going to reinstall server version and give it another crack. Cheers |
try t remove
Quote:
Kind regards |
I had the same problem and I stumbled upon a solution almost by accident.
First delete, yes delete, /etc/resolv.conf. Then connect using your network manager. It should work, at least that's how it worked for me. What probably happens is that the network manager, on finding the conf file missing immediately creates a new resolv.conf file. |
All times are GMT -5. The time now is 08:29 AM. |