LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-14-2008, 02:01 PM   #1
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
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
 
Old 03-15-2008, 06:16 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.

Last edited by bigrigdriver; 03-15-2008 at 06:18 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet Interface custangro Solaris / OpenSolaris 7 05-02-2007 05:35 PM
how can i shutdown the PHYSICAL interface of an ethernet interface markraem Linux - Networking 2 04-12-2007 02:29 PM
Ethernet interface starting but not getting IP swilliams2006 Linux - Networking 2 12-10-2005 06:51 PM
How can i see if an ethernet interface is physically up/down ? markraem Linux - Networking 4 07-02-2004 03:06 PM
Help me bringing up an ethernet interface Maranza Linux - Networking 4 12-25-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration