LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2003, 11:21 AM   #1
wyleu
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Updating Ethernet Card


I run Mandrake 9.1 on a PC.
I originally had a Ne2k 10 base T network card in the machine, which I replaced with 100 Base T card.

Now when Linux boots the card is not installed by default. I have to go into HardDrake and re-aquire the card which picks up all the original settings (IP address host name , etc) and works correctly from ther on until the next reboot.

My question is which file/s are involved in this start up process and how do I aquire the information for the coreect entries in these files.

Where would any error messaes be posted that might explain what has happened.

This occured across 9.0 -> 9.1 upgrade so it's obviously some misconfigaration on my part.
 
Old 11-04-2003, 11:45 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
You have to edit /etc/modules.conf to load the new driver on boot. Open a console, su to root and run:

# kedit /etc/modules.conf

which will bring up the file in kedit with root privileges. Look for this line:

alias eth0 <name of old nic driver>

Replace the old nic driver with the name of the new nic driver and save the changes. The next time you reboot it should properly load the correct driver. If you have two entries for nics already there, one for the old with eth0 and one for the new with eth1, delete the eth1 line and edit eth0 per the above. Also go to /etc/sysconfig/network-scripts and see if there is a file there called ifcfg-eth1. If there is delete it. There should only be an ifcfg-eth0 and an ifcfg-lo.
The problem is that when you replace a nic, the config files for the old nic are frequently not removed so you have to do it by hand. The new nic is designated eth1 and the old/removed nic retains eth0. Making the above changes should correct that.

Last edited by kilgoretrout; 11-04-2003 at 12:11 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.0 doesn't detect Ethernet card on nVidia shipset 2, on-board card Realtek 8201 devilpim Linux - Newbie 3 05-27-2006 12:08 AM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
how to set up SMC EZ Card 10/100 ethernet PCI network card mymojo Linux - Networking 2 12-16-2003 02:35 AM
Insert scsi pcmcia card kills existing ethernet card lgetsche Linux - Hardware 0 11-12-2002 04:16 PM
Can't network pcmcia card with Intel eepro100 ethernet card. RKris Linux - Networking 1 06-18-2002 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:40 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