Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I have an Enterasys RoamAbout DS (Orinoco based card) that I bought for wardriving and wireless networking projects. I went wardriving with it using some homemade scripts, to make sure it all worked.
After rebooting, I found that I no longer had PCMCIA support. Joy.
What did I do wrong, and how do I remedy the situation? I'm running Slackware 10 w/ Kernel 2.6.7. I'd rather not do multiple kernel recompiles - It takes a LONG time to recompile the sucker on my 300mhz laptop, and I have other things I need to be working on.
Note: When I ran the patch -pl command, I got the error "patch: **** strip count 1 is not a number".
*edit* oh great.. It seems my mouse doesn't work now either. It's a Thinkpad 600 with a nib mouse. :/
Last edited by SocialEngineer; 12-04-2004 at 05:29 PM.
A simpler approach, and one more suited to your laptop than kernel compiling:
Use the stock Slack kernel, download and untar the orinoco_cs 0.13e source, apply the shmoo patch and install the driver as described here: http://airsnort.shmoo.com/orinocoinfo.html
Or, use the orinoco_cs 0.15RC2 drivers. I'm using them with a Slack 2.6.7 kernel and they work fine.
I'm not totally grasping the process I need to go through from that page. Do I grab the PCMCIA patch, and the orinoco patch? Where can I grab the .15RC2 drivers?
Of the two methods described on the linked page, I prefer the second - patching the drivers directly and installing them.
Step by step:
Download the 0.13e driver from here: http://ozlabs.org/people/dgibson/dld...o-0.13e.tar.gz
Download the shmoo patch from here: http://airsnort.shmoo.com/orinoco-0.13e-patch.diff
Untar the driver:
$ tar zxvf orinoco-0.13e.tar.gz
Change directory to the orinoco driver
$ cd orinoco-0.13e
Copy the patch to the orinoco directory
$ cp ../orinoco-0.13e-patch.diff .
Apply the patch
patch -p1 < orinoco-0.13e-patch.diff
Compile the driver
$ make
Become root
# make install
Restart PCMCIA services to load the new driver
# /etc/rc.d/rc.pcmcia restart
Activate the wireless interface
# ifconfig eth0 up
Run Kismet
# kismet
The Kismet docs warn of some unpleasantness with RC versions and kernel 2.6.9, so you may want to re-read that part even though it does not seem to apply in your scenario.
make -C /lib/modules/2.6.7/build SUBDIRS=/home/op/drivers/orinoco-0.13e modules
make[1]: Entering directory `/usr/src/linux-2.6.7'
CC [M] /home/op/drivers/orinoco-0.13e/orinoco_cs.o
/home/op/drivers/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_hard_reset':
/home/op/drivers/orinoco-0.13e/orinoco_cs.c:134: warning: implicit declaration of function `CardServices'
/home/op/drivers/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_attach':
/home/op/drivers/orinoco-0.13e/orinoco_cs.c:206: error: structure has no member named `release'
/home/op/drivers/orinoco-0.13e/orinoco_cs.c:207: error: structure has no member named `release'
/home/op/drivers/orinoco-0.13e/orinoco_cs.c:208: error: structure has no member named `release'
/home/op/drivers/orinoco-0.13e/orinoco_cs.c: In function `init_orinoco_cs':
/home/op/drivers/orinoco-0.13e/orinoco_cs.c:688: warning: implicit declaration of function `register_pccard_driver'
/home/op/drivers/orinoco-0.13e/orinoco_cs.c: In function `exit_orinoco_cs':
/home/op/drivers/orinoco-0.13e/orinoco_cs.c:696: warning: implicit declaration of function `unregister_pccard_driver'
make[2]: *** [/home/op/drivers/orinoco-0.13e/orinoco_cs.o] Error 1
make[1]: *** [_module_/home/op/drivers/orinoco-0.13e] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.7'
make: *** [modules] Error 2
Last edited by SocialEngineer; 12-05-2004 at 02:42 PM.
Note: When I ran the patch -pl command, I got the error "patch: **** strip count 1 is not a number".
Just FYI
The command is "patch -p1 (the number one) < /path/to/kernel/patch". The error you got was actually saying strip count l (the letter L) is not a number.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.