Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By chance i have 2 network cards that are of similar type.One is built-in in the motherboard.While other is in the pci slot.Now i am having following problems.
1-I can't distinguish them in the OS i-e when is list them by using "lspci", both listed but i cant be sure which one in the list is refering to which physical card.
2-Kernel is installing the driver for only one card(as expected as it is mentioned in the Network administrators guide NAG).Now the problem is that some parameters are required to probe it by passing certain parameters(irq,base address,I/O address)where can i ger this information for my cards.I have intel eepro
By chance i have 2 network cards that are of similar type.One is built-in in the motherboard.While other is in the pci slot.Now i am having following problems.
1-I can't distinguish them in the OS i-e when is list them by using "lspci", both listed but i cant be sure which one in the list is refering to which physical card.
2-Kernel is installing the driver for only one card(as expected as it is mentioned in the Network administrators guide NAG).Now the problem is that some parameters are required to probe it by passing certain parameters(irq,base address,I/O address)where can i ger this information for my cards.I have intel eepro
Hi,
First, you state there are two nics in the machine. One is in the pci slot. Which slot? What card?
The on board is a intel, which chipset? What is the motherboard?
Machine manufacture?
Post the output from a terminal/cli (un-edited);
Code:
#dmesg |grep eth #show the eth devices on boot
#lspci -vv #you should be able to see irq and nic info
#lsmod #modules
#ifconfig -a #recognized
ok,
that system was not mine but that of my friend
But on my system again there are two cards.Both in the pci slots.
here is the out put from the terminalKernel command line:
I think your Q about your own system is very different from your friend's. To me, the output of ifconfig -a clearly shows that the kernel has found both cards, eth1 just hasn't been brought up yet.
With the card connected to a DHCP server, try each of the following (only one will work):
Code:
pump eth1
dhcpcd eth1
dhclient eth1
As for your friend's box, we probably need to see the actual output of the suggested commands. Try ifconfig -a 1st. If you see both NIC's, then he has the same problem you do & the other commands probably aren't necessary. If you do post the output from lspci -vv, consider removing the sections not related to the NIC's.
What makes you think that a GNU/Linux box can't have 2 cards up at once?
How do you think a dedicated firewall appliance (like my SmoothWall Express) works?
As for the "required settings", the short answer is to find out where your system brings up the 1st card & add similar lines appropriate to the 2nd card. This will be somewhere in the init scripts. I can't be more helpful because I switched from RH8 to Debian (& later to MEPIS) about 3 years ago.
Last edited by archtoad6; 07-27-2006 at 12:53 PM.
Reason: grammer
BTW, I agree that you should only post relevant information. Not the whole output of a command unless the output contains information about the problem at hand.
The command;
Code:
#lspci -vv #very verbose
A lot of what you posted for the lspci was not relevant to the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.