dudux yo ejecuto el script que has hecho y me sigue diciendo que me faltan las libpcap, haber si puedes ayudarme por favor que estoy hecho un lio, tengo Wifislax 2.0 instalada en el disco duro, Aqui te pongo todo el procedimiento y el error:
./hola.sh
--21:28:01--
http://www.tcpdump.org/release/libpcap-0.9.5.tar.gz => `libpcap-0.9.5.tar.gz'
Resolving
www.tcpdump.org... 205.150.200.214
Connecting to
www.tcpdump.org|205.150.200.214|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 433,207 (423K) [application/x-tar]
100%[==================================================================>] 433,207 57.16K/s ETA 00:00
21:28:14 (41.58 KB/s) - `libpcap-0.9.5.tar.gz' saved [433207/433207]
libpcap-0.9.5/./
libpcap-0.9.5/./ChmodBPF/
libpcap-0.9.5/./ChmodBPF/ChmodBPF
libpcap-0.9.5/./ChmodBPF/StartupParameters.plist
libpcap-0.9.5/./.cvsignore
libpcap-0.9.5/./CHANGES
libpcap-0.9.5/./CREDITS
libpcap-0.9.5/./FILES
libpcap-0.9.5/./INSTALL.txt
libpcap-0.9.5/./LICENSE
libpcap-0.9.5/./Makefile.in
libpcap-0.9.5/./README
libpcap-0.9.5/./README.Win32
libpcap-0.9.5/./README.aix
libpcap-0.9.5/./README.dag
libpcap-0.9.5/./README.hpux
libpcap-0.9.5/./README.linux
libpcap-0.9.5/./README.macosx
libpcap-0.9.5/./README.septel
libpcap-0.9.5/./README.tru64
libpcap-0.9.5/./TODO
libpcap-0.9.5/./VERSION
libpcap-0.9.5/./acconfig.h
libpcap-0.9.5/./aclocal.m4
libpcap-0.9.5/./arcnet.h
libpcap-0.9.5/./atmuni31.h
libpcap-0.9.5/./bpf_dump.c
libpcap-0.9.5/./bpf_image.c
libpcap-0.9.5/./config.guess
libpcap-0.9.5/./config.h.in
libpcap-0.9.5/./config.sub
libpcap-0.9.5/./configure
libpcap-0.9.5/./configure.in
libpcap-0.9.5/./etherent.c
libpcap-0.9.5/./ethertype.h
libpcap-0.9.5/./fad-getad.c
libpcap-0.9.5/./fad-gifc.c
libpcap-0.9.5/./fad-glifc.c
libpcap-0.9.5/./fad-null.c
libpcap-0.9.5/./fad-win32.c
libpcap-0.9.5/./gencode.c
libpcap-0.9.5/./gencode.h
libpcap-0.9.5/./grammar.y
libpcap-0.9.5/./inet.c
libpcap-0.9.5/./install-sh
libpcap-0.9.5/./llc.h
libpcap-0.9.5/./mkdep
libpcap-0.9.5/./nametoaddr.c
libpcap-0.9.5/./nlpid.h
libpcap-0.9.5/./optimize.c
libpcap-0.9.5/./pcap-bpf.c
libpcap-0.9.5/./pcap-bpf.h
libpcap-0.9.5/./pcap-dag.c
libpcap-0.9.5/./pcap-dag.h
libpcap-0.9.5/./pcap-dlpi.c
libpcap-0.9.5/./pcap-dos.c
libpcap-0.9.5/./pcap-dos.h
libpcap-0.9.5/./pcap-enet.c
libpcap-0.9.5/./pcap-int.h
libpcap-0.9.5/./pcap-linux.c
libpcap-0.9.5/./pcap-namedb.h
libpcap-0.9.5/./pcap-nit.c
libpcap-0.9.5/./pcap-nit.h
libpcap-0.9.5/./pcap-null.c
libpcap-0.9.5/./pcap-pf.c
libpcap-0.9.5/./pcap-pf.h
libpcap-0.9.5/./pcap-septel.c
libpcap-0.9.5/./pcap-septel.h
libpcap-0.9.5/./pcap-snit.c
libpcap-0.9.5/./pcap-snoop.c
libpcap-0.9.5/./pcap-stdinc.h
libpcap-0.9.5/./pcap-win32.c
libpcap-0.9.5/./pcap.3
libpcap-0.9.5/./pcap.c
libpcap-0.9.5/./pcap.h
libpcap-0.9.5/./pcap1.h
libpcap-0.9.5/./pf.h
libpcap-0.9.5/./ppp.h
libpcap-0.9.5/./savefile.c
libpcap-0.9.5/./scanner.l
libpcap-0.9.5/./sll.h
libpcap-0.9.5/./sunatmpos.h
libpcap-0.9.5/./SUNOS4/
libpcap-0.9.5/./SUNOS4/nit_if.o.sparc
libpcap-0.9.5/./SUNOS4/nit_if.o.sun3
libpcap-0.9.5/./SUNOS4/nit_if.o.sun4c.4.0.3c
libpcap-0.9.5/./Win32/
libpcap-0.9.5/./Win32/Include/
libpcap-0.9.5/./Win32/Include/addrinfo.h
libpcap-0.9.5/./Win32/Include/Gnuc.h
libpcap-0.9.5/./Win32/Include/arpa/
libpcap-0.9.5/./Win32/Include/arpa/nameser.h
libpcap-0.9.5/./Win32/Include/net/
libpcap-0.9.5/./Win32/Include/net/if.h
libpcap-0.9.5/./Win32/Include/net/netdb.h
libpcap-0.9.5/./Win32/Include/net/paths.h
libpcap-0.9.5/./Win32/Include/bittypes.h
libpcap-0.9.5/./Win32/Include/cdecl_ext.h
libpcap-0.9.5/./Win32/Include/inetprivate.h
libpcap-0.9.5/./Win32/Include/ip6_misc.h
libpcap-0.9.5/./Win32/Include/sockstorage.h
libpcap-0.9.5/./Win32/Prj/
libpcap-0.9.5/./Win32/Prj/libpcap.dsp
libpcap-0.9.5/./Win32/Prj/libpcap.dsw
libpcap-0.9.5/./Win32/Src/
libpcap-0.9.5/./Win32/Src/getnetbynm.c
libpcap-0.9.5/./Win32/Src/ffs.c
libpcap-0.9.5/./Win32/Src/gai_strerror.c
libpcap-0.9.5/./Win32/Src/getaddrinfo.c
libpcap-0.9.5/./Win32/Src/getnetent.c
libpcap-0.9.5/./Win32/Src/getopt.c
libpcap-0.9.5/./Win32/Src/getservent.c
libpcap-0.9.5/./Win32/Src/inet_aton.c
libpcap-0.9.5/./Win32/Src/inet_net.c
libpcap-0.9.5/./Win32/Src/inet_pton.c
libpcap-0.9.5/./bpf/
libpcap-0.9.5/./bpf/net/
libpcap-0.9.5/./bpf/net/bpf_filter.c
libpcap-0.9.5/./doc/
libpcap-0.9.5/./doc/pcap.html
libpcap-0.9.5/./doc/pcap.txt
libpcap-0.9.5/./doc/pcap.xml
libpcap-0.9.5/./lbl/
libpcap-0.9.5/./lbl/os-aix4.h
libpcap-0.9.5/./lbl/os-hpux11.h
libpcap-0.9.5/./lbl/os-osf4.h
libpcap-0.9.5/./lbl/os-osf5.h
libpcap-0.9.5/./lbl/os-solaris2.h
libpcap-0.9.5/./lbl/os-sunos4.h
libpcap-0.9.5/./lbl/os-ultrix4.h
libpcap-0.9.5/./missing/
libpcap-0.9.5/./missing/snprintf.c
libpcap-0.9.5/./msdos/
libpcap-0.9.5/./msdos/common.dj
libpcap-0.9.5/./msdos/bin2c.c
libpcap-0.9.5/./msdos/makefile
libpcap-0.9.5/./msdos/makefile.dj
libpcap-0.9.5/./msdos/makefile.wc
libpcap-0.9.5/./msdos/ndis2.c
libpcap-0.9.5/./msdos/ndis2.h
libpcap-0.9.5/./msdos/ndis_0.asm
libpcap-0.9.5/./msdos/pkt_rx0.asm
libpcap-0.9.5/./msdos/pkt_rx1.s
libpcap-0.9.5/./msdos/pktdrvr.c
libpcap-0.9.5/./msdos/pktdrvr.h
libpcap-0.9.5/./msdos/readme.dos
libpcap-0.9.5/./packaging/
libpcap-0.9.5/./packaging/pcap.spec
libpcap-0.9.5/./packaging/pcap.spec.in
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... yes
checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... yes
checking for strerror... yes
checking for strlcpy... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... none required
checking for ether_hostton... yes
checking whether ether_hostton is declared... no
checking netinet/ether.h usability... yes
checking netinet/ether.h presence... yes
checking for netinet/ether.h... yes
checking whether ether_hostton is declared... yes
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking for getifaddrs... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking if --enable-ipv6 option is specified... no
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking Linux kernel version... 2
checking if if_packet.h has tpacket_stats defined... yes
checking whether we have /proc/net/dev... yes
checking whether we have DAG API headers... no (/usr/local/include)
checking whether we have Septel API... no
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for ranlib... ranlib
checking if sockaddr struct has sa_len member... no
checking if sockaddr_storage struct exists... yes
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
checking if unaligned accesses fail... no
checking for a BSD-compatible install... /usr/bin/ginstall -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-linux.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-getad.c
sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' ./VERSION > version.h
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./inet.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./gencode.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./optimize.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./nametoaddr.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./etherent.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./savefile.c
rm -f bpf_filter.c
ln -s ./bpf/net/bpf_filter.c bpf_filter.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c bpf_filter.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_image.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_dump.c
flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
bison -y -p pcap_ -d grammar.y
mv y.tab.c grammar.c
mv y.tab.h tokdefs.h
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c
sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c
gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c
ld -shared -o libpcap.so.`cat VERSION` pcap-linux.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o
/usr/bin/ginstall -c libpcap.so.`cat VERSION` /usr/lib/libpcap.so.`cat VERSION`
ln: creating symbolic link `./libpcap.so.0.9.5' to `libpcap.so.0.9.5': File exists
/bin/bash: line 1: /usr/lib/libpcap.so: No such file or directory
--21:28:30--
http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/download/aircrack-ptw-1.0.0.tar.gz => `aircrack-ptw-1.0.0.tar.gz'
Resolving
www.cdc.informatik.tu-darmstadt.de... 130.83.167.48
Connecting to
www.cdc.informatik.tu-darmstadt.de|130.83.167.48|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6,630 (6.5K) [application/x-gzip]
100%[==================================================================>] 6,630 22.25K/s
21:28:31 (22.19 KB/s) - `aircrack-ptw-1.0.0.tar.gz' saved [6630/6630]
aircrack-ptw-1.0.0/
aircrack-ptw-1.0.0/aircrack-ptw-lib.h
aircrack-ptw-1.0.0/attacksim.c
aircrack-ptw-1.0.0/aircrack-ptw.c
aircrack-ptw-1.0.0/aircrack-ptw-lib.c
aircrack-ptw-1.0.0/Makefile
aircrack-ptw-1.0.0/README
rm -f aircrack-ptw attacksim
gcc -o aircrack-ptw -Wall -fomit-frame-pointer -O3 -lpcap aircrack-ptw.c aircrack-ptw-lib.c
/tmp/cct0hZlz.o(.text+0xaf): In function `main':
: undefined reference to `pcap_open_offline'
/tmp/cct0hZlz.o(.text+0xcf): In function `main':
: undefined reference to `pcap_datalink'
/tmp/cct0hZlz.o(.text+0x107): In function `main':
: undefined reference to `pcap_next_ex'
/tmp/cct0hZlz.o(.text+0x2f0): In function `main':
: undefined reference to `pcap_next_ex'
collect2: ld returned 1 exit status
make: *** [aircrack-ptw] Error 1
cp: cannot stat `aircrack-ptw': No such file or directory