[linux-l] Wie feststellen ob Kernel-Konfiguration vorhanden
Klaus Gerhardt
k-gerhardt at gmx.de
Do Apr 20 21:26:41 CEST 2006
Jan-Benedict Glaw schrieb:
> On Thu, 2006-04-20 17:46:37 +0200, Klaus Gerhardt <k-gerhardt at gmx.de> wrote:
>
>>Jan-Benedict Glaw schrieb:
>>
>>>Wenn Du die Kernel-Konfiguration in /proc/config.gz findest, dann ist
>>>es allerdings einfach:
>>
>>Die Datei existiert bei mir nicht. Kennst du noch einen anderen Weg an
>>die Info zu kommen? Ich habe Debian Sarge 3.1r1 installiert.
>
>
> Suchen in den Sourcen, ob man an irgendwelchen sysfs-Dateien oder am
> Inhalt von /proc etc. ableiten kann, ob die Optionen ein- oder
> ausgeschaltet sind.
>
> Was für eine Kernel-Version ist denn das überhaupt? In meinen
> (aktuellen) Sourcen z.B. finden sich CONFIG_NETLINK und
> CONFIG_RTNETLINK überhaupt nicht mehr; CONFIG_IP_MULTICAST
Kernel-Version 2.6.8. und ein paar gequetschte. Das sieht bei mir auch
so aus als wenn CONFIG_NETLINK UND CONFIG_RTNETLINK nicht vorhanden
sind. Ich kann in der /boot/config... jedenfalls keinen Hinweis darauf
finden.
Ich beschäftige mich gerade mit quagga (Dynamisches Routing) und dort
wird darauf hingewiesen, diese Features bei der Kernel Compilierung zu
berücksichtigen:
>>>>> Zitat quagga manual an >>>>>>>>>>>>>>>
CONFIG_NETLINK
Kernel/User netlink socket. This is a brand new feature which
enables an advanced interface between the Linux kernel and zebra (see
Kernel Interface).
CONFIG_RTNETLINK
Routing messages. This makes it possible to receive netlink routing
messages. If you specify this option, zebra can detect routing
information updates directly from the kernel (see Kernel Interface).
CONFIG_IP_MULTICAST
IP: multicasting. This option should be specified when you use ripd
(see RIP) or ospfd (see OSPFv2) because these protocols use multicast.
<<<<<<<< Zitat quagga manual aus <<<<<<<<<<<<<<<
>>>>> Zitat quagga manual Kernel Interface an >>>>>>>>>>>>>>>
routing socket
netlink
On recent Linux kernels (2.0.x and 2.2.x), there is a kernel/user
communication support called netlink. It makes asynchronous
communication between kernel and Quagga possible, similar to a routing
socket on BSD systems.
Before you use this feature, be sure to select (in kernel
configuration) the kernel/netlink support option 'Kernel/User network
link driver' and 'Routing messages'.
Today, the /dev/route special device file is obsolete. Netlink
communication is done by reading/writing over netlink socket.
After the kernel configuration, please reconfigure and rebuild
Quagga. You can use netlink as a dynamic routing update channel between
Quagga and the kernel.
<<<<<<<< Zitat quagga manual Kernel Interface aus <<<<<<<<<<<<<<<
Wenn irgendwer eine Idee dazu hat. Ich bin für jeden Tip dankbar.
Grüsse
Klaus
--
Klaus Gerhardt * Holsteinische Str. 13 * 10717 Berlin
+49 (30) 8620 1523 * k-gerhardt at gmx.de
http://www.kg-it.de * http://linuxseiten.kg-it.de
Mehr Informationen über die Mailingliste linux-l