Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-31-2005, 07:58 PM   #1
LQ Newbie
Registered: Jan 2005
Location: Ottawa, Ontario
Distribution: Ubuntu Server 8.04.4 ... For today at least because it suits my purpose.
Posts: 4

Rep: Reputation: 0
Compiling Drivers for a "UE1205CB" PCMCIA NIC in RedHat 9

Hey All,

I'm new to the forum, but definitely not new to forums in general. I'm a moderator over at the www-rx7club-com forum's "1st Generation" section. Anyhow, I've recently decided to take the full-linux plunge when my laptop's HDD went south and needed a replacement and I couldn't find a windows CD. I've been meaning to get out of the Microsoft trap for a while and had toyed with RedHat before so I figured this was the perfect oppurtunity.

For a little background info on myself, I'm a full-time Computer Science student at Heritage College and have been working with computers for years. I'm also part-timing as the Technician for a local computer store in Ottawa, and enjoying it very much.

The problem I have comes as such:
With the hard drive of my laptop conking out, I took an old 2gb drive that I had lying around and did a basic install of RedHat9 on it. Everything is working fine, but my built-in network card has never really worked right. It works for the first 5mins off a cold boot, but then conks out and Kudzu uninstalls it on the next reboot. Let the laptop sit for a while and it's fine. I assume it's a heat-related problem, but rather than tearing into my laptop, I bought a PCMCIA network card through the computer store.

I got the card from Startech (www-startech-com), model number UE1205CB. It's a pretty basic dongle-less network card, and it said that it came with Linux drivers, so I was hoping I'd be able to get it working.

The instructions I have for installation of the card are as follows

Originally Posted in the Instruction Manual
Realtek CardBus Ethernet Card Installation on Linux

1. Compile the source code :

->Copy the source code rtl8139.c (ver 1.08 above) to a directory

and execute "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes

-O6 -c rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.0.9/include/"

The directory "pcmcia-cs-3.0.9" stands for the card service version you

use. Please change it to the version on your system in order to include

proper .h file. The final file is realtek_cb.o

This is just the first part, and where I ran into the problem.

The install I have on my laptop doesn't seem to have *ANY* .h files with "pcmcia" in the name, and the computers at school only have one under /usr/linux/kudzu/ called pcmcia.h .
I tried running the gcc command with the /usr/include/kudzu/ and it got "confused by errors, bailing out". I tried pointing it directly to the file and it told me pcmcia.h wasn't a directory (obviously).

So I'm stuck. I need to know what I'm missing. If RedHat's default install does not install a pcmcia card service, where can I get one? If it does, what package do I need to install? And once I have it where do I point that command to?

If someone wants to download the drivers and compile them to see what the hell I'm talking about, they are available on Startech's website. If someone could give me a hand I would *really* appreciate it, considering I am still very much a newbie.

Oh, and I guess I should mention - I searched. I've been searching for how to resolve this for days now. I know on my forum people are always like "it's been covered before, use the search function" but most of the time newbies don't know how to search for the threads they need.

Please give me a hand! I want to learn, it's just so.... encompassing!


Edit: Since I have only one post so far, the urls use - instead of .

Last edited by vipernicus42; 01-31-2005 at 08:03 PM.
Old 01-31-2005, 10:20 PM   #2
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
What kernel version are you running? The RTL8139 drivers are in the 2.4.x series kernels, which RH 9 uses. I'm not certain at what point they were added though, but are in 2.4.22 and later for sure. Anyway, first I'd check to see if they are already present. The kernel module is named 8139too. So run:

modprobe 8139too

BTW..The 8139too driver is not exactly the same as the rtl8139 driver. But it will most likely work fine. You can also find more info on the rtl8139 driver at

Last edited by DaHammer; 01-31-2005 at 10:32 PM.


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
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 11:47 AM
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 08:52 PM
Help with "ITeX ADSL PCI NIC" & RedHat Linux 8.0 rnoyman Linux - Hardware 4 10-26-2004 06:46 AM
Redhat 7.3 PHP 4.3.4 "upgrade" not compiling fatbaldbob Red Hat 0 03-02-2004 05:40 PM
"unresolved symbol" loading smc91c92_cs NIC drivers Guitxo Linux - Networking 0 03-20-2002 10:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration