LinuxQuestions.org
Help answer threads with 0 replies.
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-26-2000, 11:16 PM   #1
willardsmythe
LQ Newbie
 
Registered: Nov 2000
Posts: 2

Rep: Reputation: 0
Exclamation


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
 
Old 11-27-2000, 11:13 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,608

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
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.
 
Old 12-03-2000, 06:24 AM   #3
andrewcm
LQ Newbie
 
Registered: Dec 2000
Posts: 3

Rep: Reputation: 0
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
 
Old 12-03-2000, 10:46 AM   #4
willardsmythe
LQ Newbie
 
Registered: Nov 2000
Posts: 2

Original Poster
Rep: Reputation: 0
Talking 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
 
Old 12-04-2000, 10:24 AM   #5
andrewcm
LQ Newbie
 
Registered: Dec 2000
Posts: 3

Rep: Reputation: 0
Unhappy

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
 
Old 12-04-2000, 10:34 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,608

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
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
 
Old 12-11-2000, 06:50 AM   #7
andrewcm
LQ Newbie
 
Registered: Dec 2000
Posts: 3

Rep: Reputation: 0
Question

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
 
Old 12-23-2000, 08:24 PM   #8
dmcrane
LQ Newbie
 
Registered: Dec 2000
Posts: 2

Rep: Reputation: 0
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
 
Old 01-12-2001, 12:44 PM   #9
yank_
LQ Newbie
 
Registered: Jan 2001
Posts: 21

Rep: Reputation: 15
Red face 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_

 
Old 02-01-2001, 01:01 PM   #10
kevin
LQ Newbie
 
Registered: Feb 2001
Posts: 4

Rep: Reputation: 0
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?
 
Old 02-01-2001, 02:32 PM   #11
dlovecraft
LQ Newbie
 
Registered: Feb 2001
Location: Leicester, UK
Posts: 2

Rep: Reputation: 0
Question

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
 
Old 02-02-2001, 06:06 PM   #12
yank_
LQ Newbie
 
Registered: Jan 2001
Posts: 21

Rep: Reputation: 15
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

 
Old 03-08-2001, 02:55 AM   #13
frito
LQ Newbie
 
Registered: Mar 2001
Posts: 2

Rep: Reputation: 0
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
 
Old 03-08-2001, 05:12 AM   #14
dlovecraft
LQ Newbie
 
Registered: Feb 2001
Location: Leicester, UK
Posts: 2

Rep: Reputation: 0
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!
 
Old 03-09-2001, 07:14 AM   #15
malweth
LQ Newbie
 
Registered: Mar 2001
Location: Cape Cod, Massachusetts
Posts: 1

Rep: Reputation: 0
Arrow 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/
 
  


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
netgear fa311 nic card zexter Linux - Hardware 1 11-01-2003 04:05 PM
Linux (redhat 8) Netgear ethernet fa311 problems JJoseph Linux - Networking 1 09-06-2003 11:15 AM
Netgear FA311 Fast Ethernet PCI Card cmack Slackware 2 07-28-2003 12:11 AM
Netgear FA411 PCMCIA 100Mbps Ethernet card - works out of the box! Bert Linux - General 2 09-18-2002 10:13 PM
RH7.1 & Netgear FA311 - no network card detected? jb1140 Linux - Networking 2 09-05-2001 11:58 AM


All times are GMT -5. The time now is 12:34 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration