LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-25-2003, 04:31 AM   #1
gooma
LQ Newbie
 
Registered: Dec 2003
Distribution: Red Hat 9
Posts: 7

Rep: Reputation: 0
pcmcia ethernet card problem


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




Last edited by gooma; 12-25-2003 at 06:08 AM.
 
Old 01-28-2004, 09:32 AM   #2
evbart
LQ Newbie
 
Registered: Jan 2004
Posts: 13

Rep: Reputation: 0
same situation

i am in the same situation (rh9 same kernal etc.). i saw a lot of info for other versions of redhat, but i didnt know what to do for 9. i went and downloaded some drivers that included rh 9, but i think rh 9 is supposed to already support the rtl8139.

if it does, i am not sure how to make it recognize my card or configure it. let me know if you findout anything about it and i will do the same.
 
  


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
PCMCIA ethernet card czaanja Slackware 2 11-22-2004 02:18 PM
pcmcia ethernet card rabby Slackware 9 03-09-2004 07:57 AM
PCMCIA ethernet card Falieson *BSD 2 06-24-2003 01:04 AM
Insert scsi pcmcia card kills existing ethernet card lgetsche Linux - Hardware 0 11-12-2002 04:16 PM
Can't network pcmcia card with Intel eepro100 ethernet card. RKris Linux - Networking 1 06-18-2002 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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