Ethereal-users: Re: [Ethereal-users] finding and enabling the interface

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 27 Feb 2006 03:13:44 +0100
On 2/27/06, Michael Gregory <michael.gregory@xxxxxxxxxxx> wrote:
>    Being a novice please forgive me if this is a simple question. I
> have the ethereal gui open, (finally after figuring out where fink,
> (aptly named), hid it) on my G4 powerbook under os 10.4.5. When I
> open the capture options window to select the interface I can find no
> interface to select.  I actually have two problems,
>
>    (1) The file "/Users/michaelgregory/Desktop/ethereal captures/
> 1.rtf" doesn't exist.
>
> is displayed when I define it as my capture file and

This is odd I never seen nothing like this. BTW ethereal will not read
 an RTF file.

>    (2) The capture session could not be initiated ((no devices
> found) /dev/bpf0: Permission denied).
> Please check to make sure you have sufficient permissions, and that
> you have the proper interface or pipe specified.
>
>   since I am having trouble finding /dev/bpf0 and do not know for
> certain how I should modify, (chmod?) it should I find it, I could
> use some detailed guidance please?

To allow reading from bpf devices to every "admin" of the system  (I
assume you are)
Using a Terminal prompt type:

$ sudo chgrp admin /dev/bpf*
$ sudo chmod g+r /dev/bpf*

At this point (and until the next restart the bpf devices will be
usable by all admins)

To enable it each time you login:

create a file with the above commands and make it executable
$ echo '#!/bin/sh' > ~/makebpfreadable
$ echo 'sudo chgrp admin /dev/bpf*' >> ~/makebpfreadable
$ echo 'sudo chmod g+r /dev/bpf*' >> ~/makebpfreadable
$ chmod +x ~/makebpfreadable

Open the "Control Panel" go to "Accouts", choose the "Login Items" tab
click on the "+" sign and add makebpfreadable to the item list.

--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan