Re: TCPdump

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 7 Jan 1999 01:41:29 +0000


On Mon, Jan 04, 1999 at 05:52:20PM -0200, Alexandre Hautequest wrote:
> How I can make tcpdump (preferrable, but other packet sniffer may be
> helpful) work in 2.2.0pre*?
>
> I've getting the following message:
>
> tcpdump: snoop socket: Socket type not supported

I thought this was a tcpdump version problem, but then I was enlightened.

Compile in "Packet socket" support (= CONFIG_PACKET).

If you have it as a module and you use module demand-loading, add this
line to /etc/conf.modules:

alias net-pf-17 af_packet

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/