[Click] FromDevice of userlevel on Mac OS X 10.5.8

Roman Chertov rchertov at cs.ucsb.edu
Mon Apr 19 01:17:58 EDT 2010


Try to run the script using sudo.  It might be just a permissions issue
to run a PCAP device.

Jimmy wrote:
> Hi all,
> 
> The script is very simple:
> FromDevice(en1, PROMISC true) -> Print("en1") -> Queue -> Discard;
> 
> But when I run this, it displays the following error:
> fromdevice.click:28: While initializing ‘FromDevice at 1 :: FromDevice’:
>   (no devices found) /dev/bpf0: Permission denied
> 
> I am using click on Mac OS X 10.5.8, I am confused why it says no
> devices found, since after I did ifconfig, it displays:
> en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 	inet6 fe80::226:8ff:fee0:6907%en1 prefixlen 64 scopeid 0x6
> 	inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
> 	ether 00:26:08:e0:69:07
> 	media: autoselect status: active
> 	supported media: autoselect
> 
> I am using wireless connection, and the device should be en1.......
> 
> Can anybody help me on this? Is there any configurations that i may
> set up wrong?
> 
> Thanks.
> 
> J.
> 



More information about the click mailing list