co2shaun Posted May 22, 2011 Share Posted May 22, 2011 I'm having trouble getting hostapd with karma to install on backtrack. I tried it on backtrack 4 and 5 with no luck. I these are the first two lines of errors i get when I run the make file cc -o hostapd main.o config_file.o ../src/ap/hostapd.o ../src/ap/wpa_auth_glue. o ../src/ap/drv_callbacks.o ../src/ap/ap_drv_ops.o ../src/ap/utils.o ../src/ap/a Quote Link to comment Share on other sites More sharing options...
digininja Posted May 22, 2011 Share Posted May 22, 2011 Those aren't errors, that is the compiler running. Quote Link to comment Share on other sites More sharing options...
co2shaun Posted May 22, 2011 Author Share Posted May 22, 2011 Wow now I feel dumb. Thanks for the info. Quote Link to comment Share on other sites More sharing options...
digininja Posted May 22, 2011 Share Posted May 22, 2011 Thats ok, got to learn Quote Link to comment Share on other sites More sharing options...
co2shaun Posted May 22, 2011 Author Share Posted May 22, 2011 I got i figured out on backtrack 4 but still haven't got it to work on backtrack 5. Is anyone else having issues on backtrack 5? ./src/crypto/tls_openssl.c:23:25: warning: openssl/ssl.h: No such file or directory ../src/crypto/tls_openssl.c:24:25: warning: openssl/err.h: No such file or directory ../src/crypto/tls_openssl.c:25:28: warning: openssl/pkcs12.h: No such file or directory ../src/crypto/tls_openssl.c:26:28: warning: openssl/x509v3.h: No such file or directory Quote Link to comment Share on other sites More sharing options...
digininja Posted May 22, 2011 Share Posted May 22, 2011 the error is saying it can't find files in the openssl directory, that implies that you don't have the openssl development files installed Quote Link to comment Share on other sites More sharing options...
co2shaun Posted May 23, 2011 Author Share Posted May 23, 2011 Thanks again I have everything working now. Knew it had something to do with openssl but was lost when openssl was there. Added the openssl development files and it worked great. Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted May 24, 2011 Share Posted May 24, 2011 Can you share with us how you went about it? Quote Link to comment Share on other sites More sharing options...
DataPhreak Posted June 17, 2012 Share Posted June 17, 2012 Quick bump to this topic, Trying to set this up myself. I've been looking around and can't find a guide for installing Karma manually and configuring. Presumably it's going to be something like this: cd ~ wget http://www.digininja.org/files/hostapd-karma.tar_0.1.tar.bz2 tar -jcvf hostapd-karma.tar_0.1.tar.bz2 cd hostapd-karma ./config make nano hostapd-karma.conf #edit config file ./hostapd -dd ~/hostapd-karma.conf Seems too simple though. I'm sure I'm missing some steps here. Also, some questions: 1. Does this, with the propper .conf settings, provide the same functionality as airbase-ng's -P mode that accepts all probes? 2. Does Karma provide DHCP and DNS servers, or is it just for getting clients to authenticate to the device? (I'm wanting to do a custom setup, so the latter is prefferable.) 3. Is this the most up to date version of Karma and Hostapd? Or does that need to be installed with apt-get? Dependencies? 4. Will computers set to automatically connect to WPA2/AES clients connect and use this network, or will it only capture the handshake and the remote client disconnect? 5. Digininja, Y U NO have guide on karma page? ლ(ಠ益ಠლ) Again, if there is a guide out there explaining all of this, shoot me a link, please. If I can get this up and working, I might just document the process and post it for review. Using Backtrack 5r2 with an Alfa AWUS036NHR, btw. It uses the realtek rtl9182(se or cu suffix, can't remember which and don't have it with me to check), but supports injection, not sure if it supports master mode. Thanks in advance, guys. Quote Link to comment Share on other sites More sharing options...
digininja Posted June 17, 2012 Share Posted June 17, 2012 That is all there is to it. 1. It is better than airbase as it is a true AP rather than a fake one where monitor mode is used to pretend to be an AP 2. No, this is purely an AP, you have to set up the rest yourself 3. I might have a more up-to-date one kicking around but there probably isn't much between that and the one you have 4. They will associate but then fail to authenticate as you don't know the correct key to talk back to them 5. Because I only had time to write the software. And you won't get it working with the Alfa, you can only use it with cards with either a Prism54 or Atheros chipset. Finding these in USB is very rare, I do all my dev work on either my eeepc or a device I've got with a couple of Atheros cards built in. Quote Link to comment Share on other sites More sharing options...
thaihenry Posted June 17, 2012 Share Posted June 17, 2012 Digininja Thank you for your help. Tplink has a very nice atheros based USB adapter; TL-WN722N. Very good for injection. I found them to be more reliable than the alphas, which I rarely use. That is all there is to it. 1. It is better than airbase as it is a true AP rather than a fake one where monitor mode is used to pretend to be an AP 2. No, this is purely an AP, you have to set up the rest yourself 3. I might have a more up-to-date one kicking around but there probably isn't much between that and the one you have 4. They will associate but then fail to authenticate as you don't know the correct key to talk back to them 5. Because I only had time to write the software. And you won't get it working with the Alfa, you can only use it with cards with either a Prism54 or Atheros chipset. Finding these in USB is very rare, I do all my dev work on either my eeepc or a device I've got with a couple of Atheros cards built in. Quote Link to comment Share on other sites More sharing options...
01000010 Posted June 18, 2012 Share Posted June 18, 2012 Hey Digininja, If you happen to have some updated code laying about i would love to use it. The current while listings and blacklisting does not work correctly all the time. Please let me know if I can help by writing a guide or a setup script for it. whatever just let me know. The tl-link 722n will work great for the karma ap. Just make sure you are running a kernel greater than 3.0. Quote Link to comment Share on other sites More sharing options...
PineDominator Posted June 18, 2012 Share Posted June 18, 2012 Hey Digininja, If you happen to have some updated code laying about i would love to use it. The current while listings and blacklisting does not work correctly all the time. Please let me know if I can help by writing a guide or a setup script for it. whatever just let me know. The tl-link 722n will work great for the karma ap. Just make sure you are running a kernel greater than 3.0. to clarify more, for mac blacklisting once you remove/white list a mac it can no longer be blacklisted until reboot. and there are bugs in the white listing of ssids that is it seems to work all the time when in blacklisting mode but once your in white listing mode it works the first time you run it but if you remove the ssids and add them again a second time it doesn't work most of the time? I am testing this on the current mark4 firmware and using a module that I made called blacklister, I have made a newer version 2.0 that should be released soon. Quote Link to comment Share on other sites More sharing options...
01000010 Posted June 18, 2012 Share Posted June 18, 2012 HHmm i guess this leads me to the question of hoastapd downloaded from digininjas site and the one running on the wifi pineapple. Are they at the same revision of patches ? Quote Link to comment Share on other sites More sharing options...
digininja Posted June 18, 2012 Share Posted June 18, 2012 They are similar but as the Pineapple runs OpenWrt which applies its own patches to hostapd I'm patching over the top of those so the patch is different. It is also probably a slightly different version. Quote Link to comment Share on other sites More sharing options...
vosmerkin Posted April 11, 2013 Share Posted April 11, 2013 Just in case anyone is having troubles - I found this guide for backtrack r3 to be easy to follow: http://www.jhaos-theory.co.uk/?p=46 Digininja, thanks for the karma patches! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.