1 <qandaentry id="net-pf-x">
2 <question><para>I'm getting errors about net-pf-?.</para></question>
3 <answer><para>When you compiled net-tools
4 you enabled support for a protocol family (that's where the "pf" comes from)
5 that you didn't enable support for in the kernel.
6 (You probably just accepted the default answers.)
8 <para>A full list of protocols is in /usr/include/linux/socket.h
9 but here is a list of the likely culprits:
11 <listitem><para>net-pf-3: Amateur Radio AX.25 (AF_AX25)
13 <listitem><para>net-pf-4: Novell IPX (AF_IPX)
15 <listitem><para>net-pf-5: AppleTalk DDP (AF_APPLETALK)
17 <listitem><para>net-pf-6: Amateur Radio NET/ROM (AF_NETROM)
19 <listitem><para>net-pf-9: Reserved for X.25 project (AF_X25)
21 </itemizedlist></para>
22 <para>Naturally the fix is to recompile net-tools
23 without support for the things you don't need.
24 (Or recompile your kernel with support if you find you actually wanted them.)
25 The workaround to put a line like the following in /etc/modules.conf
27 <screen>alias net-pf-? off
29 <para>Replace the question mark with the correct number, of course.
32 <answer><para>If you get an error about net-pf-7,
33 you probably need to enable support for the loopback network device
34 (not block device) in your kernel.
35 Or you may need to add the following line to /etc/modules.conf and rerun depmod.
37 <screen>alias net-pf-7 loop