Archive for the ‘Uncategorized’ Category

Free 5-minute International Calls

Friday, November 6th, 2009

You’ve heard of 1800-FREE-411.  It’s a 411 directory service that doesn’t charge you the 1.49 that mobile companies do.  They started a new promotion which allows you to call them and dial any International number and talk for 5 minutes.  Why free? Well, the catch is that you have to listen to their advertisement before placing your call.

Now the offer is valid for any person who can dial a 1800 number and if you live in the US, then the call is free, however, you can dial 1800 numbers free from Internet phones like Yahoo messenger, gizmo or skype.

Installing Windows 7 on my Lenovo S10 Multiboot

Tuesday, November 3rd, 2009

Las time I installed BackTrack 4 using Unetbootin. This time I Installed Windows 7 to my Hard drive without using an external CD player.  Instead I used an external hard drive.  Can also be done with USB.

I already have Ubuntu installed so I downloaded Unetbootin and I obtained the Windows 7 DVD in ISO format.

I fired up Gparted and made a 10GB partition for Win 7 and formatted the partition used for install and the external hard drive with NTFS.

Changed the permissions of the Unetbootin file:
chmod 777 /home/user/Desktop/unetbootin-linux-372

Fired up Unetbootin, entered my password and selected the Win7  iso and changed the type to hard disk.  Here make sure you select the right partition of your external drive.  you can type df -h in terminal to make sure.:

Press Ok and wait

Reboot and have your BIOS boot from external drive or hold down F12 to select.


The installation is self explanatory.  I installed the WIndows 7 to a logical partition.  After installation, I had to boot up into an Ubuntu live installation and fix grub like I did here.  Opened menu.lst for editing the grub menu:

sudo gedit /boot/grub/menu.lst

Add this to the end of the file and close:
title Microsoft Windows 7
root (hd0,0)
chainloader +1

BackTrack 4 MultiBoot on my Lenovo S10 with Unetbootin frugal install

Friday, September 25th, 2009

Last time I installed BT3 on mt Lenovo X60 here. This time I tried a different method without using the external CD player.

I already have Ubuntu installed so I downloaded Unetbootin and the BackTrack 4 Beta ISO.

I fired up Gparted and made a 6GB partition for BT4 and formatted it with reiserfs to avoid the ext3 checks.

Changed the permissions of the Unetbootin file:
chmod 777 /home/user/Desktop/unetbootin-linux-372

Fired up Unetbootin, entered my password and selected the BT4 iso and changed the type to hard disk:

Pressed Ok and let it do its thang



When it restarts you have to select Unetbootin from the Grub menu and this will boot into Backtrack. My BackTrack partition I will install on is sda7 and BT4 automatically mounted it to /mnt/sda7

if not, you can mount your drive by typing:
mkdir /mnt/sda7
mount /dev/sda7 /mnt/sda7
replace sda7 with your partition

now, copy the required files from the pseudo-live cd to the hard drive:

cp -pr /{bin,dev,home,pentest,root,usr,boot,lib,etc,opt,sbin,var} /mnt/sda7/
mkdir /mnt/sda7/{mnt,proc,sys,tmp}
mount –bind /dev/ /mnt/sda7/dev/
mount -t proc proc /mnt/sda7/proc/

The installation is done, now you can reboot back into Ubuntu and load Unetbootin again. It will ask you to remove the changes it made earlier and select yes. Close unetbootin and open menu.lst for editing the grub menu:

sudo gedit /boot/grub/menu.lst

Add this to the end of the file and close:

title BackTrack 4 KDE
rootnoverify (hd0,6)
kernel /boot/vmlinuz vga=0×361 root=/dev/sda7 ro quiet splash autoexec=xconf;kdm

title BackTrack 4 shell
root (hd0,6)
kernel /boot/vmlinuz ro root=/dev/sda7 vga=0×361

My next post will be about getting the Broadcom wireless on the Lenovo S10 to work in BT4.

How to Upgrade to 3.0.1 and Unlock iPhone 3g with baseband 2.30.03 & bootloader 5.09, 6.02, 6.04

Wednesday, August 26th, 2009

First you will need cydia to download fuzzyband. When fuzzyband detects your modem version it will ask you to uprade. click on upgrade:


* your screen will say OS 2.2.1

Now start up iTunes and update to the latest 3.0.1


Download redsn0w here

Download the 3.0 ipsw file here

Extract the redsn0w zip file and start redsn0w.exe
Browse for the ipsw file and follow the directions.

After jailbreaking the phone, you need to unlock it with ultrasn0w.

Download ultrasn0w
Goto cydia -> manage -> sources -> edit -> add
return to cydia, hit done and select the new repo you just added.

Install ultrasn0w and follow instructions.

You are now unlocked!

Sign apk package files for publishing in the Android market with keytool and jarsigner on Ubuntu

Thursday, August 13th, 2009

Once you’ve completed your package with Eclipse and you want to publish it to the android market, google requires that you sign it.  For this step you need two tools.  Keytool and jarsigner can be obtained through JDK.

Open up terminal and install jdk:

sudo apt-get install sun-java6-jdk

Use keytool to make yourself a new key:

keytool -genkey -v -keystore mykeystore.keystore -alias aliasname -keyalg RSA -validity 10000

genkey – generate the key
v – verbose mode
keystore – select name of keystore
alias – creates an alias for the key
keyalg – specifies the encryption algorithm used to generate the key. Ex: RSA, DSA
validity – when should the key expire in days? (google requires like a 50 year expiry)

The keytool will walk you through the process of choosing a password and name.  Once the key is made, you need to sign the apk with jarsigner using this key:

jarsigner -verbose -keystore mykeystore.keystore programfile.apk aliasname

keystore – keystore containing your private key
verbose – verbose mode

You will be prompted for your password. You are ready to go.

Android T-mobile G1 reverse tethering with Wifi

Thursday, June 11th, 2009

I am currently trying to figure out how to reverse tether a G1 to use an ad-hoc computer-to-computer network. I have Internet at work through ethernet and created an ad-hoc network, but the built in G1 wireless scanner cannot detect ad-hoc networks. There is an application in the marketplace called Wifi Scanner which can detect adhoc networks but it does not have a connect feature. I tried to manually connect using ifconfig in terminal but havent been successful yet. I’ll post updates if I make progress.

How to enable NTFS and HFS+ support in Gparted

Sunday, May 24th, 2009

I use Gparted to clone/backup my OSX86 partition. You’ll notice that the hfs and hfs+ options are greyed out. I need NTFS to format a storage space to share between Operating systems.

Start up terminal and enter:

sudo apt-get install hfsplus hfsutils hfsprogs ntfsprogs

now you can use gparted with ntfs, hfs and hfsplus formats.

How to Install VLC Player in BackTrack 3

Friday, May 1st, 2009

First, download the package from here and save it in your / directory or you can do this from the command line by opening up a Konsole and typing:
cd /
This will put you in the / directory
This will download the file in the present directory
tar zxf vlc-0.9.9-i486-1alien.tgz
The tar tool will unzip and untar this file
cd install
changes the directory to /install
chmod 777
changes the permission so you can execute the file
cp /
copies the file to the / dir
cd ..
goes back to the / directory
executes the script
rm -R vlc-0.9.9-i486-1alien.tgz /install
removes unwanted files.

/tmp folder permissions changing after reset / reboot in BackTrack 3 and 4

Wednesday, April 29th, 2009

KDE requires the /tmp directory to have the correct permissions (1777) for a user to log in or it will give you an error saying: “call to Inusertemp failed. temporary Directories Full?”. For this you have to change the folder permissions of /tmp by:
chmod 1777 /tmp

This will give permissions of drwxrwxrwt. One problem I was having with BackTrack was that after every reboot, the permission would get set back to dwrwxr_xr_x. I realized this was happening due to BackTrack using the aufs file system to mount root. The aufs or AnotherUnionFS is used on the live CD to make it appear as writeable but in reality the media is physically read only.

To eliminate this problem, open fstab:
kwrite /etc/fstab

And replace the aufs line with your device and the correct file system.
For example: /dev/sda8 / ext3 defaults 0 0

How to add new users to BackTrack 3

Monday, April 27th, 2009

After installing BackTrack, it is important that you change the default password for security reasons. Also, you might want to add a user to the system so you can avoid using the root login as you don’t want to screw things up accidentally.

To add a new user, open up a Konsole and type:


This will guide you through the process of adding a new user.


keep hitting enter for all default values and select a good password:


your user is created but KDE still won’t let you log on because /tmp does not have the correct permissions. you will get an error saying “call to Inusertemp failed (temporary Directories Full?)”

To set the correct permissions type:
cd .. to go up one directory

chmod 1777 /tmp to set the correct permissions on the tmp dir. * see UPDATE *

now you can logoff root and login with your new user.

check here to install packages using slapt-get.

* UPDATE * – I found out on reboot these permissions get reset. To make permanent changes see here.