Site Network: Personal | Academic | Shop my eBay

blogging

i guarantee that this wont be the most interesting information that you will read all day, but maybe it is better than the sudoku you would otherwise be doing.

November 2, 2007

fixed a bug with the download manager

Filed under:    features — waraey @ 9:27 am

The download manager was having issues with long filenames. I have fixed this issue and it should be good to go now. I also updated some descriptions of files.


October 21, 2007

Intel 2200BG Injection patch on Ubuntu 7.10 (Gutsy Gibson)

Filed under:    wifi,    linux — waraey @ 3:47 pm

This will walk you through installing the latest ieee80211 drivers and ipw2200 drivers and firmware with injection patch.

I personally use this for my integrated intel 2200bg wireless card.

First please make sure you have build-essential installed.

#sudo apt-get install build-essential

Our next step will be to get and install the latest ieee80211 modules.

#wget http://internap.dl.sourceforge.net/sourceforge/ieee80211/ieee80211-1.2.18.tgz
#tar zxvf ieee80211-1.2.18.tgz
#cd ieee80211-1.2.18
#sudo make
#sudo make install

We will next get the ipw2200 drivers and extract

#wget http://internap.dl.sourceforge.net/sourceforge/ipw2200/ipw2200-1.2.2.tgz
#tar zxvf ipw2200-1.2.2.tgz

get the two patch files we need

#wget http://www.waraey.com/dl/files/ipw2200-1.2.2-inject.patch
#wget http://www.waraey.com/dl/files/ipw2200-1.2.2-make.patch

patch the makefile and the ipw2200.c file

#patch ipw2200-1.2.1/ipw2200.c ipw2200-1.2.1-inject.patch
#patch ipw2200-1.2.1/Makefile ipw2200-1.2.1-make.patch

now we will remove the old driver then make and install the new one

#cd ipw2200-1.2.2
#sudo ./remove-old
#sudo make
#sudo make install

#sudo rmmod ipw2200
#sudo modprobe ipw2200 rtap_iface=1

#sudo gedit /etc/modprobe.d/options

now add the line at the bottom:
“options ipw2200 rtap_iface=1″

We need to next verify that we have the latest intel firmwares loaded.

#wget http://bughost.org/firmware/ipw2200-fw-3.0.tgz
#tar zxvf ipw2200-fw-3.0.tgz
#cd ipw2200-fw-3.0.tgz

copy the firmware to our

#sudo cp *.fw /lib/firmware/2.6.22-14-generic/

restart and you should have the rtap interface with the newest modules and firmware


madwifi-ng injection drivers for Ubuntu 7.10 (Gutsy Gibson)

Filed under:    wifi,    linux — waraey @ 2:36 pm

This will walk you through installing the latest madwifi-ng drivers and injection patch them for aircrack-ng.
Madwifi-ng is available for non-injection use at: http://www.madwifi.org
Aircrack, the Wireless cracking tools are available at: http://www.aircrack-ng.org

I personally use this for me Netgear WG111T Wireless Card

First please make sure you have build-essential and subversion installed.

#sudo apt-get install build-essential
#sudo apt-get install subversion

Once subversion is installed checkout the madwifi project

#svn checkout http://svn.madwifi.org/madwifi/trunk/ madwifi-ng

Get the latest patch from the aircrack site:

#wget http://patches.aircrack-ng.org/madwifi-ng-r2277.patch

patch the madwifi source code

#cd madwifi-ng
#patch -Np1 -i ../madwifi-ng-r2277.patch

remove the old versions and make then install the new modules

#./scripts/madwifi-unload
#make
#make install

For me the installation and removal did not fully work so here is a manual install:

#cd ath
#sudo cp -dpR *.ko /lib/modules/2.6.22-14-generic/net/
#cd ..
#cd ath_hal
#sudo cp -dpR *.ko /lib/modules/2.6.22-14-generic/net/
#cd ..
#cd ath_rate
#cd amrr
#sudo cp -dpR *.ko /lib/modules/2.6.22-14-generic/net/
#cd ..
#cd minstrel
#sudo cp -dpR *.ko /lib/modules/2.6.22-14-generic/net/
#cd ..
#cd onoe
#sudo cp -dpR *.ko /lib/modules/2.6.22-14-generic/net/
#cd ..
#cd sample
#sudo cp -dpR *.ko /lib/modules/2.6.22-14-generic/net/

Restart and the new modules should be loaded and ready for injection.


October 20, 2007

Hostap Injection patch on Ubuntu 7.10 (Gutsy Gibson)

Filed under:    wifi,    linux — waraey @ 4:04 pm

This is a quick tutorial on hot to compile the hostap driver with the aircrack-ng injection patch. Thanks to angus for the old reference material. http://asndotone.blogspot.com/

First and foremost you will need to install a few packages you may not already have: “build-essential”, “dpkg-dev” and “linux-kernel-devel”.

From your home directory create a temp directory that we can work in.

#mkdir hostapinject
#cd hostapinject

you now want to create a sub directory for our new kernel compilation

#mkdir koutput
#cp /boot/config-2.6.22-14-generic /config-2.6.22-14-generic
#cd koutput
#ln -s ../config-2.6.22-14-generic .config

get the kernel for gutsy gibson. this may take a little while since its a ~60mb file.

#apt-get source linux-image-2.6.22-14-generic

get the modified patch (updated to reflect new kernel), and patch the kernel

#wget -nc http://www.waraey.com/dl/files/hostap-kernel-2.6.22.patch
#patch -p1 < hostap-kernel-2.6.22.patch

now lets compile the hostap kernel module v0.4.4 Note the v0.4.9 appears newer but is not compliant with the kernel configuration.

#cd linux-source-2.6.22-2.6.22/

we must manuall change version info (bug) so we dont get tainted kernel

#sudo gedit Makefile

change extraversion from “= 9″ to “= -14-generic” . This should be the default but it has not been updated yet. Save and exit then:

#make O=../koutput outputmakefile
#make O=../koutput archprepare
#make O=../koutput modules SUBDIRS=scripts
#make O=../koutput modules SUBDIRS=drivers/net/wireless/hostap

hopefully this will succeed without any errors and you should now be ready to backup and install the new drivers.

backup the old files

#cd ..
#mkdir kbackup
#cd kbackup
#sudo cp /lib/modules/2.6.22-14-generic/kernel/drivers/net/wireless/hostap/*.ko ./

now we are safe to install the new patched drivers

#cd ..
#cd koutput/drivers/net/wireless/hostap/
#sudo cp -dpR *.ko /lib/modules/2.6.22-14-generic/kernel/drivers/net/wireless/hostap/

At this point you may also want to install the host ap utils:

#sudo apt-get install hostap-utils

Restart and it should load the new module. If booting freezes, remove the card to boot, then insert it after boot, and check #dmesg | grep hostap for errors.

I am still getting an error about kernel being tainted when loading the module. If figured fixing the vermagic would fix this problem, but it has not. If you have any suggestions let me know. “hostap: no version for “struct_module” found: kernel tainted.”

I believe the freezing during boot is due to hostap dependency on ieee80211. If someone knows how to simply add a dependency check to the module let us know, otherwise we are stuck putting the card in after boot.

UPDATE 10/21/2007 !!!!

I have found a way to remove the “kernel tainted” error and fix the dependency problems. After you edit the makefile with”-14-generic” then #make O=../koutput menuconfig . You may need to have all of the latest ncurses configs. Then before you make SUBDIRS=scripts run #make O=../koutput modules . After it gets the essentials and scripts and most all the way through you can control-C out and continue on. This resoves all warnings with dependencies and taintedness.

This does not solve the non-booting problem with the card installed, but I am looking into this issue and will report back.

good luck,
waraey


waraey.com beta 1 LIVE!

Filed under:    general — waraey @ 12:11 am

After a night of headaches I have transerred the site from my ubuntu lamp server to my online server. All seems to be working well, though there was some difficulty. Most of it was in manually transferring over some databases so that no information thus far has been lost. I am excited the design stage is done, but now I have to test for errors. :-( I already know the contact form doesnt work because I need to modify the php ini with smtp settings first. But hopefully soon all will be going good.


October 17, 2007

almost done…

Filed under:    features — waraey @ 12:21 am

I somehow got a little time to work on the site. I have updated the color pallet, and will insert it on the site somewhere. Now all I need to do is create some real content and publish the site. I’m kind of excited this could be up and running soon.


October 9, 2007

updates are coming

Filed under:    general — waraey @ 7:59 pm

So I finally found some time to resume work on the site. Its good news, and I hope to actually publish it before too long.

One day my screen wont always be covered in code. :-) coding screen


September 17, 2007

compatibility fixes

Filed under:    features — waraey @ 12:08 am

a few things with the blog and photo pages were appearing different in IE and firefox, so I had to make a few changes. Those sections should be working now.


September 16, 2007

Features Update

Filed under:    features — waraey @ 3:14 am

whoop! i have finished the links section, the blog section, and now almost the photo section. this is great, i just need to find some goof file management stuff for the download section and possibly add an uload section for approved users. I was also thinking of a video section and a forum, phpBB probably.


September 15, 2007

hello readers

Filed under:    general — waraey @ 3:49 pm

today is my first blog post. that means hopefully that my theme worked and has no bugs. only time will tell. leave a comment if you find one.