I just finished recompiling a new 2.6.2 kernel. When I loaded it up, I found that the af_packet module needed for networking was compiled as a module and not as part of the kernel. This caused the /etc/init.d/network script to throw errors about ARP not being part of the address family. When I do a
modprobe af_packet and restart the network it works fine.
The trick is getting this to work when the system boots. My solution was to just put the following at the to of /etc/init.d/network:
Code:
/sbin/modprobe -q af_packet
I found that when I reran modprobe after loading this module the first time gave an error message, hence the -q switch. Does this seem reasonable or should I do this somewhere else? TIA.