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
|