Mailing List Archive

Fwd: About the HP-UX docs (README.hpux in the source distribution)
Hello,

I've been trying to get Ethereal to work on HP-UX 11i and have found
the instructions in the README.hpux a bit confusing. The file quotes
from various posts off google groups, without trying to summarize the
information, in a way that you know exactly for each HP-UX version
what needs to be done. For example, it's not apparent from the file
whether the

echo 'lanc_outbound_promisc_flag/W1' | /usr/bin/adb -w /stand/vmunix /dev/kmem

is needed on HP-UX 11i/11.00 or not. When I tried to run the command
on 11i it failed, and by asking on the ITRC
forums I found out that it wasn't actually needed for that release (the README
only states you don't need any patches in order to capture packets on
11i). The only problem I've seen on 11i is that if you have another
app that uses DLPI to put an interface in promiscuous mode, you won't
be able to use Ethereal.

Maybe we can organize the info systematically, and then provide the
google groups links at the end of the README.

As far as I understand:

1) for HP-UX 11i, you don't need any patches to enable the use of
Ethereal; however, if you have another app using promiscuous mode on
the same interface, you will get the following error when running
either Ethereal or tcpdump:

recv_ack: promisc_phys: UNIX error - Device busy

2) for HP-UX 11.00, you need the latest lancommon/DLPI patches. It's
not clear from the README whether the 10.20 fixes apply to this, too.

3) for HP-UX 10.20, you need the "LAN products cumulative patch", and
the adb command in order to enable promiscuous mode. The hack_ip_stack
script also helps.
Re: Fwd: About the HP-UX docs (README.hpux in the source distribution) [ In reply to ]
Stefan Puiu wrote:

> I've been trying to get Ethereal to work on HP-UX 11i and have found
> the instructions in the README.hpux a bit confusing. The file quotes
> from various posts off google groups, without trying to summarize the
> information, in a way that you know exactly for each HP-UX version
> what needs to be done. For example, it's not apparent from the file
> whether the
>
> echo 'lanc_outbound_promisc_flag/W1' | /usr/bin/adb -w /stand/vmunix /dev/kmem
>
> is needed on HP-UX 11i/11.00 or not. When I tried to run the command
> on 11i it failed, and by asking on the ITRC
> forums I found out that it wasn't actually needed for that release (the README
> only states you don't need any patches in order to capture packets on
> 11i).

Rick Jones mentioned that, so I updated the README.hpux to add a note

According to Rick Jones, the global promiscuous switch also has to be
turned on for HP-UX 11.00, but not for 11i - and, in fact, the switch
doesn't even exist on 11i.

> The only problem I've seen on 11i is that if you have another
> app that uses DLPI to put an interface in promiscuous mode, you won't
> be able to use Ethereal.

I'll ask Rick Jones about that.

> Maybe we can organize the info systematically, and then provide the
> google groups links at the end of the README.

That might make sense; send us a patch if you do that.