Raw sockets in standard OpenSuSE 10.0 kernel?
I'm trying to get ethereal or tcpdump to work in OpenSuSE 10.0, but it seems like raw sockets are not supported:
root@ronja:/tmp# tcpdump -i eth0 tcpdump: socket: Address family not supported by protocol root@ronja:/tmp# uname -r 2.6.13-15-default Is there an easy way to get this to work without having to compile my own kernel? The DHCP server said this when I tried to start it: socket: Address family not supported by protocol - make sure CONFIG_PACKET (Packet socket) and CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration! Is there a kernel configuration that can be changed at runtime? Something in /proc? I'd appreciate any help! /Klas |
I solved the problem.
The SuSE kernel is compiled with CONFIG_PACKET=m MODULES_LOADED_ON_BOOT="packet" in /etc/sysconfig/kernel plus a reboot did what I wanted. I guess "modprobe packet" would have worked, but as I had an old kernel active and a new one installed I could just as well reboot. |
All times are GMT -5. The time now is 12:12 AM. |