Hi,

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/
$ ./configure
$ make
# make install

Download Airbase 2.40: http://www.802.11mercenary.net/downloads/
Files to modify:

airbase-svn-223/80211fp/jc-CTS-printer/src/boring.cpp airbase-svn-223/80211fp/jc-CTS-printer/src/boring.cpp
airbase-svn-223/80211fp/jc-duration-printer/src/duration_pcap_preprocessor.cpp
airbase-svn-223/libs/lib802finger/src/station-lister.cpp: airbase-svn-223/libs/lib802finger/src/station-lister.cpp:
airbase-svn-223/tools/pcap2air/boring.cpp: airbase-svn-223/tools/pcap2air/boring.cpp:
airbase-svn-223/tools/simple-replay/boring.cpp airbase-svn-223/tools/simple-replay/boring.cpp
airbase-svn-223/tools/fuzz-e/boring.cpp airbase-svn-223/tools/fuzz-e/boring.cpp
To modify:

We just replace these lines of code file containing:

tx80211_setmode

By:

tx80211_setfunctionalmode

Installing Airbase-release-2.40:


$ tar -zxvf airbase-release-2.40.tar.gz
$ cd airbase-svn-223
$ cd libs/libairware/
$ make
# make install
$ cd ../../tools/
$ ./build.sh
# ./install.sh

# 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

Airware-test
fuzz-e
pcap2air
pcap-match
pcap-tac
pcap-wepcrypt
prism-strip
simple-replay

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

Thanks,

-Johnny