Back|Track Configuration

Here are some tidbits to get your Back|Track 2.0 Final up an running

Link to some other B|T Tutorials:

Install and Enable Java for Firefox

- Download Java Linux (self-extracting file)

- cd opt
- mkdir java
- cp /tmp/jre-6u1-linux-i586.bin /opt/java
- cd java
- ls
- chmod a+x jre-6u1-linux-i586.bin
- ls -l
- ./jre-6u1-linux-i586.bin
- yes
- ls

cd /opt/firefox/plugins
ln -s /opt/java/jre1.6.0_01/plugin/i386/ns7/
Open Firefox->Preferences->Content->Enable java

Disable CUPS

cd /etc/rc.d/
chmod -x rc.cups

Disable X Server on Port 6000

Navigate to /etc/X11/xdm/
nano Xservers
add the following (inside the quotes) "-nolisten tcp"


Navigate to /usr/X11R6/bin
nano startx
modify the line serverargs="" to serverargs="-nolisten tcp"


If you want leetmode to start automatically. From the bash prompt type:

cd /root/.kde/Autostart

ln -s /usr/bin/leetmode leetmode

That will create a link to leetmode in your autostart directory.

How to get Hostap Working with Prism2 Cards

Wlan-ng drivers are not included in BT2 v.2.0 final. This is how I get my SMC2532W-B to run under Hostap (also works with Senao NL-2511CD PLUS EXT2).

I shove the card in, and the wrong drivers get loaded:

Module Size Used by
orinoco_cs 13576 1
orinoco 37280 1 orinoco_cs
hermes 6272 2 orinoco_cs,orinoco

I remove the card, and:

bt ~ # rmmod orinoco_cs
bt ~ # rmmod orinoco
bt ~ # rmmod hermes
bt ~ # modprobe hostap_cs

Then reinsert the card.

If your card still does not get recognized and is identified by "pccardctl info" as 0x0156,0x0002 (for instance) you can patch hostap_cs.c (search for 0x0138 and replace it with 0x0156). Afterwards "make modules && make modules_install".
cd /root/.kde/Autostart

Dual Boot

Enable Dual Boot Between Windows XP and Backtrack

This assumes your Windows drive is hda1.

In the console, type:

nano /etc/lilo.conf

Add the lines:

label=Windows_XP (spaces are not allowed)

Save the file.



Now, reboot and you should be able to boot between OSs.

Note: Every time you modify lilo.conf you must type lilo in order for your changes to be made to the lilo system.

Nessus Install

Alright, here it is from start to finish with a brand spank'n new install of BT2

Save these files to your desktop:

cd /root/Desktop/
rpm2tgz Nessus-3.0.5-fc5.i386.rpm
installpkg Nessus-3.0.5-fc5.i386.tgz
tar -zxf NessusClient-1.0.2.tar.gz
cd NessusClient-1.0.2
make && make install

NessusClient has been sucessfully installed.


nano /etc/profile (make sure "/opt/nessus/bin" and "/opt/nessus/sbin" are in your path. it should look like mine below)


cd /lib
cd /usr/lib
ln -s
ln -s
cd /etc/rc.d
cd /opt/nessus/sbin

Remote Desktop

Remote Desktop

Type in console:

rdesktop –f –a 16 ip_address

rdesktop –f –a 16 –r sound:local

ip_address the ip of the computer you are trying to connect to
-f fullscreen
-a 16 sets color attributes
-r sound:local sets sound to play on machine you are sitting at
-r disk:name=/root maps drive on local computer to one on remote computer


Type in console:

ssh –l user_name ssh_server_ip –L externalport:internal_ip:internalport

For example if you wanted to ssh to your home network and be able to remote desktop to it:

ssh –l admin –L 3389:


ssh –l admin –L 80:

Boot Directly to KDE

Directly loading into the GUI

nano /etc/inittab

change this line: id:3:initdefault



Modify Login/Password Page

To change the logon screen from:

User: root
Pass: toor

Edit the /etc/issue file.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.