tcpdump problem, socket not supported???

Andre Couture (search_n_find@yahoo.com)
Fri, 11 Sep 1998 11:54:15 -0700 (PDT)


Can somebody tell me what is missing in my kernel/modules to solve this?

#strace tcpdump -i eth0

socket(PF_INET, SOCK_PACKET, 0x300 /* IPPROTO_??? */) = -1 ENOSYS
(Function not implemented)
socket(PF_INET, SOCK_PACKET, 0x300 /* IPPROTO_??? */) = -1 ENOSYS
(Function not implemented)
socket(PF_INET, SOCK_PACKET, 0x300 /* IPPROTO_??? */) = -1
ESOCKTNOSUPPORT (Socket type not supported)
write(2, "tcpdump: ", 9tcpdump: ) = 9
write(2, "socket: Socket type not supporte"..., 33socket: Socket type
not supported) = 33
write(2, "\n", 1
) = 1
_exit(1)

lsmod:
Module Size Used by
bttv 28496 1 (autoclean)
ip_masq_ftp 2772 0 (unused)
ppp 17996 2 (autoclean)
slhc 4440 1 (autoclean) [ppp]
i2c 3208 1 (autoclean) [bttv]
videodev 2300 2 (autoclean) [bttv]
soundcore 2120 1 (autoclean)
serial 17332 3 (autoclean)
autofs 8920 9 (autoclean)
rarp 2728 2 (autoclean)
tulip 19124 1 (autoclean)
ipx 12860 9 (autoclean)
mdafb 2868 63
fbcon-vga 1764 0 [mdafb]
unix 10164 115 (autoclean)
devpts 3104 1 (autoclean)
raid0 1684 1 (autoclean)

and from /etc/conf.modules
alias block-major-7 loop
alias block-major-28 loop
alias char-major-30 ipip
alias net-pf-1 unix
alias net-pf-2 ip
alias net-pf-3 off #AF_AX25 3 /* Amateur Radio AX.25 */
alias net-pf-4 ipx
alias net-pf-5 off #atalk #appletalk
alias net-pf-6 off #AF_NETROM 6 /* Amateur radio NetROM */
alias net-pf-7 off #AF_BRIDGE 7 /* Multiprotocol bridge */
alias net-pf-8 off #AF_AAL5 8 /* Reserved for Werner's ATM */
alias net-pf-9 off #AF_X25 9 /* Reserved for X.25 project */
alias net-pf-10 ipv6 #AF_INET6 10 /* IP version 6 */
#alias net-pf-16 off # /* ??? */
#alias net-pf-17 off # /* ??? */
alias netalias-2 ip_alias
alias block-major-3 off

/Andre
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
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