Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Added a second NIC and can't get it werking

Status
Not open for further replies.

Cadwalader

IS-IT--Management
Feb 12, 2002
297
US
Hello, once again...

I added a second network card to my RedHat 7.3 box. I know about the whole eth0 and eht1 thing, but obviously I am missing something.

If I do ifconfig eth1, I get
[root@localhost.localdomain root]# ifconfig eht1
eht1: error fetching interface information: Device not found

Anyway, I do have the drivers for this card on floppy disk. The OS seemed to configure it on startup. It identified the card properly, asked me if I wanted the card to "inherit"(spelling!) current network settings. That sounded good to me, so I did it. It carried on as usual.

I don't think I had the right cable (for the new card) plugged into the router during bootup. Could that be why it's not working?

I'll restart and see what happens...

Other than that, any advice? I am new to Linux, and have no idea how to install new devices... Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
"[root@localhost.localdomain root]# ifconfig eht1
eht1: error fetching interface information: Device not found" --> check your spelling:)


Check to see if the following file exists, and if it doesn't, copy the eth0 file, and modify its contents for eth1 --> /etc/sysconfig/network-scripts/ifcfg-eth1

Also, run 'lspci' and/or 'cat /proc/pci' to see if Linux see's your second NIC.


ChrisP


 
Doh!

I see that. I did the cat/proc/pci and I found both cards in it.

Bus 0, device 10, function 0:
Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model N
C100 (#2) (rev 17).
IRQ 11.
Master Capable. Latency=32. Min Gnt=255.Max Lat=255.
I/O at 0xdc00 [0xdcff].
Non-prefetchable 32 bit memory at 0xeffffc00 [0xefffffff].
Bus 0, device 9, function 0:
Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model N
C100 (rev 17).
IRQ 12.
Master Capable. Latency=32. Min Gnt=64.Max Lat=128.
I/O at 0xda00 [0xdaff].
Non-prefetchable 32 bit memory at 0xeffff800 [0xeffffbff].

But only one of them is a Linksys, the other one didn't even have a name on the box! I don't know who the manufacturer is. I didn't need the driver disk for it, Linux already had it. The Linksys is the one that i can't seem to get working, or not sure if it's working. I do have the driver disk for it, too.

Thanks for the help! Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
What about the ifcfg-eth1 file?

What happens when you do a 'ifconfig eth1 up'?
 
I took the Linksys card back out. It was causing the other one to quit working. Since I took it out, it's been working fine. Would you happen to know why upgrading Apache from v 1.3.23 to 1.3.26 (malformed header vulnerability) would casue Apache to quit serving pages all together? Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
What is the error message when you try to start the Apache daemon?
 
It's running now. Before there was no error, but I just couldn't get the darn thing to give me a page. Anyway, it's up, GFI LANGaurd shows that the malformed header exploit no longer exists, and it didn't take much to do it either! (whew!). You'd be proud of me, I used wget to download the rpm file to upgrade Apache, and I didn't need to ask "how" to install it! (I had to look at some notes though)

Thanks for the help, I do appreciate it! :)
Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top