PDA

View Full Version : [ubuntu] Internet connection not working - 9.04



ntoko
September 18th, 2009, 10:29 PM
Internet does not work on my computer with 9.04
I installed Ubuntu 9.04 an XP desktop which is connected to my home network via ethernet. My ADSL router is Motorola Netopia and configured not to use PPoE. On my Ubuntu, I have tried DHCP, Manual and other reasonable options. My client computer running Ubunto can see all other nodes on my local. My router sees the ubuntu computer LAN but NO INTERNET CONNECTION. I was rather excited to finally start my transition from Windows to Linux but ... I need my Internet to work. I need some help here!!

pdc124
September 19th, 2009, 08:08 AM
whats the output of

sudo ifconfig

and
sudo route -n

ntoko
September 19th, 2009, 11:25 AM
root@ubuntu:~# sudo ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:bf:35:45:da
inet addr:192.168.1.99 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe35:45da/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60095 errors:0 dropped:0 overruns:0 frame:0
TX packets:668 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4685598 (4.6 MB) TX bytes:42966 (42.9 KB)
Interrupt:11 Base address:0x7800

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:416 (416.0 B) TX bytes:416 (416.0 B)

wlan0 Link encap:Ethernet HWaddr 00:13:d3:7a:ea:2f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wmaster0 Link encap:UNSPEC HWaddr 00-13-D3-7A-EA-2F-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@ubuntu:~# sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0

pdc124
September 19th, 2009, 07:56 PM
so its got an IP address from your router but doesnt know to send stuff back to it .

Whats the IP of your router ?

try ping -c4 192.168.1.1 and see if you get anything back

you can set the route manually
http://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/

tells you how
route add default gw 192.168.1.1 eth0

and see what happens

go to0 www.google.com and see if it works
if it doesnt
try
http://209.85.227.103

Iowan
September 20th, 2009, 11:45 PM
Is your interface configured with Network Manager, /etc/network/interfaces, or something else (WICD)?