LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-13-2003, 02:11 PM   #1
gnat79
LQ Newbie
 
Registered: Feb 2003
Distribution: Mandrake 10.1
Posts: 11

Rep: Reputation: 0
pcmcia wireless on Mandrake 9.1


I've just installed the newest Mandrake and I'm stuck getting my wpc11 Linksys card working. I can't seem to get pcmcia card services working, and I don't even thing the install included pcmcia services. Is it possible to add that on and how would I go about doing that?

When I installed, I remember it saying it couldn't resolve the pcmcia or something like that...

My system is an Alienware Area 51m AKA Clevo..xxxx. I have 256 Ram, P4 2.4......

Any help would be much appreciated!
 
Old 02-13-2003, 02:16 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
a shot in the dark...

I just had a similar problem in Mdk with my SO's SMC pcmcia card and on the SMC site they had instructions to add some text to the /etc/pcmcia/config file (I think that's the right file...I'm at work so I can't double check...going on memory here).

Once I did that, restarting pcmcia services allowed the network to come up easily.

Maybe that's why pcmcia won't recognize the card?
 
Old 02-13-2003, 02:25 PM   #3
gnat79
LQ Newbie
 
Registered: Feb 2003
Distribution: Mandrake 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks tcaptain.

I think you got one step further than I have gotten.

Let me clarify a little more. There is no /etc/pcmcia directory, and of course, no files to config. I think that when I installed, it didn't like something about the hardware and said.. I'll just ignore it and skip...

Does that sound reasonable? I understand how little I do understand, so I think this may be really simple for a non-newbie.
 
Old 02-13-2003, 02:27 PM   #4
gnat79
LQ Newbie
 
Registered: Feb 2003
Distribution: Mandrake 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
One more note.... I don't think this really has a lot to do with my specific card, more like pcmcia services in general
 
Old 02-13-2003, 03:00 PM   #5
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
You could be right.

As I said, I'm going from memory. I'll check when I get home tonight for the exact location of the file.

Although looking at /etc/rc.d/init.d/pcmcia (the script itself) will probably point you to it...even though its mostly gibberish (to me I mean).

One note...don't give up too soon. From everything I can see its not that easy to install a wireless card....the way I see it, once you succeed (and you probably will), you'll have learned a lot about linux.

Last edited by tcaptain; 02-13-2003 at 03:01 PM.
 
Old 02-13-2003, 04:26 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
First off, yeah, somehow you ducked installing some important aspect of pcmcia. Mandrake's GUI software installer actually does a pretty good job and should be able to snag what you need off of the CDs.

After that, what flavor of card is it? WPC11 v1, v.2.5, v3? the v3 is supported (the other two should be out of the box), there just isn't an entry in the /etc/pcmcia/config file for it... its a hack to get it to work, one that we've gotten reather good at here:

www.clockwatching.net/~fin/random/lqhacks.conf

Once pcmcia works, you should be able to stick that in /etc/pcmcia (the last command in the file config is to read any other file for card info that ends in .conf in that directory ), then hard restart pcmcia with:

/etc/rc.d/init.d/pcmcia restart

And hopefully get the two happy beeps.

Cheers,

Finegan
 
Old 02-13-2003, 07:25 PM   #7
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
finegan has the right of it...

Glad he chimed in, its more complex than I thought.

Just to let you know the file I was referring to is /etc/pcmcia/config

I mean for my SMC (which isn't wireless, so from what finegan said above, it looks like its pretty different) the instructions from them had me add 2-3 lines in there and boom, the card was picked up...then I had to modprobe pcnet_cs (the driver) so that eth0 could come up.
 
Old 02-13-2003, 08:12 PM   #8
gnat79
LQ Newbie
 
Registered: Feb 2003
Distribution: Mandrake 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
I've been banging my head on my monitor for about two weeks now, mainly just agitated because the Linksys wpc11 isn't supported as well as the aironet cards, and I ended up just giving up on gentoo linux. Redhad 7.3 worked with the card, but the monitor wouldn't work, and I couldn't get RH 8.0 cds to burn, (like a lot of people, apparently), so my last attempt was to try Mandrake.

I found some drivers for redhat for the Linksys card (rpm style) and I kept those because I thought it would work for Mandrake. So, there really is a lot going on here. The first thing I tried to do was install them, and I noticed that the pcmcia services were missing, and it wouldn't let me rpm one of the three modules, the one for pcmcia.

I did find the pcmcia stuff in the mandrake package manager and installed them. Now, it starts pcmcia on boot. I also added the info for the config file, like finegan *thanks very much, btw* said. The unhappy silence ensued after I restarted pcmcia. Ughghghg..

Now, for a couple of questions. Do you think that the "drivers" I installed are interfering, should I clean them out? Another thing, I don't know if my cardmgr is watching the correct sockets, or any at all for the wpc11 card. Does anyone think that's an issue? Can you tell me how to set it to watch the correct one?

Muchas gracias, amigos!!!
 
Old 02-15-2003, 07:34 PM   #9
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Which three RPMs? the www.linux-wlan.net prism2_cs modules?

As for the config file... if that's lqhacks.conf, it only covers v3 of the WPC11, to figure out which one you have:

/sbin/cardctl ident

Cheers,

Finegan
 
Old 02-17-2003, 05:18 PM   #10
gnat79
LQ Newbie
 
Registered: Feb 2003
Distribution: Mandrake 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
The packages I installed are:

kernel-wlan-ng-0.1.15-6.i686.rpm
kernel-wlan-ng-modules-rh73.3-0.1.15-6.i686.rpm
kernel-wlan-ng-pcmcia-0.1.15-6.i686.rpm

I do have the version 3.0 card.

I had a dependency problem with the last one (pcmcia), so I did install that from the Mandrake packager. Then it worked. The readme from these drivers is the following:


*********************************************

WHAT YOU HAVE TO DO
~~~~~~~~~~~~~~~~~~~

-> install the packages.
You must install a minimum of 3 packages. The base package, the modules
package, and the "interface" package (i.e. PCI *or* PCMCIA *or* USB).

You must install the correct interface package *and* correct kernel modules
package to have any hope of success! The information to determine which
packages you need can be found with the following commands:

rpm -q redhat-release
-> you should know this, but it will tell you which RH you run.

grep "#define __MODULE_KERNEL_i" /boot/kernel.h
-> this will tell you whether you are running a i386, i586, or i686
kernel. This is crucial information!

uname -r
-> this will tell you which kernel you are actually running, both
the Linux version and the Redhat release.

-> Modify the /etc/wlan.conf and/or /etc/pcmcia/wlan-ng.opt file(s)
to configure your wireless card for YOUR specific WAP. The default
blank ones from 0.1.15 are provided. The documentation that comes with
the source code is provided in the kernel-wlan-ng base RPM. Don't forget
to check out the mailing list for additional help. And for crying out
loud, secure your Wireless setup...don't be an easy target for crackers!

-> Verify that the correct configuration line was placed in the
/etc/modules.conf file. This should have been done automatically when the
RPM was installed, but check it to make sure! For example, for PCMCIA
cards, the line should be 'alias wlan0 prism2_cs'.
*********************************************

I believe that this stuff is all relative to RH, not Mandrake.. What do you think? Here is a link for more info about the drivers... http://prism2.unixguru.raleigh.nc.us/

Once again, thanks for the help.
 
Old 02-18-2003, 03:49 AM   #11
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Either set of drivers will work, that config hack is so that it loads the orinoco_cs module for the wireless card, which only properly started supporting the prism 2.5 and 3 very recently, or at least reliably supporting them... its still sorta a mess, but the linux-wlan modules require so much extra stuff be added on, which just creates more opportunities for breakage.

First things first, no beeps, none, not a single sound? On startup you should get one, that's just the machine noticing the pcmcia device at all... if you don't get that... then for some reason pcmcia horked.

Pop in the card and you should then get a beep like the first one or a pause and a very low toned distinguishable "bonk" which is pcmcia saying it didn't recognize the card.

In the future, I would recommend against ever trying to use a RedHat RPM for Mandrake when it involves kernel modules, both distros use "kernel module version symboling" which means that they don't play together nice, and that you probably have a directory now called /lib/modules/2.4.18-7 as well as one called /lib/modules/2.4.18-mdksomething... and even if you manually moved all the prism2_cs modules and ran a depmod, they probably won't load. Some RPMs are cross-compatible, some really aren't. For the WPC11 in order to get orinoco_cs to load, try just moving the wlan-ng.conf file out of /etc/pcmcia (that'll avoid any nasty conflict, and then copy this guy into /etc/pcmcia:

http://www.clockwatching.net/~fin/random/lqhacks.conf

Cheers,

Finegan
 
Old 02-18-2003, 09:49 AM   #12
gnat79
LQ Newbie
 
Registered: Feb 2003
Distribution: Mandrake 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
No beeps, no pause, no nada.

I moved all the wlan-ng stuff that I recognized out of /etc/pcmcia and put in your lqhacks.conf Is that the name it should retain, or should that be changed?

Thanks again!
 
Old 02-18-2003, 01:41 PM   #13
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Well you did step 2, unfortunately step one is just getting pcmcia up again... weird that it isn't working. What errors do you get from:

/etc/rc.d/init.d/pcmcia restart

Cheers,

Finegan
 
Old 02-19-2003, 06:41 PM   #14
gnat79
LQ Newbie
 
Registered: Feb 2003
Distribution: Mandrake 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
I get the classic "no devices found" error.

I'm going to hang it up on this install and get some RH 8.0 cds from a friend that are properly burnt and see if I can install that. I think there is something quirky about my hardware that ML doesn't like, because RH 7.3 liked my card (after I persuaded it gently to like it) and I had a good connection.

I have learned a pile from this whole experiment, but it's really getting time consuming and I have to learn stuff for school to get good grades, that's more important... So, for now I hope RH will work better.. if not, I'll pick up where I am leaving off now.

Thanks for all your help Finegan.. I really do appreciate it and I will probably be back for more!
 
  


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
PCMCIA wireless Card for Mandrake 10 jknapp5498 Mandriva 1 04-15-2004 09:57 AM
Help, PCMCIA Wireless card on Fresh Instalation - Mandrake 9.2 HOW ?! kidoido Linux - Wireless Networking 0 02-19-2004 01:08 AM
Mandrake 9.1 & Belkin wireless PCMCIA card lucat Linux - Hardware 0 03-30-2003 10:18 AM
mandrake 9.0 and wireless pcmcia satnewbie Linux - Wireless Networking 4 01-29-2003 10:26 PM
What is a good PCMCIA Wireless card for Mandrake 9? stickben Linux - Wireless Networking 2 11-26-2002 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:41 PM.

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