i've got billionton lnrdl-100B2 ethernet pcmcia card and no idea how to make it wokrk. in the manual there are some explanations how to compile a driver for red hat 7 but in rh9 some paths differ (int the compilation command). Apart from that i dont know what to do next. The card is based on
rlt8139 chip, is it supported by the kernel? please help
kernel 2.4.20-8
here's the help file:
Quote:
CardBus Ethernet Card Installation on Linux
1. If you are using RedHat 7.0, you must download the new rpm at http://www.rpmfind.net to replace the old pcmcia-cs-3.1.19 to
pcmcia-cs-3.1.24-1.i586.rpm..rpm, which can be found at "RedHat_7.0/sourcecode/"
To unzip: "rpm -ivh pcmcia-cs-3.1.24-1.i586.rpm..rpm"
2. Compile the source code
copy the source code rtl8139.c and kern_compat.h pci-scan.h to a directory .
and exectue "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c -I/usr/src/linux/include rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.1.19/include/"
This will create a realtek_cb.o file
Note: When copying the source code rtl8139.c and kern_compath.h pci-scan.h to a directory in Linux, please make sure the file names stay as kern_compath.h.
or run "\. make.bat"---> make.bat = "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c -I/usr/src/linux/include rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.1.19/include/"
This will create a realtek_cb.o file
3. Copy driver :
-->copy the file "realtek_cb.o" to "lib/module/2.2.16-22/pcmcia"
4.Edit config:
-->Add the following 5 lines to the file "/etc/pcmcia/config"
#
# Device driver definitions
#
drvice "realtek_cb"
class "network" module "cb_enabler", "realtek_cb"
:
:
#
# CardBus Cards
#
card "10/100 CardBus Card"
manfid 0x0000, 0x021b
bind "realtek_cb"
The value 0x0000, 0x021b can be read by typing
"cardctl ident" on console with one card socket
5.Restart the computer
"/etc/rc.d/init.d/pcmcia restart"
6. More information about kernel compile:
http://metalab.unc.edu/mdw/HOWTO/Kernel-HOWTO.html
More information about install: man pcmcia
http://www.rpmfind.net
|