dect
/
libpcap
Archived
13
0
Fork 0

Split the README items into "using BPF" and "using DLPI" items; if you

can use BPF, you don't need to have the latest DLPI driver or make sure
it's loaded (and maybe we're finally at the point where you can use
BPF).

Reformat a bit.

Note that the DLPI support has problems with DL_PROMISC_MULTI failing.
This commit is contained in:
guy 2002-10-08 07:27:39 +00:00
parent 6d1a64f8b0
commit 45ba69f093
1 changed files with 23 additions and 12 deletions

View File

@ -1,3 +1,5 @@
Using BPF:
(1) AIX 4.x's version of BPF is undocumented and somewhat unstandard; the
current BPF support code includes changes that should work around
that; it appears to compile and work on at least one AIX 4.3.3
@ -38,39 +40,48 @@
to the "configure" script for libpcap.
(3) Also, it is a good idea to have the latest version of the DLPI
driver on your system, since certain versions may be buggy and
cause your AIX system to crash. DLPI is included in the
fileset bos.rte.tty. I found that the DLPI driver that came with
AIX 4.3.2 was buggy, and had to upgrade to bos.rte.tty 4.3.2.4:
If you use DLPI:
lslpp -l bos.rte.tty
(1) It is a good idea to have the latest version of the DLPI driver on
your system, since certain versions may be buggy and cause your AIX
system to crash. DLPI is included in the fileset bos.rte.tty. I
found that the DLPI driver that came with AIX 4.3.2 was buggy, and
had to upgrade to bos.rte.tty 4.3.2.4:
bos.rte.tty 4.3.2.4 COMMITTED Base TTY Support and Commands
lslpp -l bos.rte.tty
bos.rte.tty 4.3.2.4 COMMITTED Base TTY Support and Commands
Updates for AIX filesets can be obtained from:
ftp://service.software.ibm.com/aix/fixes/
These updates can be installed with the smit program.
(4) After compiling libpcap, you need to make sure that the DLPI driver
(2) After compiling libpcap, you need to make sure that the DLPI driver
is loaded. Type:
strload -q -d dlpi
strload -q -d dlpi
If the result is:
dlpi: yes
dlpi: yes
then the DLPI driver is loaded correctly.
If it is:
dlpi: no
dlpi: no
Then you need to type:
strload -f /etc/dlpi.conf
strload -f /etc/dlpi.conf
Check again with strload -q -d dlpi that the dlpi driver is loaded.
Alternatively, you can uncomment the lines for DLPI in
/etc/pse.conf and reboot the machine; this way DLPI will always
be loaded when you boot your system.
(3) There appears to be a problem in the DLPI code in some versions of
AIX, causing a warning about DL_PROMISC_MULTI failing; this might
be responsible for DLPI not being able to capture outgoing packets.