Wired connection don't work

Asked by Timo Kangas

Hi

I've recently installed Ubuntu to my laptop (Dell latitude). Ubuntu doesn't recognise eth0, it goes up but it don't take ip-configuration neither by DHCP nor manual setting. ifconfig shows interface without addresses ifdown says unknown interface. Wireless (eth1) works ok. I might have done installation without lan cable connected but not 100% sure.

r timo

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Timo Kangas
Solved:
Last query:
Last reply:
Revision history for this message
Timo Kangas (timo-kangas) said :
#1

ifconfig looks like this

eth0 Link encap:Ethernet HWaddr 00:12:3f:10:ca:ec
          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:16

eth1 Link encap:Ethernet HWaddr 00:12:f0:a1:e8:84
          inet addr:10.0.0.92 Bcast:10.0.0.255 Mask:255.255.255.0
          inet6 addr: fe80::212:f0ff:fea1:e884/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:9610 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7733 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5972999 (5.9 MB) TX bytes:1053419 (1.0 MB)
          Interrupt:17 Base address:0xa000 Memory:dfbff000-dfbfffff

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:425 errors:0 dropped:0 overruns:0 frame:0
          TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13105 (13.1 KB) TX bytes:13105 (13.1 KB)

Revision history for this message
Wim (launchpad-xs4all) said :
#2

Timo,

you do not need to install "network wired" but that made it some easier.
We are going to set things manually; i am guiding you through menus, but beware: i am calling you the menu-structure of an old version i am using; so perhaps the items i mention here have a different name on your PC...

FIRST:
* wire your PC to the modem/network
* boot your (modem and) PC

SECOND:
* check if connection-LED (if available) on PC and modem is lighting up; is there a "fysical" connection ?!?

THIRD:
I see in your ifconfig-output that the wired card is detected.

Go to <Applications>,... <System>,... <Network>,...
press the button <Unlock> (asks for your password)

select the Wired-Connection (is it checkboex"Active") and select the button <Properties>
The settings here you must read from info from your provider...

After everything is set to the proper settings, select <OK>
Close all program windows and reboot PC.

NOTE:
Some modems require that -after setting network- that the modem is RESET with the connected PC powered ON....

Is this helping you enough?!?
Otherwise please reply as much info as possible; these volunteers will try to help you.

Revision history for this message
Timo Kangas (timo-kangas) said :
#3

Hi

thanks about the answer. Unfortunatelly it didn't help. If you look the view of ifconfig, it shows that the interface is up and running but one reason or an other, TCP/IP stack is not activated foir this interface.

r timo

Revision history for this message
Wim (launchpad-xs4all) said :
#4

Timo,

indeed the interface is detected, but as you can see no RX-packets / TX-packets have been sent out; so that suggests either
- the interface is set inactive
- the interface is not configured completely yet

Both things must be seen in the Network-menu i described previously; there you can see 2 connections, the wireless-one and the wired-one.

Please be so kind and reply here all the settings and check-marks you find in the network menu for the Wired-connection.

Using that information i will try to help you activate this connection...
You did not answer my question about the fysical connection, so i assume that connection is correctly working (often can be seen by green LED lighting up...)

Revision history for this message
Timo Kangas (timo-kangas) said :
#5

Hi

both connections are enabled and leds blinking quite normally

r timo

Revision history for this message
Wim (launchpad-xs4all) said :
#6

Have you tried it command-line,
opena a terminal window and there enter the ONE commandline (broken in 2 lines here, but it is ONE line)

   sudo ifconfig eth0 add 192.168.1.2 netmask 255.255.255.0 up

This adds the IPv4 address 192.168.1.2 to the eth0 network card...

What is the reaction of Ubuntu to this?!?

Revision history for this message
Timo Kangas (timo-kangas) said :
#7

Hi

and the answer

SIOCSIFNETMASK: Cannot assign requested address

r timo

Revision history for this message
Timo Kangas (timo-kangas) said :
#8

Hi

problem had nothing to do with linux. Faulty ADSL-modem/DHCP-server caused the problem. I don't understand the mechanism of the problem but now everything is working.

Thank you for your help.

r timo