I have problem to connect internet with natty. cannot even ping router anymore
Sandy Harris
sandyinchina at gmail.com
Thu May 12 23:08:06 UTC 2011
On Fri, May 13, 2011 at 6:03 AM, Shuanghe <tworiversfolk at gmail.com> wrote:
> So I googled a bit and some web suggested the router didn't get ip etc. I
> tried everything I could find. Nothing worked. Can anyone help me with this?
> what information do you need? Any help would greatly appreciated. I really
> need to get the desktop working.
>
> cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
>
>
> I even added the following as suggested by some web. no luck there either.
> auto eth0
> iface eth0 inet dhcp
First questions: What do "ifconfig eth0" and "route -n" tell you?
Does "ping -c 1 192.168.1.1" work?
Ideally, you want to see eth0 with an IP address obtained by
DHCP, the router set as the default route, and the ping
delivering he packets.
If you do not see that, DHCP is not working. If the ping is
OK but rest not, check the router setup; it might be set to
do DHCP for wireless but not wired
connection.
If the ping fails, try replacing the cable.
More information about the ubuntu-users
mailing list