Ubuntu 6 network problem
Clint Tinsley
clintin at linuxmail.org
Sun Jul 23 01:57:27 UTC 2006
> ----- Original Message -----
> From: brian <thefergies at bigfoot.com>
> To: ubuntu-users at lists.ubuntu.com
> Subject: Re: Ubuntu 6 network problem
> Date: Sun, 23 Jul 2006 00:22:44 +0200
>
>
> Clint Tinsley wrote:
> >> ----- Original Message -----
> >> From: "b&p" <thefergies at inicia.es>
> >> To: ubuntu-users at lists.ubuntu.com
> >> Subject: Ubuntu 6 network problem
> >> Date: Sat, 22 Jul 2006 12:37:33 +0200
> >>
> >>
> >> Hello there: I've just installed Ubuntu on my hp laptop. The
> >> initial install was fine. However as soon as I connected to the
> >> internet, throught a b/band router it told me there were 128
> >> updates waiting. So I let it do all the updating. And then it
> >> asked for a restart and when I did that....no more internet.
> >> I've tried all the networking gui's and they say the NIC is
> >> active but it won't connect to anything. I can't ping anywhere
> >> except localhost either. Can someone offer some suggestions,
> >> please?
> >> Thanks
> >> b
> >
> >
> > You can't ping anywhere???
> >
> > Another command to check is ifconfig (minumum of two interfaces
> > should be listed):
> > desktop:/etc# ifconfig
> > eth0 Link encap:Ethernet HWaddr 00:0C:76:58:D4:11
> > inet addr:172.30.0.68 Bcast:172.30.0.255 Mask:255.255.255.0
> > inet6 addr: fe80::20c:76ff:fe58:d411/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:2222 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:2176 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:1847891 (1.7 MiB) TX bytes:450655 (440.0 KiB)
> > Interrupt:185 Base address:0xd800
> >
> > 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:7 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:372 (372.0 b) TX bytes:372 (372.0 b)
> >
> >
> >
> Thank you Clint. Sorry, I haven't got a clue what a dig is, or what
> the results mean to me. No I can't ping out to anywhere. ifconfig
> gives me eth0 and lo but eth0 shows 0 RX packets, and 0 TX packets.
> That means nothing's connecting to anywhere, so no ping responses.
> That's about the limit of my understanding of this matter. I'd like
> to get the thing back onto the net so I can google and search
> ubuntu forums and learn a bit more. Right now it just won't go
> anywhere. Seems like the updates have screwed things up somewhat.
> Any other ideas?
You reallly need to know what your network looks like for any of what I have written here to be of value.
Do you have another machine on your network that you can compare against? You need to know what subnet your router is handing out addresses on and what the gateway address is of the router. ifconfig and route -n should produce similar results on two machines on the same network, similar meaning the "route -n" results should be the same and ifconfig ip address would be in the same subnet (such as 172.30.0.x) with only x being a different number (address) but they should be very close in numerical value. It is possible that the dhcp client is not pulling the information from the router in order to get on the network or even a great possibility is that the NIC setup is "static" where it should be using dhcp. If by chance, your other computer is a windows system, you can use ipconfig (xp/win2k) to obtain the ipaddress and gateway information that it is using. (win98 - use winipcfg) Dig is a command to query DNS for the ip address of a website or other network resource; nslookup in windows provides a similar function. Using dig or nslookup can test DNS lookup as well as internet connectivity to some degree.
Clint
More information about the ubuntu-users
mailing list