|
step-by-step
what you need:
- configured pcmcia_cs-3.1.31 source tree
- already running pcmcia card services (kernel or package, doesn't matter; mine is subversion 33)
- prism2 based card
- hermes based card
steps to compile and implement the drivers for the prism card:
- untar the airjack package
- go to the airjack-v0.6.2-alpha dir and type make
- copy the driver (airjack_cs.o) to your modules path
- run depmod
- plugin your prism card and have look in your /var/log/messages file
- find the corrosponding entry for your card type (mine is Intersil PRISM2 Reference Design 11Mb/s WLAN Card)
- edit your config (or wlan-ng.conf) file in /etc/pcmcia
- look for the string you found in messages for your card
- change the "bind" entry from "prism2_cs" or "orinoco_cs" to "airjack_cs"
- restart pcmcia card services
- plugin your card and type lsmod in your console (there should now be an entry airjack_cs)
- type ifconfig -a ; there should now be an interface called aj0
- if so, your done with the first part, if not have a look on your logfile for info
steps to compile and implement the patched drivers for the orinoco card:
- copy the /airjack-v0.6.2-alpha/patches/orinoco.c.patch to /usr/src/pcmcia-cs-3.1.31/wireless/
- patch the driver using: patch -p0 < orinoco.c.patch
- in the /usr/src/pcmcia-cs-3.1.31/wireless/ directory type "make"
- if something goes wrong, make sure that you have previously configured your pcmcia source tree by doing a "make config" in the pcmcia-source dir
- after the drivers are compiled, copy them to your modules dir (be sure to make a backup of your working drivers)
- run depmod again
- restart your pcmcia card services and plugin your orinoco card
- check with lsmod and in /var/log/messages that the correct drivers have been loaded
- if so, your done, if not check everything again
compiling the airjack tools:
- change to /airjack-v0.6.2-alpha/tools/ and type "make"
- after compilation type "make monkey-jack" (you can also edit the makefile to make the last two steps one)
- when all tools are compiled, try to use ./setmac <interface name> <mac address> and look if the mac address of your orinoco card has changed, if so, everything is fine now
using the airjack tools:
- plugin both cards (prism2 and orinoco)
- go to your airjack/tools dir (or whereever you cp'd the binarys) and play around with the tools
- bring up the interface aj0
example: ./wlan_jack -b xx:xx:xx:xx:xx:xx -c 11 -i aj0
the xx is for the mac of your access-point
if you type ./wlan-jack (or the other ones) you get the usage hints
recommendation: read the powerpoint presentation of abaddon; it contains useful hints
if you got still problems, just ask, i'll see if i can help you
cheers
c0rnholio
|