Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 12-11-2005, 05:11 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
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

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
(Socket Filtering) are enabled in your kernel

Is there a kernel configuration that can be changed at runtime? Something in /proc?

I'd appreciate any help!
Old 12-12-2005, 09:13 AM   #2
LQ Newbie
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Raw Sockets Srikanth0210 Programming 2 12-05-2005 03:22 AM
Pblm in Raw Sockets fpfernando Linux - Software 1 10-08-2005 01:04 AM
raw sockets and C wrongman Programming 3 05-04-2004 02:17 PM
can I use mmap with raw sockets? kanth Programming 2 02-28-2004 12:42 PM
raw sockets BashTin Programming 1 06-07-2003 06:34 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration