[ee122] hw #2 problem #6

Josh Hunt joshua.hunt at berkeley.edu
Wed Sep 26 23:33:55 PDT 2007


I'm trying to use tcpdump on the inst machines for problem #6, but I can't
seem to get access to the ethernet devices.  I thought it was supposed to
have the setuid bit set but it is not.  Here's what I get when I try to run
tcpdump:

c199 [32] ~ > tcpdump -i qfe0
tcpdump: /dev/qfe: Permission denied

c199 [33] ~ > tcpdump
tcpdump: no suitable device found

c199 [34] ~ > tcpdump -w tracefile host mx2.eecs.berkeley.edu and port 25
tcpdump: no suitable device found

c199 [39] /share/b/ee122/sun4u/pkg/tcpdump-3.9.7/sbin > ls -al
total 1400
drwxr-xr-x   2 root     root        4096 Sep 10 11:15 ./
drwxr-xr-x   4 root     root        4096 Sep 10 11:14 ../
-rwxr-xr-x   1 root     root      703960 Sep 10 11:15 tcpdump*

Please let me know what I'm doing wrong.  Also, I tried to run wireshark and
was getting similar errors about access to the device.

thx
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/ee122/attachments/20070926/a7e3a457/attachment-0001.html 


More information about the ee122 mailing list