stefan.puiu at gmail
Dec 9, 2004, 8:30 AM
Post #1 of 2
Fwd: About the HP-UX docs (README.hpux in the source distribution)
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
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.