This is our old Q&A Site. Please post any new questions and answers at

the error is "./ChmodBPF: line 35: $1: unbound variable" in Snow leopard. after install.

Do you have any recommendation? Right now I can't detect any interfaces in wireshark.

asked 27 Oct '10, 20:33

Nataichi's gravatar image

accept rate: 0%

ChmodBPF isn't a script you're supposed to run directly, it's a script that's supposed to be run by the SystemStarter mechanism in Mac OS X. Put both ChmodBPF and StartupParameters.plist into the directory /Library/StartupItems, make sure they're owned by user "root" and group "wheel" and are not writable by anybody other than "root", and then do "sudo SystemStarter start ChmodBPF" to cause SystemStarter to run the script. That should change the ownership and/or permissions on the existing BPF devices. After a reboot, the permissions should be set automatically.

permanent link

answered 28 Oct '10, 14:15

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 Oct '10, 20:33

question was seen: 4,735 times

last updated: 28 Oct '10, 14:15

p​o​w​e​r​e​d by O​S​Q​A