Home > backtrack > Hostapd Backtrack 5r3

Hostapd Backtrack 5r3

So I am setting up a Backtrack 5r3 system to do some mobile app assessment.  I want to set up the system as a wireless access point and be able to capture all the traffic.  To do this I am using hostapd.  Backtrack has this as a standard package available via:   apt-get install hostapd

Unfortunately this is an older version of the program, 0.6.9 I believe, and it would not work with the ath9k I have in this system.  The program threw an error each time I tried to run it.  The latest stable build of hostapd is 1.0 and is available to download here.  The problem is that you need to install the libnl-dev package in Backtrack before it will cleanly compile. After downloading and compiling hostapd 1.0 everything was good to go.  So here are the commands to run for all you script kiddies out there.

 

apt-get install libnl-dev

wget http://hostap.epitest.fi/releases/hostapd-1.0.tar.gz

tar –xzvf hostapd-1.0.tar.gz

cd hostapd-1.0/hostapd

cp defconfig .config

make

for i in hostapd hostapd_cli; do cp -f $i /usr/local/bin/$i; done

 

Congratulations you now have a fully functioning hostapd 1.0 install that will work with the ath9k wireless chipset on Backtrack 5r3.

Advertisements
Categories: backtrack
  1. kashkraft
    December 31, 2012 at 12:37 am

    Thank you! Worked perfectly 🙂

  2. February 10, 2017 at 6:21 pm

    Really when someone doesn’t understand then its up to other people that they will help,
    so here it takes place.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: