LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ifup eth0 fails.... (http://www.linuxquestions.org/questions/linux-hardware-18/ifup-eth0-fails-208448/)

esi-eric 07-22-2004 04:26 PM

ifup eth0 fails....
 
Hello Everyone:

I am in need of some assistance. My ethernet card and
connection to our LAN worked previously with Linux 7.2 configured as BOOTPROTO=dchp. I have 2 other machine running the same Linux 7.2 and they perform the DHCP just fine. Now, when I boot the machine to Linux 7.2 or do an "ifup eth0" or a "service network restart" I get the following:

Bringing up interface eth0: Determining IP information for eth0....failed.

I don't understand what has changed that could cause this problem to occur as I did not change anything in Linux. Now, I know that the LAN and the card work with DHCP in Windows XP PRO (on the SAME machine) as the Internet Explorer is working perfectly, so it must be something that changed in the Linux side of the house. Thank you for your time and consideration!

Eric.

michaelk 07-22-2004 05:01 PM

Have you changed anything on this PC, software or hardware?
Is the ethernet card link light illuminated?
Is the hub, switch, or whatever is on the other end show a link?
Does the output of lsmod show the NIC module loaded?

Try using ifconfig to manually configure an IP address. Any problems?

esi-eric 07-23-2004 07:52 AM

Thank you very much for your response to my POST!

Have you changed anything on this PC, software or hardware?

No, I have not changed anything on this PC in the ways of hardware or software. NOTE: This very same computer in the exact same configuration works on the NET in Windows XP with DHCP configured!

Is the ethernet card link light illuminated?

YES, the ethernet card link light is illuminated green (on the card itself).

Is the hub, switch, or whatever is on the other end show a link?

YES, the hub on the other end that goes out to the network shows a "green link light" as well.

Does the output of lsmod show the NIC module loaded?

When I do a lsmod, I get the following modules loaded:

soundcore
radeon
binfmt_misc
autofs
ipchains
hid
input
usb-uhci
usbcore
8139too
ext3
jdb

It does not appear to be loading my Ethernet module!!!

Try using ifconfig to manually configure an IP address. Any problems?

When I use ifconfig manually to configure an IP Address, I do the following:

ifconfig eth0 192.168.1.110
ifconfig eth0 netmask 255.255.255.0
route add default gw 192.168.1.1 (the IP of our router)

when I do an ifconfig, everything appears to be fine, but I can ping myself and I cannot ping anyone else and they cannot ping me!!! I get "destination host unreachable".

Thank you very much for your continued support in the solving of my problem!!!

michaelk 07-23-2004 10:47 AM

8139too
This is the ethernet module if you have a card with a Realtek chipset.

What is the output of mii-tool?
How is the card configured in windows?
Post the output of ifconfig for eth0.

esi-eric 07-23-2004 12:11 PM

Thank you very much once again for your POST!

YES! I have a Realtek RTL8139 Family PCI Fast Ethernet NIC

What is the output of mii-tool?

eth0: 10 MBit, half duplex, no link

How is the card configured in windows?

After an ipconfig....I get the following:

Windows IP Configuration Ethernet adapter Network Bridge (Network Bridge) 2:
Connection-specific DNS Suffix . : cfl.rr.com
IP Address. . . . . . . . . . . . : 192.168.1.104
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

After LOOKING AT the configuration in Windows....I can see that we have two (2) ethernet cards in this machine and that I was plugged into the wrong port!!!!!!!!! Now, everything works fine!!! Thank you so very much for all of your assistance!

Post the output of ifconfig for eth0.

eth0 Link encap:Ethernet HWaddr 00:02:E3:0F:3D:88
inet addr:192.168.1.110 Bcast:192.168.1.255 Mask: 255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX Packets:198 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes: 0 (0.0 b) TX bytes:20360 (19.8 Kb)
Interrupt:10 Base address: 0x2c00

This is after I do the ifconfig that you instructed me to do on your last post.

Eric.


All times are GMT -5. The time now is 02:04 AM.