LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ARGH! Enterasys RoamAbout DS, Kismet, Slackware 10, Kernel 2.6.7 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/argh-enterasys-roamabout-ds-kismet-slackware-10-kernel-2-6-7-a-262629/)

SocialEngineer 12-04-2004 05:21 PM

ARGH! Enterasys RoamAbout DS, Kismet, Slackware 10, Kernel 2.6.7
 
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.

Afterwards I went to install Kismet to see how it worked, and found I need to install a patched driver. So, I followed the instructions here: http://www.kismetwireless.net/HOWTO-...noco_Rfmon.txt

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. :/

2Gnu 12-04-2004 06:35 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.

SocialEngineer 12-04-2004 07:57 PM

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?

2Gnu 12-04-2004 11:21 PM

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 release candidate drivers are here: http://ozlabs.org/people/dgibson/dldwd/

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.

SocialEngineer 12-05-2004 02:24 PM

Errors returned from make..

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

SocialEngineer 12-05-2004 03:40 PM

Ok, I just installed the 15rc2 drivers and it works fine. Thanks for the help.

dmadcat 12-14-2004 09:49 AM

Quote:

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.

2Gnu 12-14-2004 10:38 AM

Thanks. I did not catch that at all.

d'oh!

aikyg 03-23-2009 03:41 AM

@dmadcat, your post was also helpful to me. Thanks so much.

Ifeanyi


All times are GMT -5. The time now is 05:33 PM.