wireless monitor mode using ubuntu feisty 7
im trying to setup my wifi card i got from a compex router/Access Point.
I pulled it out of the router and inserted it into my ubuntu laptop and ran dmesg.
[111899.588000] pccard: PCMCIA card inserted into slot 0
[111899.588000] pcmcia: registering new device pcmcia0.0
[111899.672000] eth2: Hardware identity 0001:0004:0005:0000
[111899.672000] eth2: Station identity 001f:0001:0008:002a
[111899.672000] eth2: Firmware determined as Lucent/Agere 8.42
[111899.672000] eth2: Ad-hoc demo mode supported
[111899.672000] eth2: IEEE standard IBSS ad-hoc mode supported
[111899.672000] eth2: WEP supported, 104-bit key
[111899.672000] eth2: MAC address 00:02:2D:90:22:ED
[111899.672000] eth2: Station name "HERMES I"
[111899.672000] eth2: ready
[111899.672000] eth2: orinoco_cs at 0.0, irq 3, io 0x4040-0x407f
[111967.604000] eth2: New link status: Connected (0001)
here above is the results
ive been googling quite a bit online to compile drivers to use monitor mode.
i also tried to manuelly set the iwconfig eth2 mode monitor
but no luck and from what i understand is that its a problem with the orinio drivers which interface with this card.
I do know this card is capable of monitor mode because thats how the compex router works it goes into monitor mode with this card.
im still lost as to whether i need to downgrade my firmware ? which is what verison?
do i compile orinoco drivers ? I did try to compile but when i apply the patch for monitor mode it errors on compiling.
SEE ERRORS BELOW
ERRORS ON PATCHING
patch -p1 --dry-run < orinoco-0.15rc2-dragorn-02.diff
patching file orinoco.c
Hunk #1 FAILED at 447.
Hunk #2 succeeded at 417 with fuzz 2 (offset -93 lines).
Hunk #3 FAILED at 1083.
Hunk #4 FAILED at 1139.
Hunk #5 FAILED at 1159.
Hunk #6 FAILED at 1270.
Hunk #7 FAILED at 2253.
Hunk #8 succeeded at 2623 with fuzz 2 (offset -338 lines).
Hunk #9 succeeded at 4442 with fuzz 2 (offset -366 lines).
Hunk #10 FAILED at 4619.
Hunk #11 FAILED at 4702.
8 out of 11 hunks FAILED -- saving rejects to file orinoco.c.rej
patching file orinoco.h
make -C /usr/src/linux-headers-2.6.20-16-generic M=/orinoco/orinoco-0.15rc4 KERNELRELEASE= modules
make: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
CC [M] /orinoco/orinoco-0.15rc4/orinoco_nortel.o
/orinoco/orinoco-0.15rc4/orinoco_nortel.c:43:26: error: linux/config.h: No such file or directory
In file included from /orinoco/orinoco-0.15rc4/orinoco_nortel.c:52:
/orinoco/orinoco-0.15rc4/orinoco_pci.h: In function ‘orinoco_pci_resume’:
/orinoco/orinoco-0.15rc4/orinoco_pci.h:88: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/orinoco/orinoco-0.15rc4/orinoco_nortel.c: In function ‘orinoco_nortel_init_one’:
/orinoco/orinoco-0.15rc4/orinoco_nortel.c:203: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make: *** [/orinoco/orinoco-0.15rc4/orinoco_nortel.o] Error 1
make: *** [_module_/orinoco/orinoco-0.15rc4] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make: *** [modules] Error 2