LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-28-2002, 02:13 PM   #1
lost_newbie
LQ Newbie
 
Registered: Apr 2002
Posts: 3

Rep: Reputation: 0
asound pci ethernet card / fealnx.c


Hi everyone,

I'm new to linux, and completely lost.. I just installed a "Asound 10/100 MBPS Fast Ethernet card".. On the box it said that it "includes linux drivers"...

The driver that came with it is fealnx.c , the installation instructions say to compile it using

gcc -DMODULE -D_KERNEL_ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c fealnx.c

When I try this I get pages of error messages flying by, and that's it?

My system is RH 7.1 Kernel 2.4.2-2

I found several different fealnx.o files on the net and tried insmod fealnx.o but all gave error messages..

If someone could point me in the right direction I would be very gratefull!

Thank you!

Leo
 
Old 04-29-2002, 03:46 AM   #2
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
try getting the latest version of the gcc compiler first. I know that at one point in time Redhat had a lot of problems with that. The reason that you can't get the other *.o files to work is they weren't compiled for your kernel.
 
Old 04-29-2002, 06:16 AM   #3
lost_newbie
LQ Newbie
 
Registered: Apr 2002
Posts: 3

Original Poster
Rep: Reputation: 0
I'm on a lousy dialup, so downloading anything more than 1MB or so is a true pain (plus I can't connect with my linux box yet )..

I did some more searching around last night and found the newer versions of RH include the needed file, so I broke down and bought a copy of RH 7.2 unleashed (I need a good reference book anyway) and an external modem..

Hopefully that will get me cooking

Thanks for your help!

Leo
 
Old 05-03-2002, 05:44 PM   #4
lost_newbie
LQ Newbie
 
Registered: Apr 2002
Posts: 3

Original Poster
Rep: Reputation: 0
<sigh>

Well, just did a fresh install of RH 7.2

I finally have my modem setup and working, I can get online fine..

The problem is it still won't detect my ethernet card..

When I try modprobe fealnx it says it can't be found...?

I've tried colmpiling fealnx.c, but I get about 4 pages of errors and it fails every time...

What should I do? Dump this card and get something better, and save myself the aggrevation?

Leo
 
Old 06-12-2002, 10:33 PM   #5
nematocyst
LQ Newbie
 
Registered: Jun 2002
Location: albuquerque new mexico
Distribution: currently redhat 7.2, but vaires
Posts: 1

Rep: Reputation: 0
First, recognize I'm a newbie user myself, but this worked for redhat 7.2. (I have mandrake 8.2 stuff below)

Install the linux kernel-source RPM from the distro disk-- using package manager, you can search for kernel-source, or alternatively for file fealnx.c.

Find the source file, fealnx.c and cd there. For me, this was: /usr/src/linux-2.4.7-10/drivers/net

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c fealnx.c

I'm too new to know if both of the following are required. I suspect that copying the module into the net modules section is the only important one and that the insmod simply loaded it for the current session. Anyway, I did both.

/sbin/insmod fealnx.o
cp ./fealnx.o /lib/modules/2.4.7-10/kernel/drivers/net

Reboot. You'll get some warning about an unresolved external when fealnx.o loads. Doesn't seem to
have any ill effects on my system.

Kudzu will now detect the new hardware and allow you to configure networking.

Frankly, I wish I had just bought a supported card, but at least this works.
-------------------------------------------------------------------------------------------------------------------------
For mandrake 8.2, the thing to do is:
/sbin/modprobe fealnx

You'll want that in rc.local or something.

If you haven't yet installed or intend to re-install, then you can get it loaded prior to network configuration by issuing the modprobe. To do that, simply ctrl-alt-F2 to a console, do it, and then ctrl-alt-F7 back to the graphical installer.


Last edited by nematocyst; 06-12-2002 at 10:49 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring a PCI ethernet card Burtonsnow Linux - Hardware 4 04-14-2004 08:06 PM
how to set up SMC EZ Card 10/100 ethernet PCI network card mymojo Linux - Networking 2 12-16-2003 02:35 AM
PCI ethernet card R_Shackleford Linux - Networking 26 11-26-2003 10:42 AM
ASOUND AL500P PCI Router Card junpit Linux - Hardware 6 08-21-2003 03:48 PM
Newbie needs help configuring a Asound Ethernet 100/10m Card. budest Linux - Hardware 10 12-30-2002 10:46 AM

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

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