Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to disable ipv6 tunneling

204 views
Skip to first unread message

Marko Randjelovic

unread,
Aug 6, 2007, 11:00:19 AM8/6/07
to
I run Etch and at every boot, as message on the screen states, it
activates some "ipv6 over ipv4 tunneling driver" and it lasts several
seconds. I don't need ipv6. How can it be disabled?


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Andrew Sackville-West

unread,
Aug 6, 2007, 11:50:10 AM8/6/07
to
On Mon, Aug 06, 2007 at 04:57:30PM +0200, Marko Randjelovic wrote:
> I run Etch and at every boot, as message on the screen states, it
> activates some "ipv6 over ipv4 tunneling driver" and it lasts several
> seconds. I don't need ipv6. How can it be disabled?

I think you can blacklist the ipv6 module.

A

signature.asc

Marko Randjelovic

unread,
Aug 6, 2007, 3:20:13 PM8/6/07
to

I blacklisted the modules, now it shows a message about not loading it,
but waites for 10 seconds anyway. Does someone have a better idea?

Andrei Popescu

unread,
Aug 6, 2007, 4:30:13 PM8/6/07
to
On Mon, Aug 06, 2007 at 09:15:46PM +0200, Marko Randjelovic wrote:
> Andrew Sackville-West wrote:
> > On Mon, Aug 06, 2007 at 04:57:30PM +0200, Marko Randjelovic wrote:
> >> I run Etch and at every boot, as message on the screen states, it
> >> activates some "ipv6 over ipv4 tunneling driver" and it lasts several
> >> seconds. I don't need ipv6. How can it be disabled?
> >
> > I think you can blacklist the ipv6 module.
> >
> > A
>
> I blacklisted the modules, now it shows a message about not loading it,
> but waites for 10 seconds anyway. Does someone have a better idea?

Maybe ipv6 was not the culprit. Try setting 'VERBOSE=yes' in
/etc/default/rcS, maybe you get more info.

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

signature.asc

Alex Samad

unread,
Aug 6, 2007, 5:50:06 PM8/6/07
to
On Mon, Aug 06, 2007 at 04:57:30PM +0200, Marko Randjelovic wrote:
> I run Etch and at every boot, as message on the screen states, it
> activates some "ipv6 over ipv4 tunneling driver" and it lasts several
> seconds. I don't need ipv6. How can it be disabled?
>

in /etc/modprobe.d/aliases look for this line
alias net-pf-10 ipv6

set it to

alias net-pf-10 off

alex

signature.asc

Andrei Popescu

unread,
Aug 6, 2007, 6:00:15 PM8/6/07
to
On Tue, Aug 07, 2007 at 07:43:25AM +1000, Alex Samad wrote:
> On Mon, Aug 06, 2007 at 04:57:30PM +0200, Marko Randjelovic wrote:
> > I run Etch and at every boot, as message on the screen states, it
> > activates some "ipv6 over ipv4 tunneling driver" and it lasts several
> > seconds. I don't need ipv6. How can it be disabled?
> >
>
> in /etc/modprobe.d/aliases look for this line
> alias net-pf-10 ipv6
>
> set it to
>
> alias net-pf-10 off

IMHO it is cleaner if you create a file /etc/modprobe.d/00local file
with all local customizations.

Regards,
Andrei
P.S. I hate being asked about config changes on package upgrades

signature.asc

Michael M.

unread,
Aug 6, 2007, 7:10:09 PM8/6/07
to
On Mon, 2007-08-06 at 21:15 +0200, Marko Randjelovic wrote:
> Andrew Sackville-West wrote:
> > On Mon, Aug 06, 2007 at 04:57:30PM +0200, Marko Randjelovic wrote:
> >> I run Etch and at every boot, as message on the screen states, it
> >> activates some "ipv6 over ipv4 tunneling driver" and it lasts several
> >> seconds. I don't need ipv6. How can it be disabled?
> >
> > I think you can blacklist the ipv6 module.
> >
> > A
>
> I blacklisted the modules, now it shows a message about not loading it,
> but waites for 10 seconds anyway. Does someone have a better idea?


I made the following change to /etc/modprobe.d/aliases

alias net-pf-10 off
# alias net-pf-10 ipv6

(added the first line; commented out the second line)

I don't know if that's the "right" way to do it. It worked for me.


--
Michael M. ++ Portland, OR ++ USA
"No live organism can continue for long to exist sanely under conditions
of absolute reality; even larks and katydids are supposed, by some, to
dream." --S. Jackson

Marko Randjelovic

unread,
Aug 7, 2007, 3:10:11 PM8/7/07
to
Alex Samad wrote:
> On Mon, Aug 06, 2007 at 04:57:30PM +0200, Marko Randjelovic wrote:
>> I run Etch and at every boot, as message on the screen states, it
>> activates some "ipv6 over ipv4 tunneling driver" and it lasts several
>> seconds. I don't need ipv6. How can it be disabled?
>>
>
> in /etc/modprobe.d/aliases look for this line
> alias net-pf-10 ipv6
>
> set it to
>
> alias net-pf-10 off
>
> alex


I did this and now there is no mention of ipv6, but still the same
delay. Setting 'VERBOSE=yes' in /etc/default/rcS didn't help, it just says

Setting up networking.
Configuring network interfaces.

And at this point there is a delay, and then

Starting portmap daemon.

Any ideas?

Andrei Popescu

unread,
Aug 8, 2007, 1:40:12 AM8/8/07
to
On Tue, Aug 07, 2007 at 09:05:07PM +0200, Marko Randjelovic wrote:

> delay. Setting 'VERBOSE=yes' in /etc/default/rcS didn't help, it just
> says
>
> Setting up networking.
> Configuring network interfaces.
>
> And at this point there is a delay, and then
>
> Starting portmap daemon.
>
> Any ideas?

Are you using DHCP? Try setting your box to a static address.

Regards,
Andrei

signature.asc

Marko Randjelovic

unread,
Aug 8, 2007, 7:50:05 AM8/8/07
to
Andrei Popescu wrote:
> On Tue, Aug 07, 2007 at 09:05:07PM +0200, Marko Randjelovic wrote:
>
>> delay. Setting 'VERBOSE=yes' in /etc/default/rcS didn't help, it just
>> says
>>
>> Setting up networking.
>> Configuring network interfaces.
>>
>> And at this point there is a delay, and then
>>
>> Starting portmap daemon.
>>
>> Any ideas?
>
> Are you using DHCP? Try setting your box to a static address.
>
> Regards,
> Andrei

The problem was in my /etc/network/interfaces:

----
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
----

Some time ago I commented the line "allow-hotplug eth0" and added "auto
eth0", because I had some problems. Everything was working fine, until
one upgrade, when this delay started to occur. I have restored old
setting and now there is no delay, I hope problems will not start again.
I tried two times, but as I can remember they didn't occur every time.

Alber

unread,
Aug 26, 2007, 10:00:09 AM8/26/07
to

Hi!

Have the same problem on Debian Etch.

What have been done:
in /etc/modprobe.d/aliases
alias net-pf-10 ipv6 changed to
alias net-pf-10 off
alias ipv6 off (problem exist)

on next stage:
/etc/modprobe.d/blacklist
blacklist ipv6 (problem exist)

on next stage:
adding alias net-pf-10 off
alias ipv6 off
to created /etc/modprobe.d/00local (problem exist)

on next stage:
adding blacklist ipv6 to /etc/modprobe.d/aliases

Result:
I've get rid of boot delay but still have "ipv6 over ipv4 tunneling" on boot + "inet6 addr" on ifconfig.

Please, help to disable this ipv6.

Alex Samad

unread,
Aug 26, 2007, 10:30:10 AM8/26/07
to
On Sun, Aug 26, 2007 at 03:34:50PM +0200, Alber wrote:
>
> Hi!
>
> Have the same problem on Debian Etch.
>
> What have been done:
> in /etc/modprobe.d/aliases
> alias net-pf-10 ipv6 changed to
> alias net-pf-10 off
> alias ipv6 off (problem exist)
this should have done it

>
> on next stage:
> /etc/modprobe.d/blacklist
> blacklist ipv6 (problem exist)
>
> on next stage:
> adding alias net-pf-10 off
> alias ipv6 off
> to created /etc/modprobe.d/00local (problem exist)
>
> on next stage:
> adding blacklist ipv6 to /etc/modprobe.d/aliases
>
> Result:
> I've get rid of boot delay but still have "ipv6 over ipv4 tunneling" on
> boot + "inet6 addr" on ifconfig.
>
> Please, help to disable this ipv6.

so the problem is ipv6 module is still being loaded, something explicitly might
be loading the module. You could take a shotgun to it and delete the module
from /lib/modules/$(uname -r)/kernel/net/ipv6/ipv6.ko

I would try and find out what is loading ipv6.

first I would boot with the option init=/bin/bash, check lsmod, this will tell
you if it is the initrd. Then just start each of the daemons in the same order
that init would.

Sorry can't point to the exact answer, but you should have the tools to track
it down.

(one other place to check is /etc/sysctl.conf)

Good luck

signature.asc

Nigel Henry

unread,
Aug 26, 2007, 12:40:09 PM8/26/07
to
On Sunday 26 August 2007 15:34, Alber wrote:
> Hi!
>
> Have the same problem on Debian Etch.
>
> What have been done:
> in /etc/modprobe.d/aliases
> alias net-pf-10 ipv6 changed to
> alias net-pf-10 off
> alias ipv6 off (problem exist)
>
> on next stage:
> /etc/modprobe.d/blacklist
> blacklist ipv6 (problem exist)
>
> on next stage:
> adding alias net-pf-10 off
> alias ipv6 off
> to created /etc/modprobe.d/00local (problem exist)
>
> on next stage:
> adding blacklist ipv6 to /etc/modprobe.d/aliases
>
> Result:
> I've get rid of boot delay but still have "ipv6 over ipv4 tunneling" on
> boot + "inet6 addr" on ifconfig.
>
> Please, help to disable this ipv6.

The same problem has been asked on the Fedora list today, and one of the
replies was to make an entry in /etc/modprobe.conf as below:
install ipv6 /bin/true

I've sent stuff to /bin/true before, and it's worked ok, and the modules arn't
loaded. I tried it on my Lenny install, and sure enough ipv6 is no longer
seen in lsmod. Just to check it out, I commented out the line, rebooted, and
checked lsmod a gain, and ipv6 is back.

I'm never too sure where to put these things in /etc/modprobe.d, but for sound
card related stuff, TV card options, webcam options, I've put them
in /etc/modprobe.d/sound. Thats where I put "install ipv6 /bin/true" , and it
appears to work ok. If someone can suggest a better place, I'm listening.

For these sort of options/alias/install lines, it's a bit more straightforward
on Fedora, as it all goes in /etc/modprobe.conf, but on the other
hand /etc/modules on Debian, makes it really easy to add modules you want
loaded at bootup. There's no such file with Fedora. It's a case of, you win
some you lose some, depending on the distro you're using.

All the best.

Nigel.

0 new messages