Archive for the ‘Uncategorized’ Category

How to Install OpenOffice 3.0.1 in BackTrack 3

Wednesday, April 22nd, 2009

goto and download the version for linux.

tar -xvzf OOo_3.0.1_LinuxIntel_install_wJRE_en-US.tar.gz

cd into directory with all the rpm files:
cd OOO300_m15_native_packed-1_en-US.9379/RPMS

convert all rpms to tgz:
rpm2tgz *.rpm
This step will take a while.

Install all tgz using installpkg tool:
installpkg *.tgz

openoffice will be installed under /opt

Now we have to place it in the K menu.
Right click on the K and click Menu Editor.
goto File -> New Submenu -> type OpenOffice
Right click on OpenOffice Menu and select new item.
Add a name, description and in the “Command” field, add ‘/opt/openoffice.org3/program/soffice’
In “Work Path” add /opt/openoffice.org3/program
save and close

You can repeat the steps to add Writer, Calc, Math, Draw, Impress and Base

How to install Mozilla Thunderbird and Opera browser in Backtrack 3

Tuesday, April 21st, 2009

Check my previous post on how to install slapt-get in BackTrack 3.

Now, you can use slapt-get to install packages from the slackware repositories. To install mozilla-thunderbird:

Make sure it exists in the repositories:

slapt-get --search thunderbird

if you find it, use the install parameter to install:

slapt-get --install mozilla-thunderbird-


For Opera, goto and download the latest tar.gz for Slackware.

untar the file:
tar -xvzf opera-9.64.gcc4-shared-qt3.i386.tar.gz
go into the folder and run
That’s it !

How to install BackTrack 3 or 4 to hard drive along with Windows XP, Ubuntu, Fedora, openSuse on Lenovo Thinkpad X60

Tuesday, April 21st, 2009

From my last post you can see that I installed Fedora and openSuse to my existing dual boot Thinkpad X60 with Ubuntu and Windows. In this post, I will show you how to install BackTrack 3 to the hard drive. These instructions can also be used for BackTrack 4.

First we have to create a partition for the OS. You can only have 4 primary partitions out of which only 1 can be an extended partition. The extended partition can then in turn have multiple logical partitions. I used gparted in Ubuntu to partition my drive as follows.

Primary partition 1 – NTFS for XP
Primary partition 2 – NTFS used as storage
Primary partition 3 – extended partition which has all my linuxes for testing purposes
extended partition contains:
logical partition 1 – ext3, Fedora
logical partition 2 – ext3, openSuse
logical partition 3 – ext3, will be used for Backtrack
logical partition 4 – ext3, future linux (maybe Gentoo)
logical partition 5 – swap (I only have to use one swap for all my linuxes)
Primary partition 4 – ext3 for Ubuntu, my main linux


Now download, burn, and boot up BackTrack 3 live cd.

My BackTrack partition is sda8 and BT3 automatically mounted it to /mnt/sda8

if not, you can mount your drive by typing:
mkdir /mnt/sda8
mount /dev/sda8 /mnt/sda8

replace sda8 with your partition

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

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

The installation is done, now you can reboot and add the BackTrack to the grub menu.lst

Reboot into Ubuntu and:
sudo gedit /boot/grub/menu.lst

This is what my grub looks like. The part in bold is for BackTrack:

title Ubuntu Jaunty, kernel 2.6.28-11-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=da7e4aba-35c8-4ab8-a882-d5c7c324101a ro quiet splash
initrd /boot/initrd.img-2.6.28-11generic

title Ubuntu Jaunty, kernel 2.6.28-11-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=da7e4aba-35c8-4ab8-a882-d5c7c324101a ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu Jaunty, kernel 2.6.24-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=da7e4aba-35c8-4ab8-a882-d5c7c324101a ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu Jaunty, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin


# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
chainloader +1

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title Fedora ( (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz- ro root=UUID=cae92252-724a-4e24-841d-e8c3fb24f861 rhgb quiet
initrd /boot/initrd-

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
#title Fedora ( (on /dev/sda5)
#root (hd0,4)
#kernel /boot/vmlinuz- ro root=UUID=cae92252-724a-4e24-841d-e8c3fb24f861 rhgb quiet
#initrd /boot/initrd-

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title openSUSE 11.1 – (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz- root=/dev/sda6 splash=silent showopts vga=0x317
initrd /boot/initrd-

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Failsafe — openSUSE 11.1 – (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz- root=/dev/sda6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-

title BackTrack 3 Final KDE
rootnoverify (hd0,7)
kernel /boot/vmlinuz vga=0x317 root=/dev/sda8 ro quiet splash autoexec=xconf;kdm

title BackTrack 3 Final shell
root (hd0,7)
kernel /boot/vmlinuz ro root=/dev/sda8 vga=0x317

Reboot into BackTrack and check here to create a new user and

check here to install packages with slapt-get or here to see how I installed BT 4 on my lenovo S10 without a CD player or USB.

How To Print to PDF in Ubuntu Intrepid Ibex and Jaunty Jackalope

Tuesday, March 17th, 2009

Starting with Intrepid, the print to file option is integratedwhen you print.  However, with some programs, this causes garbled text after the first page, while other programs do not work with this option (check how to save documents from when disabled).

We can solve this problem with the good old cups-pdf tool.  We start by installing it with apt-get:

sudo apt-get install cups-pdf

install cups-pdf

change permissions
sudo chmod +s /usr/lib/cups/backend/cups-pdf

now when you goto system –> Administration -> printing
you should have a PDF printer. When you print, just select the PDF printer and by default the files are saved in a folder called PDF, so we will create this folder.

sudo mkdir ~/PDF/

mkdir ~/PDF/

You can change the default location by editing the .conf file :

sudo gedit /etc/cups/cups-pdf.conf

How to get MMS picture messaging working on a T-mobile G1, Android without the data plan

Friday, February 6th, 2009

T-mobile reps almost convinced me that there would be no way to get my picture messaging working on my g1 without the data plan. I turned off the data plan as soon as I set it up upon arrival. According the the T-mobile reps, I can’t even place or receive calls without the data plan. (Either they say anything to get you to buy the plan or they’re just dumb useless fellows, the latter being more accurate based on experience.)

So after doing some yahooing and alot of futsin around, I finally managed to get my MMS working by changing the settings. Here’s what to do:

Menu -> Settings -> Wireless Controls -> Mobile Networks -> Access Point Names -> T-Mobile US

Make sure you go into T-mobile US and not any other setting and change the name like I did, don’t even create a new one. It took me 2 months to figure out what I did wrong.

Change the settings to the following:
Name: T-Mobile US
port: 8080
Username: not set (delete everything in this field)
Password: not set (delete all here too)
Server: not set (delete the *)
MMS Proxy:
MMS Port: 8080
MMC: 310
MNC: 260
APN type: not set

Restart your phone. Now your MMS should work. If you have the 5.99 t-zones, I think your internet will work too. (UPDATE- it does work. check here)


1. If you’re having trouble still, go into mobile networks and enable ‘data roaming’ and ‘use only 2G’

2. Make sure your connecting to T-mobile US
-to do this go to the marketplace and download ‘any cut’
-open any cut and click create shortcut
-goto activity and select ‘testing’
-you should have a shortcut on your desktop that says testing, unless your desktop was full.
-click testing -> goto phone info -> this should tell you what connection you are connecting/connected to.
-For some reason if you are not using T-mobile US, change the settings for the appropriate one.
-If phone info shows you are not connected, hit menu and click on more and click enable data.
-now data should be connected.

sorry guys, I haven’t been keeping up with this topic. Honestly, I don’t ever receive MMS. And If its that important, you can add on the $25 package once every few days, download all your mms the same day and take it off.

G1 mirror screen protector

UPDATE*- These settings work for iPhone on T-mobile, maybe they might work on the Android:

(no user name, no password)

(no user name, no password)
MMS Proxy:
Max msg size: 1058576

How to Convert .DMG files to .ISO using PowerISO

Thursday, January 29th, 2009

I recently came across a dmg image file that I needed to use, but the problem is that Windows does not support dmg. I tried to mount it using MagicISO, PowerISO and Alcohol %120 but none can mount the file. I found a great feature in PowerISO that lets you convert dmg to iso. Here are the steps.

1. Open the dmg file with powerISO
2. Goto Tools..Convert..
3. Select your source file
4. Select the destination file (It can be either iso, bin/cue, or daa)
5. convert

use powerISO to convert dmg to iso

use powerISO to convert dmg to iso