LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   configuring my network cards (https://www.linuxquestions.org/questions/linux-networking-3/configuring-my-network-cards-398089/)

zerog 12-31-2005 03:55 AM

configuring my network cards
 
I installed RH9 and it configured eth0 and eth1 for me. One day I physically removed the card eth1, and on boot this Kudzu thing came up. I told it to delete the configuration for eth1. Now the card eth0 has been moved to the pci slot where eth1 used to be. (Why? because the graphics card is too big) How can I connect through there? I tried ifconfig but it doesn't do anything (presumably because I deleted the config).

/bin/bash 12-31-2005 04:36 AM

I'm not sure I understand what is happening. If you only have one ethernet card then no matter what pci slot it is in it should still be eth0.

What type of card is it? What module does it use? Is the module being loaded? If you type dmesg|grep eth what do you get? What do you get when you type this? ifconfig -a

Look in /etc/sysconfig/networking-scripts and make sure you still have a config file for eth0.

zerog 12-31-2005 05:51 AM

Quote:

Originally Posted by /bin/bash
I'm not sure I understand what is happening. If you only have one ethernet card then no matter what pci slot it is in it should still be eth0.

What type of card is it? What module does it use? Is the module being loaded? If you type dmesg|grep eth what do you get? What do you get when you type this? ifconfig -a

Look in /etc/sysconfig/networking-scripts and make sure you still have a config file for eth0.

Thanks for your quick reply. I managed to get it working by modifying both the config files for eth0 and eth1 to ONBOOT=YES changing the slot it was in... Apparently slot 0 (? - the one nearest the graphics card) is eth1 and slot 1 is eth0. When I put it in the higher slot it brought up interface eth1 but it didn't work. When I put it in the lower slot then it works. However, in boot it brings up eth0 and eth1 with [OK].


All times are GMT -5. The time now is 06:53 PM.