orinoco patch -- seek monitor mode
I was just writing to seek a little guidance for patching the orinoco wireless card driver. I just installed slackware 10.0 (2.4.26 kernel) and couldn't get it patched. I tried schmoo's patch with:
Code:
patch -p1 < orinoco-0.13e-dragorn-patch.diff Code:
can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? any suggestions... btw, this approach didn't work with slackware 9.0 either, but many act as though it is no big deal with other distros. I just want to be able to throw my card into monitor mode so I can do some scanning. thanks |
Running Slack here with Schmoo patches.
1. Download the orinoco driver source and unzip 2. Copy the patch to the source folder and apply 3. make, make install 4. Restart PCMCIA Alternatively, I've read that the version 0.14x driver source does not need to be patched. Correction to the last comment. I tried the 0.14alpha2 driver and Kismet errored out with a "can't put the card into monitor mode." The 0.15rc1 driver did work without patching, though. I tried both of them on the 2.6.7 kernel with Slack 10. |
I was succsesful at patching the drivers by altering the above command,
patch -p1 < orinoco-0.13e-dragorn-patch.diff to patch -p0 < orinoco-0.13e-dragorn-patch.diff , although I was never able to set my card to monitor mode, I am using slack 10 and am using the 2.6.7 kernel, I would love to here if anyone got this working yet, as I am reluctant to go back to the old kernel. Thanks |
bump
|
actually i am mistaken, that worked with a different driver, I am unsucsesful with that patch
|
It's not clear what you have tried or what went wrong.
I offered some specific steps that worked for me. Did you try those steps and, if so, what were the results. Please post specific errors if any. If you're using a different set of drivers or patches, please list them along with any compile errors. |
I downloaded the orinoco 0.13e- dragorn patch and have been unsucsessful at patching that, this is on the 2.6.7 kernel. This seems to be a dead end for now, I have been able to patch the orinoco_cs driver for my 2.4.26 kernel put i am still unable to put the card into monitor mode. I have not patched the pcmcia-cs drivers as I'm not sure where they live in the kernel tree.
esssentially i cant patch the 2.6.7, and Im not sure where to patch 2.4.26 Thanks |
Quote:
Quote:
Have you tried the 0.15rc1 driver as suggested above? |
for the 2.6.7 kernel I tried applying the the orinoco 0.13e-dragorn patch in the drivers/net/wireless directory of the kernel, getting the resulting output:
bash-2.05b# patch -p1 < orinoco-0.13e-2.6.2-patch.diff can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur linux-2.6.2/drivers/net/wireless/airport.c linux-2.6.2-orinoco/drivers/net/wireless/airport.c |--- linux-2.6.2/drivers/net/wireless/airport.c 2003-12-18 10:59:45.000000000 +0800 |+++ linux-2.6.2-orinoco/drivers/net/wireless/airport.c 2004-02-17 15:26:40.000000000 +0800 -------------------------- File to patch: I have also for the 2.4.26 kernel patched with the orinoco-cs-0.13d patch in the same directory as above for the 2.4.26 kernel. this was successful, however as I understand it I need to also patch the pcmcia-cs driver, but I am unable to locate this driver to see which patch applies also do compile my kernel after applying the patches? thanks for all the intrest 2gnu |
From the Shmoo instructions:
"If you want to install one of the orinoco-0.xx patches directly to your kernel sources or to pcmcia-cs sources that I have not yet provided a patch for (see pcmcia-cs-X.Y.Z/wireless/orinoco_cs.c to determine what version you need), then drop the patch in the same directory as the orinoco source files and use the following command patch -p1 < orinoco-0.XX-patch.diff" So, what I suggested above, with as much detail as I can: Download and unzip orinoco-0.13e.tar.gz Download the orinoco-0.13e-patch.diff patch $ cd orinoco-0.13e $ cp path_to_file/orinoco-0.13e-patch.diff . $ patch -p1 < orinoco-0.13e-patch.diff $ make $ su # make install Restart pcmcia services - /etc/rc.d/rc.pcmcia restart or /etc.initrd/pcmcia restart depending on your distro. Check for monitor mode with iwpriv. Again, as an alternative, try the most recent orinoco_cs drivers - 0.15RC1. They work for me with Kismet and 2.4.26 without patching (a couple of odd artifacts, thought). I've not been able to get Kismet to run under 2.6.7 for more than a minute or so. I've not recompiled under 2.6.7 to see if that will help. |
Thanks for all the help, guys,
I recompiled my 2.4.26 kernel removing the wavelan modules, and after that my card now goes int monitor mode. I will have to see if the same will work for the 2.6.7 kernel. Thanks again |
That seems to be the trick, removing the wavelan modules from the kernel allows me to go into monitor mode with the stock drivers that are in the slackware packages. I was able to start kismet in the 2.6.7 kernel and had no problems that i could tell in 10 minutes, I hope this helps.
|
All times are GMT -5. The time now is 01:32 AM. |