Re: tcpdump problem, socket not supported???

Anders Melchiorsen (postmaster@and.nospam.kampsax.k-net.dk)
12 Sep 1998 01:59:39 +0200


Andre Couture <search_n_find@yahoo.com> writes:

> socket(PF_INET, SOCK_PACKET, 0x300 /* IPPROTO_??? */) = -1 ENOSYS

I had this same problem just yesterday. I don't know any fancy answer
like "this is why it does not simply work".

Anyway, you have to "modprobe af_packet" and it will work. I hope. I
am a little confused right now so perhaps I am not reading your
question right. Anyway... good night!

-- 
Regards, Anders
(address is valid)

First Law of Socio-Genetics: Celibacy is not hereditary.

- 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/faq.html