
Zabrałem się za instalacje kismeta. Opiszę po kolei co i jak.
Oczywiście ściągnąłem i rozpakowałem archiwum kismeta.
Wydałem polecenie ./configure, w pewnym momencie nastąpiło zatrzymanie tego procesu zakończone komunikatem, że wystąpił problem z C compiler. Poszukałem na google i znalazłem:
Kod: Zaznacz cały
apt-get install libc6-dev g++ gcc
https://launchpad.net/ubuntu/+source/nc ... 6-1ubuntu1
Trochę czasu trwała instalacja tego, ale wreszcie dobrnąłem do końca.
No to jedziemy dalej. Ponowne ./configure kismeta. Tym razem dobrnęło do końca, ale wyświetliło ostrzeżenie następującej treści:
Kod: Zaznacz cały
*** WARNING ***
LibPCAP was not found. Kismet previously included a local copy of this
library, however it now expects libpcap to be provided by the system.
Kismet on Linux without LibPcap cannot capture data locally and will
almost certainly NOT BE WHAT YOU WANT.
Your distribution should provide packages for libpcap, otherwise
it can be downloaded from http://tcpdump.org
Configuration complete. Run 'make dep' to generate dependencies
and 'make' followed by 'make install' to compile and install.
Wydaje na nim polecenie ./configure i wychodzi, że brakuje mi jakiegoś flex.
Odwiedziłem http://flex.sourceforge.net/ ściągnąłem wersję 2.5.33
Wydaje na flex polecenie ./configure i dowiaduje sie, że aby zainstalować flex'a potrzebuję GNU M4 1.4.
Znalazłem na google, ściągnąłem i tym razem nie trzeba było innych rzeczy aby zainstalować te GNU.
Skoro miałem GNU M4 no to zabrałem się za flex'a. Udało się. No to czas na LibPCAP. ./configure i znów ten sam błąd co wcześniej, tzn. że niby nadal nie mam flexa.


Kod: Zaznacz cały
darek@darek-linux:~/flex-2.5.4$ ./configure
creating cache ./config.cache
checking whether ln -s works... yes
checking for bison... no
checking for byacc... no
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets $MAKE... yes
checking for working const... yes
checking how to run the C preprocessor... gcc -E
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking for string.h... yes
checking for malloc.h... yes
checking for sys/types.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
darek@darek-linux:~/flex-2.5.4$ make
cp ./initscan.c scan.c
touch .bootstrap
gcc -c -I. -I. -g -O ccl.c
gcc -c -I. -I. -g -O dfa.c
gcc -c -I. -I. -g -O ecs.c
gcc -c -I. -I. -g -O gen.c
gcc -c -I. -I. -g -O main.c
gcc -c -I. -I. -g -O misc.c
gcc -c -I. -I. -g -O nfa.c
yacc -d ./parse.y
make: yacc: Command not found
make: *** [parse.c] Error 127
