LinuxQuestions.org
Review your favorite Linux distribution.
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 10-14-2003, 04:45 PM   #1
peabee
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Question Installing PCMCIA network cards



Good evening,
I've spent the last week dragging myself through the bog that is installing Linux, as I've never done it
Finally managed to get everything installed and today got the single PCMCIA network card working (bog standard 3com one) and all was well.
Then...and perhaps I was jumping the gun here...I plugged in another PCMCIA network card and all www access has gone belly-up.
eth0 and eth1 are not working.
They are both setup to start on boot but it says that eth0 wasn't working and eth1 could not be installed.
I'm at a loss as I clearly don't have enough Linux technical knowledge in order to be able to install both network cards and get them working together.
Now, Windoze would be a different story but I like a challenge.
My mate has tried to help but I got a headache when he started to type commands I thought were typos
Is there a standard way to install the two cards using either the konsole or webmin?
<My is sick and I'd like to fix him please.
Many thanks
PB
 
Old 10-14-2003, 08:23 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
What would you be using 2 pcmcia network cards in the same machine for? Are you trying to use the box as a router or gateway?
 
Old 10-15-2003, 03:06 PM   #3
peabee
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I'm experimenting So I could be classed as completely mad having never used linux before.
I intend to use the laptop as a gateway and this seemed like a good idea at the time. I know it's not the best way to go about thing but my theory is that if I can do this then I won't have any further problems with PCMCIA and Mandrake.
I have the instructions for installing the 32-bit Cardbus card so will attempt that later on, I am interested in why Linux (and this wil make me sound like a Windoze weirdo) doesn't have a standard install for this type of device....and that is where my ignorance comes to light
Many thanks for any future help.
PB
 
Old 10-15-2003, 03:32 PM   #4
mookiebud
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
"I have the instructions for installing the 32-bit Cardbus card ..."

Are the instructions specific to your 3Com card or 32-bit Cardbus in general? I'm having some trouble with a card on my laptop and would be interested in learning if the instructions are publish at a URL somewhere?
 
Old 10-15-2003, 05:38 PM   #5
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Yes, what instructions do you have and from where?
 
Old 10-20-2003, 03:12 PM   #6
peabee
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
These are the instructions......which maybe come with a translation for an idiot like me

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

2. Copy driver :
->Copy the file "realtek_cb.o" to "/lib/modules/2.2.14-5.0/pcmcia"

3. Edit config:
->Add 5 lines to the file "/etc/pcmcia/config"

#
# Device driver definitions
#

device "realtek_cb" (==>Add 1/5)
class "network" module "cb_enabler", "realtek_cb" (==>Add 2/5)


:
:

#
# CardBus Cards
#

card "Realtek CardBus Ethernet Card" (==>Add 3/5)
manfid 0x0000, 0x024C (==>Add 4/5)
bind "realtek_cb" (==>Add 5/5)


The values 0x0000, 0x024C are JEDEC ID and can be read by typing
"cardctl ident" on console with one card on socket.


4. Edit linuxconf
->Type "linuxconf" and choose "Config"-->"Networking"-->"Client tasks"-->
"Basic host information". Select an adapter, enable it, and type "realtek_cb"
on "Kernel module" and "eth0" (or eth1, eth2) on "Net device". Click on
"Accept" button and "Act/change" button.


5. Restart the computer.

6. More information about kernel compile: http://metalab.unc.edu/mdw/HOWTO/Kernel-HOWTO.html
More information about install: man pcmcia


I'm going to try and get this done now.....wish me luck
P
 
  


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
What wireless PCMCIA network cards work with Knoppix? BugMan1 Linux - Wireless Networking 3 06-06-2005 01:19 PM
Firewire pci cards/pcmcia cards bunyan Red Hat 0 03-03-2005 04:45 PM
Swapping PCMCIA network cards ridertech Linux - Laptop and Netbook 1 10-03-2004 12:31 PM
Installing network cards in RedHat 9 zinc_0 Linux - Newbie 4 07-02-2004 01:12 PM
Installing drivers for network cards cmack Linux - Networking 2 07-30-2003 07:51 PM

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

All times are GMT -5. The time now is 02:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration