Ubuntu Server 12.04.2 LTS problem

Today I installed Ubuntu Server 12.04.2 LTS i386 version on my old AMD Athlon 2000+ PC... The thing is I don't have access to internet. I cant even execute sudo apt-get update... An I cant ping

During installation I put the local IP 192.168.1.175, Subnet 255.255.255.0, nameserver from my ISP 194.146.109.223 and I left PROXY empty and I jut pressed enter after the proxy. Now I don't have any acces to internet from server and I can't update my machine...

Is it because I didn't put any PROXY address???

6

1 Answer

Per my comment above, it sounds like you've configured something you should have left as automatic. I would run sudoedit /etc/network/interfaces and make the file look something like this:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

Save that and run sudo /etc/init.d/networking restart or sudo restart networking (I can't remember if 12.04 is Upstart-converted). Assumign the ethernet device is supported, that should tell it to ask for a dynamic IP.

If you want to statically assign an IP (often a desirable thing for a server) I would get the DHCP server on the router to set your server's IP to the same thing each time. Most routers allow this sort of soft-static addressing by MAC address.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like