LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2003, 05:59 AM   #1
adhx087
LQ Newbie
 
Registered: Aug 2003
Location: Toronto. ON
Distribution: RH 9
Posts: 3

Rep: Reputation: 0
Question how to add DLINK NIC drivers


Welll have my RH9 set up and running except that my DLINK NIC
is not detected by RH9. However I have drivers on CD that will
support RH 9. The NIC is DFE-538TX
And yes... very much a newbie to linux hence my reason to ask the question how to I install it...
Document say to install to linux and compile. Well I don't even know where to start... I just don't want to goof up.

Thanks in advance,

ADHX
 
Old 08-09-2003, 01:14 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
whats the file extension of the driver you have on cd?
 
Old 08-09-2003, 04:33 PM   #3
adhx087
LQ Newbie
 
Registered: Aug 2003
Location: Toronto. ON
Distribution: RH 9
Posts: 3

Original Poster
Rep: Reputation: 0
the extension is ".c"
File name rtl8139.c
 
Old 08-09-2003, 06:08 PM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
c extension is the c langage code. You have to compile it on your machine. Make sure that your floppy is in the drive and do this (these are instructions for redhat 7.0. I hope it works. rt8139.c is your driver replace it with your actual driver name. /usr/src/linux/include is where your linux kernel-source is. You need to install kernel-source beore u attempt to compile drivers:
cd floppy
cp rtl8139.c /root(or any temp directory)
cd /root
gcc -I /usr/src/linux/include -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`

[Enter]

insmod rtl8139.o
 
  


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
DLink DWL-G510 Drivers TheDrew202 Linux - Hardware 11 07-13-2008 09:54 PM
DLink DWL 122 wifi usb drivers? salvarad Linux - Wireless Networking 15 02-12-2004 04:40 PM
HELP with DLink NIC linuxwannabe Linux - Networking 10 01-26-2002 11:37 PM
Compile Kernal with New Drivers...How to add drivers? scgadgets Linux - General 4 09-19-2001 09:27 PM
NIC TROUBLES: DLINK DFE538TX/R segfu Linux - Networking 0 03-14-2001 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 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
Open Source Consulting | Domain Registration