Old school LORCON and Airbase 2.4 package install question
Does anybody tried to install LORCON / Airbase package into BTr3. If so did you succeeded?
I'm reading the something related to Wireless and they have an examples using pcap2air which can be found only as part of the Airbase package.
I've tried the following steps from here:
Installing pcap2air and other airbase tools for wifi
To work with airbase wifi tools we need to have lorcon.
Lorcon is a bookshop specializing in frame insertion for 802.11 (Wi-Fi standard) and is on suite that supports the Airbase. The suite is created in C + + and is formed by applications, Airware-test, fuzz-e pcap2air,pcap-match, pcap-tac, pcap-wepcrypt, prism-strip simple-replay.
Currently, some programs use functions Airbase Lorcon bookstores that are considered obsolete (Deprecated).We'll see how to modify the code to fit the new libraries.
Download and install Lorcon (SVN):
$ svn co https://802.11ninja.net/svn/lorcon/trunk/
(If svn client is not isntalled on your machine just do #yum install subversion)
$ cd trunk/
# make install
Download Airbase 2.40: http://www.802.11mercenary.net/downloads/
Files to modify:
We just replace these lines of code file containing:
$ tar -zxvf airbase-release-2.40.tar.gz
$ cd airbase-svn-223
$ cd libs/libairware/
# make install
$ cd ../../tools/
# ln -s /usr/local/bin/airbase/* /usr/sbin/
If any tools complain about missing shared library liborcon-1.0.0.so then
cp /usr/local/lib/liborcon-1.0.0.so /usr/lib
Now bellow airbase tools will be available
2. Trying "$ cd libs/libairware/ $ make" give me:
./src/pcap-packet.cpp:249: error: ‘exit’ was not declared in this scope
./src/pcap-packet.cpp:266: error: ‘exit’ was not declared in this scope
./src/pcap-packet.cpp: In member function ‘pcap_pkthdr Pcap_Packet::get_pcap_hdr()’:
./src/pcap-packet.cpp:275: warning: deprecated conversion from string constant to ‘char*’
./src/pcap-packet.cpp: In member function ‘void Pcap_Packet::check_initialized(char*)’:
./src/pcap-packet.cpp:298: error: ‘exit’ was not declared in this scope
make: *** [pcap-packet.o] Error 1
However, I thought that might get some help over here :)