LinuxQuestions.org
Help answer threads with 0 replies.
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 07-16-2001, 06:50 PM   #1
Daniel_Kim
LQ Newbie
 
Registered: Jul 2001
Posts: 12

Rep: Reputation: 0
Angry (Another) Netgear FA311 problem


I posted a thread regarding DNS and DHCP about a week ago. I'll worry about these as soon as I get my NIC TO WORK!!!!

Like many, I am using a Netgear FA311 Ethernet Card. The Linux distribution I am using is Turbolinux Server 6.0 because I want full server capabilities. The kernel for this distro is 2.2.14-5. So I downloaded the needed files from Scyld.com(e.g. natsemi.c,pci-scan.*,and kern_compat.h)and attempted to compile natsemi.c with the following command:

gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c natsemi.c

After it executes, I receive a multitude of error messages that keep scrolling down the screen and have no clue as to what they mean. I will give some examples:

/usr/include/linux/resource.h:22: field `ru_utime' has incomplete type
/usr/include/linux/resource.h:23: field `ru_stime' has incomplete type
In file included from /usr/include/linux/mm.h:4,
from /usr/include/linux/slab.h:14,
from /usr/include/linux/malloc.h:4,
from natsemi.c:111:

That's only the beginning. However, I did realize that almost every error message regards /usr/include/linux with the exception of about ten that come from /usr/include/asm. I can REALLY use some help or advice. I would really like to keep using this distro, but need all the help I can get. Are there any driver downloads for this specific kernel? ANY help would be of interest and appreciation.
 
Old 07-17-2001, 08:35 PM   #2
Daniel_Kim
LQ Newbie
 
Registered: Jul 2001
Posts: 12

Original Poster
Rep: Reputation: 0
Cool IT WORKS!!

I finally figured out what was wrong. I was missing a needed parameter for the command. It was the following:

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

I was missing the "I" switch along with the path to kernel headers. You can find this information at Scyld.com(I don't remember the exact page). You do this for natsemi.c as well as pci-scan.c. After that, I installed these files using the following command:

install -m 644 pci-scan.o /lib/modules/`uname -r`/net/ and
install -m 644 natsemi.o /lib/modules/`uname -r`/net/

I then used the command "insmod" for both of these files, placed the following line in /etc/modules.conf or conf.modules:

alias eth0 natsemi

and restarted my computer.FINALLY SUCCESS! I also got DHCP up and running on my linuxbox to work with Win2K Pro. Thanks to Jharris for the info on where to get these references. For my next trick... DNS.
 
  


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
netgear fa311... again emart Linux - Networking 2 07-16-2005 11:33 PM
Netgear fa311 jflemin Linux - Networking 1 07-23-2003 07:26 PM
Red Hat 9.0 NetGear FA311 Nic Problem! Midnight Rain Linux - Networking 1 05-16-2003 10:10 PM
Red Hat 8.0 and NetGear FA311 problem rbaer Linux - Networking 47 11-14-2002 11:48 PM
Caldera 2.4 & Netgear FA311 - setup problem jb1140 Linux - Networking 1 08-30-2001 03:54 AM

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

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