That works =)<br>thanks!<br><br><div><span class="gmail_quote">On 9/26/07, <b class="gmail_sendername">Lisa Fowler</b> <<a href="mailto:fowler@eecs.berkeley.edu">fowler@eecs.berkeley.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Slide 16 in the Wireshark ppt (check my section page for a link) has<br>info on the special tcpdump that you should be using:<br><br>/share/b/ee122/tcpdump<br><br>This worked for me. As you can see, running just "tcpdump" isn't the
<br>same as the special one that we need....<br><br>c199 [1] ~ > which tcpdump<br>/share/b/ee122/sun4u/bin/tcpdump<br><br>c199 [2] ~ > /share/b/ee122/tcpdump<br>tcpdump.sun4u: verbose output suppressed, use -v or -vv for full protocol decode
<br>listening on qfe0, link-type EN10MB (Ethernet), capture size 68 bytes<br>23:38:53.014188 IP c199.1022 > ping.EECS.Berkeley.EDU.nfsd: P<br>4264839987:4264840111(124) ack 431900584 win 49640<br>23:38:53.014595 IP ping.EECS.Berkeley.EDU.nfsd
> cory.EECS.<br>......<br><br>Let me know if you have any problems with this...<br><br>-Lisa<br><br>On 9/26/07, Josh Hunt <<a href="mailto:joshua.hunt@berkeley.edu">joshua.hunt@berkeley.edu</a>> wrote:<br>> I'm trying to use tcpdump on the inst machines for problem #6, but I can't
<br>> seem to get access to the ethernet devices. I thought it was supposed to<br>> have the setuid bit set but it is not. Here's what I get when I try to run<br>> tcpdump:<br>><br>> c199 [32] ~ > tcpdump -i qfe0
<br>> tcpdump: /dev/qfe: Permission denied<br>><br>> c199 [33] ~ > tcpdump<br>> tcpdump: no suitable device found<br>><br>> c199 [34] ~ > tcpdump -w tracefile host <a href="http://mx2.eecs.berkeley.edu">
mx2.eecs.berkeley.edu</a> and port 25<br>> tcpdump: no suitable device found<br>><br>> c199 [39] /share/b/ee122/sun4u/pkg/tcpdump-3.9.7/sbin > ls<br>> -al<br>> total 1400<br>> drwxr-xr-x 2 root root 4096 Sep 10 11:15 ./
<br>> drwxr-xr-x 4 root root 4096 Sep 10 11:14 ../<br>> -rwxr-xr-x 1 root root 703960 Sep 10 11:15 tcpdump*<br>><br>> Please let me know what I'm doing wrong. Also, I tried to run wireshark and
<br>> was getting similar errors about access to the device.<br>><br>> thx<br>> Josh<br>><br>> _______________________________________________<br>> ee122 mailing list<br>> <a href="mailto:ee122@mailman.ICSI.Berkeley.EDU">
ee122@mailman.ICSI.Berkeley.EDU</a><br>> <a href="http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122">http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122</a><br>><br>><br></blockquote></div><br>