Networking Forums

Networking Forums > Computer Networking > Linux Networking > Network card driver

Reply
Thread Tools Display Modes

Network card driver

 
 
Mainlander
Guest
Posts: n/a

 
      02-18-2004, 01:11 AM
I'm new to Linux and have just installed debian 3.0r2

My network card is RTL8139. The drivers documentation says I have to
compile the driver from source code rtl8139.c

To do this I require the kernel source 2.2.20 which I can't find by
searching the Debian site. Where is the source available from?

I'm trained as a programmer and have programmed in C. The source code for
the driver contains lines like #include linux/versions.h

Where do I put the driver source code files to make sure that gcc can
find the included header files?

--
Full featured open source Win32 newsreader - Gravity 2.70
http://sourceforge.net/projects/mpgravity/
 
Reply With Quote
 
 
 
 
Sven Schumacher
Guest
Posts: n/a

 
      02-18-2004, 07:02 AM
On 2004-02-18, Mainlander <*@*.*> wrote:
> I'm new to Linux and have just installed debian 3.0r2
>
> My network card is RTL8139. The drivers documentation says I have to
> compile the driver from source code rtl8139.c


Huh? No, you don't need to. Try "modprobe rtl8139". If this doesn't work
for you, you can compile your Kernel yourself (kernel-sources can by
fetched by using "apt-get install" followed by the package you want to
install. So you need to know the package-name. Try apt-cache search
kernel-source and you'll get a list like this:

[...]
kernel-source-2.2.25 - Linux kernel source for version 2.2.25
kernel-source-2.4.19 - Linux kernel source for version 2.4.19
kernel-source-2.4.19-hppa - Linux kernel source for version 2.4.19 on HPPA
kernel-source-2.4.20 - Linux kernel source for version 2.4.20 with Debian patches
kernel-source-2.4.21 - Linux kernel source for version 2.4.21 with Debian patches
kernel-source-2.4.22 - Linux kernel source for version 2.4.22 with Debian patches
kernel-source-2.4.23 - Linux kernel source for version 2.4.23 with Debian patches
kernel-source-2.4.24 - Linux kernel source for version 2.4.24 with Debian patches
kernel-source-2.6.0 - Linux kernel source for version 2.6.0 with Debian patches
kernel-source-2.6.0-test11 - Linux kernel source for version 2.6.0-test11 with Debian patches
kernel-source-2.6.0-test9 - Linux kernel source for version 2.6.0-test9 with Debian patches
[...]

normally the kernel-source resists in /usr/src/linux, after unpacking
the kernel-source in /usr/src there will normally be a link from
/usr/src/linux to /usr/src/linux-2.4.xx (which should be the version,
you installed/downloaded). Try reading the Documentation you can find in
/usr/src/linux/Documentation and especially for a list, what to do, to
compile yourself a kernel, you should read /usr/src/linux/README


--
Sven Schumacher sschu+(E-Mail Removed)


 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lan card driver for "Atheros AR5006EX Wirless Network adpator" on linux kerneloops Linux Networking 6 03-01-2007 10:32 AM
Receiving problem in Realtek RTL8139D(L) network card driver implementation manoher.t@gmail.com Linux Networking 0 05-02-2006 09:30 PM
Configure wireless network card -- driver already running =?ISO-8859-15?Q?Daniel_B=F6hmer?= Linux Networking 8 10-10-2005 11:06 AM
Bonehead can't transfer network card driver Zaphod Windows Networking 1 08-25-2004 07:11 AM
Finding the correct driver for a unmarked network card Zack Windows Networking 1 10-22-2003 03:56 AM



1 2 3 4 5 6 7 8 9 10 11