LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Ethernet interface (https://www.linuxquestions.org/questions/linux-general-1/ethernet-interface-628081/)

vkmgeek 03-14-2008 02:01 PM

Ethernet interface
 
Hi all,
I am testing various network cards. I am testing them on sles10sp1.
I have to make sure that at least ping is working.
Now, as soon as I insert the card, it will not be detected. Because the file lying at /etc/sysconfig/network/ifcfg* file will not be matching.
So, I edit it with new MAC address and then do service network restart and it works fine.

But, the problem is every time the device name changes... it is incrementing by one... and it has reached upto eth61 now... Now, next time i insert the card, device name will show up in ifconfig as eth62...
Everytime i insert the card, i want it to be eth1 only.... Can anyone tell what is happening... ?

Thanks in advance

bigrigdriver 03-15-2008 06:16 AM

When you are done testing a card, you should go into Control Center - Yast - Network devices and click on Network card. Under 'Already configured devices', select the card you have tested and click on Delete, then Finish. The Finish phase of the deletion of the device runs /sbin/SuSEconfig, which updates many files in /etc. That update is necessary to remove the record of previous devices.

Then, the next device should start at eth0 or eth1 depending on the motherboard hardware setup. You should do this after testing each card.
Quote:

Now, as soon as I insert the card, it will not be detected. Because the file lying at /etc/sysconfig/network/ifcfg* file will not be matching.
So, I edit it with new MAC address and then do service network restart and it works fine.
You could also go into Yast as described above to have the new card probed and configured.


All times are GMT -5. The time now is 05:55 PM.