LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-22-2004, 04:26 PM   #1
esi-eric
Member
 
Registered: May 2004
Location: Florida
Distribution: 7.2
Posts: 32

Rep: Reputation: 15
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.
 
Old 07-22-2004, 05:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,970

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
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?
 
Old 07-23-2004, 07:52 AM   #3
esi-eric
Member
 
Registered: May 2004
Location: Florida
Distribution: 7.2
Posts: 32

Original Poster
Rep: Reputation: 15
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!!!
 
Old 07-23-2004, 10:47 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,970

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
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.
 
Old 07-23-2004, 12:11 PM   #5
esi-eric
Member
 
Registered: May 2004
Location: Florida
Distribution: 7.2
Posts: 32

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Info needed on Network card detection vs ifup-eth0 setup cdrobsonjr Fedora 0 05-01-2004 09:21 PM
eth0 ifup warmongr Linux - Networking 2 04-29-2004 04:00 PM
ppp stops when ifup eth0 jay820 Linux - Networking 7 07-20-2003 08:13 AM
How to setup a cron job to ifup eth0? cmisip Linux - General 4 11-28-2002 08:35 PM
ifup-operation fails new-by Linux - Networking 1 09-25-2001 11:37 PM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration