1826061 Members
4046 Online
109690 Solutions
New Discussion

How to configure eth0 ??

 
SOLVED
Go to solution
Abel Berger
Regular Advisor

How to configure eth0 ??

Hello all !

I have a pentium III IBM 300 GL, and I installed the Head Rat Linux 7.0, but I
can not to configure my NIC ( 3com ).
When I try to use the ifconfig this folowing message is diplayed :

"no such file or device name".

In the /dev I don?t find the eth0 file.

I configured my /etc/hosts and my default gateway, but the device can not become up.

Any suggestion will be very apreciated.

Regards,

Abel Berger

6 REPLIES 6
Kodjo Agbenu
Honored Contributor
Solution

Re: How to configure eth0 ??

Hello Abel,

I guess the driver is not loaded for your NIC.

First, you have to find the right driver : go to the /lib/modules/, then type :

grep 3c modules.dep

You'll get a list of 3com NIC module names starting with "3c".

Identify the one matching your NIC, then :

modprobe -a

After that, you will be able to use "ifconfig" to set the IP and other parameters.

When everything is OK, just edit /etc/modules.conf (or conf.modules in old linux versions), add a line like this :

alias eth0 3c509

(replace 3c509 by your effective module name), then type :

depmod -a

in order to rebuild the module database.

Good luck.

Kodjo

P.S. Do not forget to rate this answer (from 1 to 10).
Learn and explain...
Abel Berger
Regular Advisor

Re: How to configure eth0 ??

Hi Kodjo,

I find the following files in the
/lib/modules/2.4.5-9cl/kernel/drivers/net :
3c501.o
3c503.o
3c505.o
3c507.o
3c509.o
3c515.o
3c59x.o

but when I run the command :
modprobe -a 3c509.o, the following message is displayed :
"modprobe : can?t locate module 3c509.o"

What is happening ??

Regards,

Abel Berger
Abel Berger
Regular Advisor

Re: How to configure eth0 ??

My NIC is a 3com 3C905 and my
kernel is 2.4.5-9, I think this is the problem.
Where I can find the device driver for 3C905 supported by 2.4.5-9 Linux RedHat Kernel ???

Regards,

Abel Berger
Abel Berger
Regular Advisor

Re: How to configure eth0 ??

Thanks Kodjo !

I think that maybe not exist device driver for
3C905 Fast Ethernet Adapter supported by beta 2.4.5-9 kernel RedHat Linux.
I will install the RedHat 6.1 Kernel 2.2.12-20.
I know that this Kernel version has a compatible device driver for 3C905 Fast Ethernet Adapter.

Thanks for all,

Regards,

Abel Berger
Kodjo Agbenu
Honored Contributor

Re: How to configure eth0 ??

Hello Abel,

I think that you can keep your current Linux version with 2.4.5 kernel. The module named "3c90x" should work.

Good luck.

Kodjo
Learn and explain...
Vernon Brown_1
Frequent Advisor

Re: How to configure eth0 ??

The device driver for the 3-Com 3c509 is the 3c59x.o Since that is in your list you must be loading it. I'm running Redhat 7.1 and have the 3c509 NIC. Only thing I had to do to enable it was to go into Setup during bootup and change the Operating System from Win95/98 to Other. On my HP Pavilion once you get into BIOS setup you push right arrow and Operating System selection is about half way down the screen.