View Single Post
Old 29-Nov-2007, 03:07 AM   #1 (permalink)
Anilrgowda
Administrator
 
Anilrgowda's Avatar

Posts: 18,715
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Problem with patching ipw 3945 driver to enable packet injection on wireless card on

I am trying to enable injection on my Toshiba Satellite laptop the wireless card is ipw 3945 as experienced users might know that the driver that comes with Ubuntu does not support injection and the driver needs to be patched.

I have followed http://aircrack-ng.org/doku.php?id=ipw3945 from the aircrack site.

I did not get very far with the process although it is simple and straight forward :

I did

wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/ipwraw-ng-2.0.0-10072007.tar.bz2
tar -xjf ipwraw-ng*
cd ipwraw-ng
make

but make returns the errors presented.

I did the following steps to make sure I have all the needed dependencie:

apt-get install build-essential

I have downloaded the correct kernel headers and the linux source for my kernel using apt-get...I could not find anything useful using Google..


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:

Quote:
/home/alinux/ipwraw-ng/ipwraw.c: In function ‘ipw_bg_up’:
/home/alinux/ipwraw-ng/ipwraw.c:8212: error: dereferencing pointer to incomplete type
/home/alinux/ipwraw-ng/ipwraw.c:8212: warning: type defaults to ‘int’ in declaration of ‘__mptr’
/home/alinux/ipwraw-ng/ipwraw.c:8212: warning: initialization from incompatible pointer type
/home/alinux/ipwraw-ng/ipwraw.c:8212: error: invalid use of undefined type ‘struct delayed_work’
/home/alinux/ipwraw-ng/ipwraw.c:8213: warning: type defaults to ‘int’ in declaration of ‘__mptr’
/home/alinux/ipwraw-ng/ipwraw.c:8213: warning: initialization from incompatible pointer type
/home/alinux/ipwraw-ng/ipwraw.c: In function ‘ipw_bg_restart’:
/home/alinux/ipwraw-ng/ipwraw.c:8226: error: dereferencing pointer to incomplete type
/home/alinux/ipwraw-ng/ipwraw.c:8226: warning: type defaults to ‘int’ in declaration of ‘__mptr’
/home/alinux/ipwraw-ng/ipwraw.c:8226: warning: initialization from incompatible pointer type
/home/alinux/ipwraw-ng/ipwraw.c:8226: error: invalid use of undefined type ‘struct delayed_work’
/home/alinux/ipwraw-ng/ipwraw.c:8227: warning: type defaults to ‘int’ in declaration of ‘__mptr’
/home/alinux/ipwraw-ng/ipwraw.c:8227: warning: initialization from incompatible pointer type
/home/alinux/ipwraw-ng/ipwraw.c: In function ‘ipw_pci_probe’:
/home/alinux/ipwraw-ng/ipwraw.c:8737: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[2]: *** [/home/alinux/ipwraw-ng/ipwraw.o] Error 1
make[1]: *** [_module_/home/alinux/ipwraw-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-12-386'
make: *** [modules] Error 2


------------------


Anilrgowda is offline   Reply With Quote