hardware OK but no Internet connection

Asked by benmaes

Internet connection works in Windows XP through Linksys router (wired). Kubuntu detects the hardware (NIC is Realtek) and returns info on ifconfig command but will not connect to the internet. Not response on ping command.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
benmaes
Solved:
Last query:
Last reply:
Revision history for this message
Ricardo Cropalato de Melo (ricardo-cropalato) said :
#1

What do you get when you run "ifconfig" and when you run "netstat -rn"?

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

ifconfig gave me the MAC address and HDW address. Also looks like therre were 0 (zero) RX and TX packets rcvd or sent. netstat -m was invalid, no '-m' parameter allowed. Tried '-n' and '-M'. Was either of those what you wanted?

Revision history for this message
benmaes (benmaes) said :
#3

After looking at my monitor more closely, I can see it was '-r n', not '-m'. Sure looked like an 'm' when next to each other. Anyway, this is what I got from netstat -rn......
Destination Gateway Mask Flag mss window irtt iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
169.254.0.0 0,0,0,0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth1

Revision history for this message
Ricardo Cropalato de Melo (ricardo-cropalato) said :
#4

I think you do not get IP configuration. Please show me the "ifconfig" output.

On Windows what you get when you run "ipconfig /all"?

Revision history for this message
benmaes (benmaes) said :
#5

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\DOCUME~1\HP_ADM~1>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : BenHP
        Primary Dns Suffix . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix . :
        Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Eth
ernet NIC
        Physical Address. . . . . . . . . : 00-13-D3-F7-05-22
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.105
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1
        DHCP Server . . . . . . . . . . . : 192.168.1.1
        DNS Servers . . . . . . . . . . . : 10.202.46.1
        Lease Obtained. . . . . . . . . . : Tuesday, December 04, 2007 8:46:15 A
M
        Lease Expires . . . . . . . . . . : Wednesday, December 05, 2007 8:46:15
 AM

Ethernet adapter Local Area Connection 3:

        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Bluetooth PAN Network Adapter
        Physical Address. . . . . . . . . : 00-15-83-C3-6E-2E

C:\DOCUME~1\HP_ADM~1>

Revision history for this message
Ricardo Cropalato de Melo (ricardo-cropalato) said :
#6

Well, as i can see, your linux box didn't get IP configuration from your dhcp server. And your windows box did.

restart the linux. let me see the ifconfig output.

you could try "sudo dhclient" on terminal to get dhcp configuration.

Revision history for this message
benmaes (benmaes) said :
#7

Sorry for the delay but I'm having to switch back and forth between OS's and figure out how to get the info from Linux into Windows and retain the formatting. Here's the info from ifconfig

inamaes@inamaes-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:E7:17:10:AD
          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)
          Interrupt:19 Base address:0x6000

eth1 Link encap:Ethernet HWaddr 00:13:D3:F7:05:22
          inet6 addr: fe80::213:d3ff:fef7:522/64 Scope:Link
          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)
          Interrupt:19 Base address:0x8000

eth0:avah Link encap:Ethernet HWaddr 00:18:E7:17:10:AD
          inet addr:169.254.5.205 Bcast:169.254.255.255 Mask:255.255.0.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          Interrupt:19 Base address:0x6000

eth1:avah Link encap:Ethernet HWaddr 00:13:D3:F7:05:22
          inet addr:169.254.5.93 Bcast:169.254.255.255 Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          Interrupt:19 Base address:0x8000

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:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3696 (3.6 KiB) TX bytes:3696 (3.6 KiB)

inamaes@inamaes-desktop:~$

Revision history for this message
benmaes (benmaes) said :
#8

Well, 'sudo dhclient' didn't much good either. Here's what I got...........

Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:13:d3:f7:05:22
Sending on LPF/eth1/00:13:d3:f7:05:22
Listening on LPF/eth0/00:18:e7:17:10:ad
Sending on LPF/eth0/00:18:e7:17:10:ad
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Revision history for this message
Ricardo Cropalato de Melo (ricardo-cropalato) said :
#9

try another thing.

ALT+F2, "gksudo network-admin"

configure manually you network because you can not get dhcp configuration.

on eth1:
IP: 192.168.1.105
MASK: 255.255.255.0
Gateway: 192.168.1.1
DNS: 10.202.46.1

Revision history for this message
benmaes (benmaes) said :
#10

I tried the ALT+F2 gksudo command and the system told me command not found. Couldn't configure it manually. I tried loading Kubuntu 64 bit version and regular ubuntu but with same results. Disconnected my router and fed the dsl modem output directly to the computer with same result. No connection but Linux tells me the wired connection exists.

Revision history for this message
Wepiha Te Ata (wepiha) said :
#11

Since you are using kubuntu you should use ALT+F2 "knetworkmanager" to load a tray application which you can then load a configuration dialog for your network settings.

Hope this helps.

Wepiha

Revision history for this message
benmaes (benmaes) said :
#12

I used Knetwork Manager to input the values for the network manually...............no help. Can't even access the router at 192.168.1.1 which seems strange to me.

Revision history for this message
Ricardo Cropalato de Melo (ricardo-cropalato) said :
#13

Change the cable to the other network card.

Revision history for this message
benmaes (benmaes) said :
#14

That was it. I had forgotten I had another NIC since I disabled it in Windows quite a while ago. I was only using the NIC on the motherboard. Once I moved the cable it worked with Linux. And I enabled it to work with Windows. Thanks for the help.

Revision history for this message
Offshore (georgelidakis) said :
#15

i have the same problem but i have only one NIC the one on the motherboard, (Realtek RTL8139/810x) and my newly installed ubuntu (8.04) cannot connect to the internet, i have a linksys router to the WAG 200G, and the ethernet led is off, though when i boot windows xp its on! plzz help somebody.

thnxx a lot