--- In Luoma <> wrote:
>
> I am having difficulty compiling either tcpdump or wireshark using
the crosstool compiler (I did get libpcap to compile).
>
> Has anyone gotten a network "sniffer" to work on the 7400 (or any
of the ARM systems, for that matter)?
>
> Thanks.
> --
> R. Luoma
>
I have not fully tested it yet but the following appears to compile
and run without errors at first glance.
Boot the 7400 to the Debian SD card.
1. Download following flex, m4 and bison .deb pakages from Debian
http://packages.debian.org/
2. Install flex, m4 and bison
$ dpkg ?I flex-old_2.5.4a-7_arm.deb
$ dpkg ?I m4_1.4.2-1_arm.deb
$ dpkg ?I bison_1.875d-1_arm.deb
3. Download libpcap_0.7.2.orig.tar.gz
4. Compile libpcap
$ cd libpcap directory.
$ gunzip libpcap_0.7.2.orig.tar.gz
$ tar ?xvf libpcap_0.7.2.orig.tar
$ cd libpcap_0.7.2
$ ./configure
$ make
5. Download and compile tcpdump-3.9.8
$ cd tcpdump directory.
$ ./configure
$ make
6. Reboot the 7400 using the 2.4.ts flash distribution
7. insmod af_packet
8. ./tcpdump icmp
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|