That works =)<br>thanks!<br><br><div><span class="gmail_quote">On 9/26/07, <b class="gmail_sendername">Lisa Fowler</b> &lt;<a href="mailto:fowler@eecs.berkeley.edu">fowler@eecs.berkeley.edu</a>&gt; 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.&nbsp;&nbsp;As you can see, running just &quot;tcpdump&quot; isn&#39;t the
<br>same as the special one that we need....<br><br>c199 [1] ~ &gt; which tcpdump<br>/share/b/ee122/sun4u/bin/tcpdump<br><br>c199 [2] ~ &gt; /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 &gt; 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
 &gt; 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 &lt;<a href="mailto:joshua.hunt@berkeley.edu">joshua.hunt@berkeley.edu</a>&gt; wrote:<br>&gt; I&#39;m trying to use tcpdump on the inst machines for problem #6, but I can&#39;t
<br>&gt; seem to get access to the ethernet devices.&nbsp;&nbsp;I thought it was supposed to<br>&gt; have the setuid bit set but it is not.&nbsp;&nbsp;Here&#39;s what I get when I try to run<br>&gt; tcpdump:<br>&gt;<br>&gt; c199 [32] ~ &gt; tcpdump -i qfe0
<br>&gt; tcpdump: /dev/qfe: Permission denied<br>&gt;<br>&gt; c199 [33] ~ &gt; tcpdump<br>&gt; tcpdump: no suitable device found<br>&gt;<br>&gt; c199 [34] ~ &gt; tcpdump -w tracefile host <a href="http://mx2.eecs.berkeley.edu">
mx2.eecs.berkeley.edu</a> and port 25<br>&gt; tcpdump: no suitable device found<br>&gt;<br>&gt; c199 [39] /share/b/ee122/sun4u/pkg/tcpdump-3.9.7/sbin &gt; ls<br>&gt; -al<br>&gt; total 1400<br>&gt; drwxr-xr-x&nbsp;&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Sep 10 11:15 ./
<br>&gt; drwxr-xr-x&nbsp;&nbsp; 4 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Sep 10 11:14 ../<br>&gt; -rwxr-xr-x&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;703960 Sep 10 11:15 tcpdump*<br>&gt;<br>&gt; Please let me know what I&#39;m doing wrong.&nbsp;&nbsp;Also, I tried to run wireshark and
<br>&gt; was getting similar errors about access to the device.<br>&gt;<br>&gt; thx<br>&gt; Josh<br>&gt;<br>&gt; _______________________________________________<br>&gt; ee122 mailing list<br>&gt; <a href="mailto:ee122@mailman.ICSI.Berkeley.EDU">
ee122@mailman.ICSI.Berkeley.EDU</a><br>&gt; <a href="http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122">http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122</a><br>&gt;<br>&gt;<br></blockquote></div><br>