PDA

View Full Version : [ubuntu] Internet Help



hwang251
May 19th, 2008, 09:26 PM
I'm having a problem with connecting to the internet with Ubuntu Server.

I tried pinging it, but it just hangs there.

Oak37
May 19th, 2008, 09:36 PM
Is this a wired ethernet connection you have or a wireless connection? If it is a wired connection then have you properly configured your router/modem?

hwang251
May 20th, 2008, 03:51 PM
Is this a wired ethernet connection you have or a wireless connection? If it is a wired connection then have you properly configured your router/modem?

Its a wired connection, and we're connecting to a school's network

windependence
May 20th, 2008, 04:09 PM
Its a wired connection, and we're connecting to a school's network

What did you try to ping?

-Tim

hwang251
May 20th, 2008, 04:15 PM
What did you try to ping?

-Tim

I tried pinging the school's website

windependence
May 20th, 2008, 04:20 PM
I tried pinging the school's website

You will need to set up the DNS servers and the default gateway to get out to the internet. Is this machine configured via DHCP or does it have a static IP address?

-Tim

hwang251
May 20th, 2008, 04:23 PM
You will need to set up the DNS servers and the default gateway to get out to the internet. Is this machine configured via DHCP or does it have a static IP address?

-Tim

The machine is configured via DHCP, so what do I need to do to set up the DNA servers and the default gateway?

cdtech
May 20th, 2008, 04:33 PM
sudo pico /etc/network/interfaces

# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp

Hope this helps.....

hwang251
May 20th, 2008, 04:52 PM
sudo pico /etc/network/interfaces

# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp

Hope this helps.....

I did that but it still has no connection