[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is there any way to turn off IPv6 in the stock Debian 2.6.30 kernel without recompiling?




On Sep 9, 2009, at 5:52 AM, Mark wrote:

suggesting disabling the ipv6 module in /etc/modprobe.d/local.conf

Rick Thomas wrote:
Sadly, it was a good idea but it didn't work.
Apparently, having the module compiled in prevents any of the modprobe stuff from having any effect on it.
However, Kelly gave me a pointer that led me to the right fix.

Yeah, I noticed.
I don't think this is a debian stock kernel tho..

lsmod |grep ipv[4-6]
(incase the ipv5 virus is spreading :P)

Jokes aside.. I got a feeling this is a hand made kernel, the ipv6 bit has (to what I could find in the change logs) not been jammed in the kernel itself.

X11 is annoyed with ya for having ipv6 support, but dropping the traffic at the kernel.. it does not understand what happend. X11 has "native"ipv6 support (so it seems).

Give us a uname -a for the fun of it.

,Mark



If X11 is upset by turning off ipv6 at the kernel, why does it work with "eth0" but not with "all" ??!!

And why is there no "DISPLAY" variable in the shell environment?



It's not a self-made kernel. I got it from the "testing" repo just a couple of weeks ago.

	lsmod | grep ipv

gives nothing.

Note that we have "CONFIG_IPV6=y"   not  "=m" in the config file...

Curiouser and curiouser!

Rick
==========================================
rbthomas@frogpond:~$ uname -a
Linux frogpond 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC 2009 x86_64 GNU/Linux


rbthomas@frogpond:~$ grep -i ipv6 /boot/config-2.6.30-1-amd64
CONFIG_IPV6=y
CONFIG_IPV6_PRIVACY=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_IPV6_MIP6=y
CONFIG_IPV6_SIT=m
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=m
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_PIMSM_V2=y
# CONFIG_IP_VS_IPV6 is not set
# IPv6: Netfilter Configuration
CONFIG_NF_CONNTRACK_IPV6=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m



rbthomas@frogpond:~$ aptitude -vv show linux-image-2.6.30-1-amd64
Package: linux-image-2.6.30-1-amd64
New: yes
State: installed
Automatically installed: yes
Version: 2.6.30-6
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Uncompressed Size: 86.5M
Architecture: amd64
Compressed Size: 24.9M
Filename: pool/main/l/linux-2.6/linux-image-2.6.30-1- amd64_2.6.30-6_amd64.deb
MD5sum: 3fa2c05b8d94af7668abdbbadd22996e
Archive: testing
Depends: module-init-tools, initramfs-tools (>= 0.55) | yaird (>= 0.0.13) | linux-initramfs-tool
PreDepends: debconf | debconf-2.0
Suggests: linux-doc-2.6.30, grub | lilo
Conflicts: initramfs-tools (< 0.55), yaird (< 0.0.13)
Provides: linux-image, linux-image-2.6, linux-modules-2.6.30-1-amd64
Description: Linux 2.6.30 image on AMD64
This package provides the binary image and pre-built loadable modules for Linux kernel 2.6.30 on all 64bit single- and
 multiprocessor AMD and Intel machines.

This kernel also runs on a Xen hypervisor. It supports only unpriviledged (domU) operation.


Reply to: