Internet connectivity issue

Asked by Brad

Hi there, I am new to Ubuntu and I have installed Ubuntu 10.10 on my PC from a disc I burnt. The problem is that I can't access the internet from a wired connection to the router which is then connected to the modem. My router displays that I am wired up to the computer and funnily enough so does the Ubuntu network connection in the top right hand corner but I can't access any web pages through Firefox. :/ I would also like to point out that my internet connection worked like this when I had XP installed a few days ago but then I formatted my HDD and installed Ubuntu.

I have scoured the internet for hours searching for a solution to no avail I am afraid, I typed ifconfig into the terminal and this information came up I think it will help anyone. :)

Ped ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:09:2e:d8:27
          inet6 addr: fe80::211:9ff:fe2e:d827/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3205 (3.2 KB) TX bytes:4949 (4.9 KB)
          Interrupt:23 Base address:0xc000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5504 (5.5 KB) TX bytes:5504 (5.5 KB)

Here is a screen shot of some more information that I hope will help:

http://i40.photobucket.com/albums/e236/TKilla-94/Screenshot1.png

If anyone needs any more information please say so and thanks in advance to anyone. :)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Brad
Solved:
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

Bonus points for clarity in explanation of problem!

It looks like you have a physical connection, but have not yet been assigned an IP address. Your router needs to be configured to issue IP addresses using DHCP, or you need to give your computer a static address, and let it know the IP of your router to use to forward network packets on (gateway and DNS)

https://secure.wikimedia.org/wikipedia/en/wiki/DHCP

Revision history for this message
mycae (mycae) said :
#2

When you have an address, the output from ifconfig should look something like this:

eth0 Link encap:Ethernet HWaddr 00:12:34:56:78:9A
          inet addr:123.45.67.89 Bcast:123.45.67.255 Mask:255.255.252.0
          inet6 addr: aabb::ccd:effg:hijk:lmnop/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:90808 errors:1 dropped:0 overruns:0 frame:11
          TX packets:10621 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27057406 (25.8 Mb) TX bytes:1367243 (1.3 Mb)
          Interrupt:17

note the "inet addr" line. The exact numbers will be different of course. Probably something like 192.168.a.b or 10.0.0.a (where a and b are numbers between 0->255) for the inet addr,

Revision history for this message
Brad (bjpollard) said :
#3

Hey thanks for the reply, and sorry for not replying earlier but I've been trying many things to try and get it to work, and still can't.

It seems the computer has a IP address now, and my router recognises it and I can log into the router configuration page on the Ubuntu computer but I still can't connect to the internet, on the router configuration page it says I am connected to the internet but I still can't view any web pages which is very frustrating, but I don't know where to go now, I've posted the new ifconfig details, and they seem to be in order to what you said they should be like, so any more help will be greatly appreciated.

eth0 Link encap:Ethernet HWaddr 00:11:09:2e:d8:27
          inet addr:192.168.2.4 Bcast:192.168.2.255 Mask:255.255.255.0
          inet6 addr: fe80::211:9ff:fe2e:d827/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:193 errors:0 dropped:0 overruns:0 frame:0
          TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:147686 (147.6 KB) TX bytes:26330 (26.3 KB)
          Interrupt:23 Base address:0xc000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:248 errors:0 dropped:0 overruns:0 frame:0
          TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19152 (19.1 KB) TX bytes:19152 (19.1 KB)

Thanks,
Brad

Revision history for this message
Brad (bjpollard) said :
#4

Hey thanks for the reply, and sorry for not replying earlier but I've been trying many things to try and get it to work, and still can't.

It seems the computer has a IP address now, and my router recognises it and I can log into the router configuration page on the Ubuntu computer but I still can't connect to the internet, on the router configuration page it says I am connected to the internet but I still can't view any web pages which is very frustrating, but I don't know where to go now, I've posted the new ifconfig details, and they seem to be in order to what you said they should be like, so any more help will be greatly appreciated.

eth0 Link encap:Ethernet HWaddr 00:11:09:2e:d8:27
          inet addr:192.168.2.4 Bcast:192.168.2.255 Mask:255.255.255.0
          inet6 addr: fe80::211:9ff:fe2e:d827/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:193 errors:0 dropped:0 overruns:0 frame:0
          TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:147686 (147.6 KB) TX bytes:26330 (26.3 KB)
          Interrupt:23 Base address:0xc000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:248 errors:0 dropped:0 overruns:0 frame:0
          TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19152 (19.1 KB) TX bytes:19152 (19.1 KB)

Thanks,
Brad

P.S. reposted as I didn't press "I still need an answer" button, sorry!!!

Revision history for this message
Willem Hobers (whobers) said :
#5

Have you tried finding out whether there is perhaps a firewall-setting on you router or modem which disallows the computer to access the internet?

My router has settings with which clients are allowed or disallowed to access the WAN (which is where you want to go to get to the internet).

Just my 2 cents.

Revision history for this message
Brad (bjpollard) said :
#6

Hey thanks for the reply, I didn't think of that, so I went and tried it and I thought that must be the reason, but sadly no luck, I disabled the router firewall and also put the computer on the allow list but that still didn't work, so I thought of bypassing the entire router altogether to I plugged to Ethernet cable directly into my modem and still IT DIDN'T WORK!!! :'( I DON'T UNDERSTAND WHY IT WON'T WORK!! :( and I don't think my modem has a firewall?!?! so it can't be a firewall problem.

Anyone got any more ideas, please!! I'm just about to give up with Ubuntu but I'm really loving using it and I'm not even connected to the internet yet. -_-

Thanks
Brad

Revision history for this message
Willem Hobers (whobers) said :
#7

Assuming you have connected your computer to the router again and the router
to the modem, I would try the following (as a way to localise "obvious"
problems):

- can you ping[1] the router?
if no: there is something amiss between pc and router.
if yes:
- can you ping the modem?
if no: there is something wrong between pc/router and modem
if yes:
- can you ping some internetsite that one is sure is always up and running
(say www.google.com)?
if no: something in your modem is preventing you from getting out into the
Wonderful World of the Web.
if yes:
you ARE connected to the internet but your browser won't connect, so your
browser might be the problem:
- has your browser been configured to use a proxy-server?
- is your browser set up to be "off line"?

Well, I am sure, these may be very obvious things to do, so you may already
have done them all. Only trying to be helpful.

[1]
start console and type:
ping <[ip-address]/[url]>
example:
ping 127.0.0.1
ping www.google.com

Pinging 127.0.0.1 may in fact be a wise first step in some cases: 127.0.0.1
is the "localHost", the pc you are pinging from. By pinging localhost you
are in fact testing whether or not the network connection "within" the pc is
"up".

2010/11/23 Brad <email address hidden>

> Question #134064 on gnome-nettool in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/gnome-nettool/+question/134064
>
> Status: Answered => Open
>
> Brad is still having a problem:
> Hey thanks for the reply, I didn't think of that, so I went and tried it
> and I thought that must be the reason, but sadly no luck, I disabled the
> router firewall and also put the computer on the allow list but that
> still didn't work, so I thought of bypassing the entire router
> altogether to I plugged to Ethernet cable directly into my modem and
> still IT DIDN'T WORK!!! :'( I DON'T UNDERSTAND WHY IT WON'T WORK!! :(
> and I don't think my modem has a firewall?!?! so it can't be a firewall
> problem.
>
> Anyone got any more ideas, please!! I'm just about to give up with
> Ubuntu but I'm really loving using it and I'm not even connected to the
> internet yet. -_-
>
> Thanks
> Brad
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Brad (bjpollard) said :
#8