]> The Tcpdump Group git mirrors - libpcap/blob - README.aix
Have "map_arphrd_to_dlt()" take a flag indicating whether it's OK to
[libpcap] / README.aix
1 (1) AIX 4.x's version of BPF is undocumented and somewhat unstandard; the
2 current BPF support code includes changes that should work around
3 that, but, lacking an AIX machine on which to compile it, we don't
4 know whether the BPF support for AIX will compile.
5
6 If it doesn't, or if the workarounds fail to make it work correctly,
7 you should send to tcpdump-workers@tcpdump.org a detailed bug report
8 (if the compile fails, send us the compile error messages; if it
9 compiles but fails to work correctly, send us as detailed as
10 possible a description of the symptoms, including indications of the
11 network link-layer type being wrong or time stamps being wrong).
12
13 If you fix the problems yourself, please send to patches@tcpdump.org
14 a patch, so we can incorporate them into the next release.
15
16 If you don't fix the problems yourself, you can, as a workaround,
17 make libpcap use DLPI instead of BPF.
18
19 This can be done by specifying the flag:
20
21 --with-pcap=dlpi
22
23 to the "configure" script for libpcap.
24
25 (2) Also, it is a good idea to have the latest version of the DLPI
26 driver on your system, since certain versions may be buggy and
27 cause your AIX system to crash. DLPI is included in the
28 fileset bos.rte.tty. I found that the DLPI driver that came with
29 AIX 4.3.2 was buggy, and had to upgrade to bos.rte.tty 4.3.2.4:
30
31 lslpp -l bos.rte.tty
32
33 bos.rte.tty 4.3.2.4 COMMITTED Base TTY Support and Commands
34
35 Updates for AIX filesets can be obtained from:
36 ftp://service.software.ibm.com/aix/fixes/
37
38 These updates can be installed with the smit program.
39
40 (3) After compiling libpcap, you need to make sure that the DLPI driver
41 is loaded. Type:
42
43 strload -q -d dlpi
44
45 If the result is:
46 dlpi: yes
47
48 then the DLPI driver is loaded correctly.
49
50 If it is:
51 dlpi: no
52
53 Then you need to type:
54 strload -f /etc/dlpi.conf
55
56 Check again with strload -q -d dlpi that the dlpi driver is loaded.
57
58 Alternatively, you can uncomment the lines for DLPI in
59 /etc/pse.conf and reboot the machine; this way DLPI will always
60 be loaded when you boot your system.