to be noob friendly..
*USE SSH FOR EASIER INSTALLATION
(Step 1) Install the following packages -
CODE
apt-get install bash pymaemo-optify python2.5-qt4 python2.5-sip4 rootsh
(Step 2) Create a directory for the neopwn setup files -
CODE
mkdir /home/user/MyDocs/neo
(Step 3) Copy get-it_files.tar.gz from your Pc/Mac to the setup folder by using OPENSSH or MASS STORAGE MODE
scp /files.tar.gz root@(Enter N900 IP):/home/user/MyDocs/neo
or
transfer directly using Mass Storage mode to the folder home/user/MyDocs/neo
(Step 4) Change to that directory
CODE
cd /home/user/MyDocs/neo/
(Step 5) Extract the NeoPwn setup files
CODE
tar -zxvf get-it_files.tar.gz
(Step 6) Copy the files to their required directories
CODE
cp neopwn /usr/bin/
cp neopwn.sh /usr/bin/
cp neopwn.png /usr/share/pixmaps/
cp neopwn.desktop /usr/share/applications/hildon/
(Step 7) Restart hildon-home
CODE
killall hildon-home
(Step 8) Setup the control panels User Interface
CODE
mkdir -p /opt/neopwn
tar zxvf control-panel-ui.tar.gz -C /opt/neopwn/
*STEP 9 AND 10 HAS TO BE DONE ON THE N900 TERMINAL*
(Step 9) Install the kernel drivers
CODE
dpkg -i kernel-power_2.6.28-maemo40-wl1_armel.deb
dpkg -i kernel-power-modules_2.6.28-maemo40-wl1_armel.deb
(Step 10) Flash the N900
CODE
dpkg -i kernel-power-flasher_2.6.28-maemo40-wl1_armel.deb
*this will install kernel-power..reboot afterwards
(Step 11) Unmount and Format your MicroSd ready NeoPwn files
Method 1 - using the whole micro SD for neopwn
CODE
umount /media/mmc1
mke2fs -t ext3 /dev/mmcblk1p1
Now Reboot
or
Method 2 - Using specific partition for neopwn
Use GParted to create and format the ext3 partition (eg: third partition of the microSD mmcblk1p3 - for .neopwn)
*NOTE AT THIS TIME, AFTER REBOOT, THE PHONE OR FILE MANAGER WILL DISPLAY AN ERROR "MEMORY CARD FORMAT UNSUPPORTED". THIS IS NORMAL. PLEASE PROCEED WITH THE STEPS.
(Step 12) Make a directory for MicroSd card to be mounted on to the partition
CODE
mkdir /.neopwn
(Step 13) Mount the partition Microsd card on the /.neopwn directory
CODE
mount -t ext3 /dev/mmcblk1p1 /.neopwn/ -o noatime
(type this if you formatted the card using "mke2fs -t ext3 /dev/mmcblk1p1)
or
CODE
mount -t ext3 /dev/mmcblk1p3 /.neopwn/ -o noatime
(type this if you formatted the card using GParted and created an ext3 partition on partition 3-mmcblk1[p3])
*IMPORTANT - COPY THE FILES w00t.tar.gz FROM YOUR PC/LAPTOP TO THE DEFAULT DIRECTORY OF PHONE (/home/user/MyDocs) BY USING USB CONNECTION -> MASS STORAGE MODE
* THEN
CODE
cp -r /home/user/MyDocs/w00t.tar.gz /.neopwn
*this will copy the w00t.tar.gz from the MyDocs to .neopwn..which will take quite some time (10-20minutes)
*FROM THIS STEP TO 17, COMMANDS ARE TO BE TYPED IN THE N900 TERMINAL ITSELF.
(Step 16) Change to the /.neopwn Directory
CODE
cd /.neopwn
(Step 15) Extract the files
CODE
tar -zxvf w00t.tar.gz
(it'll take at least 45 minutes to 1 hour to extract due to the large file. Make sure the phone is connected to the charger to avoid data corruption while extracting)
(Step 16) synchronize (Run twice just to make sure)
CODE
sudo gainroot
cd /.neopwn
sync
sync
(Step 17) Give permission for neopwn to execute
CODE
sudo gainroot
chmod +x /usr/bin/neopwn
chmod +x /usr/bin/neopwn.sh
*When done, do this (i prefer leafpad, but any editor is up to you - leafpad/vim) -
ONLY DO THIS IF YOU USE METHOD 2 IN STEP 11 (using GParted to create partition), if not, you may skip this step and continue to step 18
CODE
leafpad /opt/neopwn/control-panel-ui/etc/conf.py
find and change the line that has "mmcblk1p1" to "mmcblk1pX" where X = neopwn partition, eg: mmcblk1p3 if neopwn is on partition 3. then save.
(step 18) To be able to use packet injection, download the modules here
http://rapidshare.com/files/429066238/injection_modules.rar and add the enable/disable packet injection to the desktop by :
a)Enter through ssh and put the files "rmneo.desktop" and "insneo.desktop" (These are the shortcuts) in
QUOTE
/usr/share/applications/hildon/
b)Then put the icons stop.png and go.png in
QUOTE
/usr/share/pixmaps/
c)Finally,put the "rmneomod.sh" and "insneomod.sh" injection script in the folder
QUOTE
/home/user/
d)Disconnect from the SSH
*FROM THIS STEP ONWARDS, COMMANDS ARE TYPED IN THE N900 TERMINAL ITSELF.
(Step 19) Give permission for the script to execute by
CODE
sudo gainroot
chmod +x insneomod.sh
chmod +x rmneomod.sh
*exit the terminal
(Step 20) Add the shortcuts (Green Light, Stop Hand, and NeoPwn) to the desktops (*THIS STEP IS OPTIONAL)
(Step 21) Test if the packets injection is working and if the modules are being loaded correctly
a)tap the "Green Light" icon to turn on packet injection
b)type
CODE
lsmod |grep wl12
to check the loaded modules
b)and now ur card has turned into monitor mode. To be sure, test like this :
CODE
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up
aireplay-ng -9 wlan0
c)it should say "Injection is working!"
(Step 22) Run NeoPwn V2 from the menu or desktop shortcut
***AFTER THIS,WHAT YOU DO WITH IT IS YOUR BUSINESS..AS I WOULD NOT CREATE A TUTORIAL IN HOW TO CRACK WEP USING NEOPWN AND GRIMWEPA..PLEASE SEARCH IT YOURSELF
(Step 23) After done cracking your target WEP, turn off packet injection to avoid high battery consumption by pressing the "Stop Hand" icon
* Check if the modules have been unloaded by
CODE
lsmod |grep wl12
[

[/B]