LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Netgear FA311 Ethernet Card (https://www.linuxquestions.org/questions/linux-networking-3/netgear-fa311-ethernet-card-312/)

willardsmythe 11-26-2000 10:16 PM

Has anyone gotten their Netgear FA311 card to work under linux?

I am running Slackware, and am having extensive difficulties. Neither the supplied driver nor the National Semiconductor (natsemi) driver which I downloaded seem to work.

Any help would be appreciated.
By the way, the ethernet card is for a cable modem which uses DHCP.

Thanks,
Willard

jeremy 11-27-2000 10:13 AM

The latest driver should be available here - http://www.scyld.com/network/ethercard.html. What problems are you having? Do you get any error messages? Telling is the steps you are taking would also help.

andrewcm 12-03-2000 05:24 AM

can't load the natsemi.c in Corel linux
 
I am having a different problem.

when I run the -gcc instruction to creat natsemi.o I get multiple error messages (can't find hex something.h, for example)

Is there a natsemi.o out there somewhere that I can use to persuade corel linux to work with this network card?
the FA311.o driver won't work with Kernel 2.2.16 unfortunately.

thanks,

andrewcm

willardsmythe 12-03-2000 09:46 AM

Problem solved
 
Hello all; my ethernet card problem is fixed (many thanks, Jeremy).

andrewcm, I was having the same problem as you. Download the natsemi.c driver, ALONG WITH pci-scan.c, pci-scan.h, and kern_compat.h from the link provided by Jeremy (http://www.scyld.com/network/ethercard.html).

After compiling and installing both pci-scan.o and natsemi.o, and editing rc.modules, your problem should be solved.

Thanks,
WS

andrewcm 12-04-2000 09:24 AM

well done, and congratulations.
Maybe I should replace corel linux with slackware. I downloaded pci-scan.c and the others suggested but it made no difference.

I can find no way to construct the natsemi.o for corel linux 2.2.16 from natsemi.c using the command given in the file. First is says "must use -0". then it says "cannot find /linux/modversions.h" - a file which doesn't exist anywhere on the corel disk.

any suggestions? should I remove corel linux and switch over to slackware?

andrew

jeremy 12-04-2000 09:34 AM

I have to say that I REALLY do not like Corel. Switch to Slackware or Red Hat or Debian or SuSE, just don't use Corel ;)

As always you can see my opinion on the different distos here - http://www.linuxquestions.org/questi...hp?threadid=22

andrewcm 12-11-2000 05:50 AM

I'd be grateful for the codes used to compile the pci.scan and kern_compat files as well as the exact instructions used to compile natsemi.o

e.g. what exactly did you put in for "__kernel__", and how did you get the "-06" bit to work?

many thanks,

andrewcm

dmcrane 12-23-2000 07:24 PM

fa311
 
I'm having the same problems because of the kernel.
If any one has any ideas, please let me know. BTW,
I'm running Mandrake 7.1

yank_ 01-12-2001 11:44 AM

need help with Redhat 7.0
 
I've been working on this for a week now. Ive been having the same problem with the FA311 in redhat 7.0

I've been to a few different sites, including the one above and downloaded everything I can find. Currently, I have compiled and installed pci-scan.c (installed .o) and natsemi.c (installed .o) using the following commands:

kgcc -DMODULE -D__KERNEL__ DEXPORT_SYMTAB -Wall -Wscript-prototypes -O6 -c -I/usr/src/linux/include pci-scan.c

kgcc -DMODULE -Wall -Wscript-prototypes -O6 -c -I/usr/src/linux/include natsemi.c

(refer to http://www.scyld.com/network/updates.html under Special instructions for Red Hat 7.0 for why I did this)

these two commands worked in compiling the .o files

I then installed using:
install -m 644 pci-scan.o /lib/modules/`uname -r`/net/
install -m 644 natsemi.o /lib/modules/`uname -r`/net/

the files were put into the /lib/modules/`uname -r`/net/ folder.

I then added the file /etc/rc.d/rc.modules to read
insmod /lib/modules/`uname -r`/net/pci-scan.o
insmod /lib/modules/`uname -r`/net/natsemi.o

when I restart, it stills gives the message about eth0 initialization being delayed ... FAILED

If anyone knows what I am doing wrong.. or what I should be doing instead.. please let me know.

you may email me at yank_@hotmail.com
Thanks alot,
Yank_


kevin 02-01-2001 12:01 PM

Red Hat 7.0 Problems...
 
I don't know if I'm having the same problem as yank_, but I can't get my FA311 to work on RH7 either. Everything looks hunky-dory during the install, and 'insmod pci-scan' works fine, but when attempting 'insmod natsemi' I get the following error:

Device or resource busy

and the hint that this can be caused by incorrect parameters.

Is that message sort of a catch-all for modules that can't run, or does anyone have an idea about what I might have to do to correct this?

dlovecraft 02-01-2001 01:32 PM

I am having *great* trouble getting the FA311 to work. I have downloaded the necessary files (fa311.zip, pci-scan, natsemi and the kern_compat files), but try as I might I cannot get them to compile. I get errors like not being able to find the linux/modversions.h file, and no compilation. Does anyone have any idea what to do...? I am using Storm 2000 with kernel 2.2.16

yank_ 02-02-2001 05:06 PM

NEW DRIVERS RELEASED
 
Hey everyone.. netgear released new drivers if you havn't figured it out already

go to http://www.netgear.com .. drivers for RH6.x and RH7.0 are both avaliable. I got the fa311 to work in 7.0 first try with the new drivers.. now i just have to figure out how to get it to connect through my router to the cable modem


frito 03-08-2001 01:55 AM

Add me to this list
 
I'm runing RH6.2 and haven't been able to get the fa311 card to install properly. I run make on their make file which has this command in it:

gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O -c fa311.c

If I reboot, I get this error on boot and I freeze and have to reinstall RH:

Kernel Panic: VFS: Unable to mount root fs on 03:06

I actually wrote to Netgear to get their input and they told me to change the makefile command to:

gcc -I/usr/src/linux/include -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O -c fa311.c

which, of course, gives me the same error. I haven't tried the suggestions listed here yet - earlier in the thread, but just wanted to mention that the new drivers netgear has out for rh6.x don't seem to be working for me. I am, of course, new to installing things on linux machines although I'm not new to the os. Any help is *much* appreciated.

thanks

dlovecraft 03-08-2001 04:12 AM

I tried to get the netgear drivers to work on RH, but they wouldn't at all. I have them running now on Debian (my machine) and Mandrake 7.1 (my girlfriend's), so I can briefly tell you what I did:

1. Make sure you have kernel headers installed.

2. Get the pci-scan.* natsemi.c and kernel*.h files from the website.

3. Do the follwoing as root:
gcc -DMODULE -Wall -Wstrict-prototypes -c -O6 -I<path to kernel headers>/net pci-scan.c

NB: That's a capital o NOT a zero

4. Repeat for natsemi.c

5. Issue this as root:
install -m 644 pciscan.o /lib/modules/<dist name>/net

6. Repeat for natsemi.o

7. Add line to /etc/conf.modules | /etc/modules.conf
alias eth0 natsemi

8. In /etc/modules, add the following lines:
auto ##if not already there
pci-scan
natsemi
## The order of these last two is important!!

Either reboot or just insmod pci-scan then insmod natsemi.

That's it. Works fine for me, and I can now get internet sharing up and running in less than 5 minutes! :)

malweth 03-09-2001 06:14 AM

fa311 Red Hat 7.0 driver
 
This one looks like it works. . . I still can't get my eth0 up though!

http://www.sonnik.com/fa311/


All times are GMT -5. The time now is 07:13 PM.