getting pcmcia to work.


Forum: HD Install
Topic: getting pcmcia to work.
started by: litdie

Posted by litdie on Oct. 07 2004,15:40
hi all =-)

i am running an old gateway2000 solo laptop with dsl-0.7.3.
laptop stats,pent-133,16 megs ram,1.4 gig h/d.

i have an smc single slot pcmcia 10meg network card.

dsl didnt recognize it on install.

so is there a way to get it to run?
and how would i go about getting the mac address of it so i can connect it to my router.

ty in advance =-)

Posted by AwPhuch on Oct. 07 2004,16:31
What model is it..did you do any research on chipset or driver.
I know with the nec2000 drivers I had to manually tell it to modprobe it to get it running on my old laptop

See if that nic is nec2000 capable

Brian
AwPhuch

Posted by litdie on Oct. 08 2004,05:16
well i have another dumb question. lol.

is pcmcia allready enabled in the kernel tree?

or do i have to rebuild the kernel?

it is an smc8022T 10mbps ethernet portable network card.

it says novel NE2000 compatible
hot swap support


i have tons of linux books but none of them delve into pcmcia.
the only book i have that goes into the subject is "Linux Unwired" and all that covers is the installation procedures or rebuilding the kernel.

Posted by AwPhuch on Oct. 08 2004,15:16
Quote (litdie @ Oct. 08 2004,01:16)
well i have another dumb question. lol.

is pcmcia allready enabled in the kernel tree?

or do i have to rebuild the kernel?

it is an smc8022T 10mbps ethernet portable network card.

it says novel NE2000 compatible
hot swap support


i have tons of linux books but none of them delve into pcmcia.
the only book i have that goes into the subject is "Linux Unwired" and all that covers is the installation procedures or rebuilding the kernel.

the NE2000 compatible drivers are already built..you have to enable them

STF for ne2000
Quote (cbagger01 @ Aug. 07 2004,21:51)
Try opening an xterm and typing:

sudo su
ifdown -a
modprobe ne    (or is it "modprobe ne2000", I forget)
ifup -a
exit

and then run netcardconfig

You may be able to specify the irq/io with something like this:

modprobe ne irq=10 io=0x300

or

insmod ne irq=10 io=0x300

Hope this helps.


I know it works because I have a compaq armada 3100 with docking station and the only way to get the dockingstation ethernet to work was do this (however using the settings from dualbooted 98 it was "insmod ne irq=11 io=0x320")

Perhaps a utility cd such as < ULTIMATE BOOT CD > might help in finding the system resources for particular hardware, this way its not a cat and mouse game of trying to figure out the irq and interrupts!!

Brian
AwPhuch

Posted by litdie on Oct. 09 2004,06:36
well i was messing about in diff files and noticed this in the config file for pcmcia.

card "SMC EZCard-10 Wthernet"
Version"SMC","EZCard-10-pcmcia"
bind"PCnet.cs"


thats the card i have.

so does that mean it all ready has drivers for it compiled?

Posted by cbagger01 on Oct. 09 2004,18:24
pcmcia support is enabled for the DSL kernel.

If your card is not detected, then you will need to figure out how to manually install the driver via modprobe like mentioned above.

Also, are you sure that your card is "PCMCIA" and not "Cardbus"?  Cardbus cards are incompatible with such an old laptop.

Posted by litdie on Oct. 09 2004,20:12
definetly pcmcia.

when i run "modprobe ne" i get some error

/lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o: init_module: No such device or adress
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
    You may find more information in syslog or the output from dmesg.
/lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o: insmod /lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o failed
/lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o: insmod ne failed

i get the same excact thing when i type "modprobe pcnet_cs"

which is the driver for my pcmcia card.
i downloaded the drivers for my card and in the linux part is has a file pcnet_cs.c

and my h/d isnt big enough to compile kernel source or anything lol

Posted by litdie on Oct. 09 2004,20:15
oh and ive tried that ultimate boot cd before. it wont boot my laptop for some reason.
probably cause it isnt fast enough.

Posted by AwPhuch on Oct. 13 2004,15:26
Quote (litdie @ Oct. 09 2004,16:12)
definetly pcmcia.

when i run "modprobe ne" i get some error

/lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o: init_module: No such device or adress
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
    You may find more information in syslog or the output from dmesg.
/lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o: insmod /lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o failed
/lib/modules/2.4.22-xfs/kernel/drivers/net/ne.o: insmod ne failed

i get the same excact thing when i type "modprobe pcnet_cs"

which is the driver for my pcmcia card.
i downloaded the drivers for my card and in the linux part is has a file pcnet_cs.c

and my h/d isnt big enough to compile kernel source or anything lol

you have to do sudo modprobe if you arent root

You will also have to specify the irq and interrupt man!
To have it stay permanent, especially on a HD install you have to add the modprobe command to the /etc/modutils/0keep file


Brian
AwPhuch

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.