LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-28-2010, 12:37 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,619

Rep: Reputation: 48
disable ipv6 on Lenny


hi

There are many ways to disable ipv6 on Lenny.
How have you done on your system?
 
Old 09-28-2010, 01:42 PM   #2
jdkaye
Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,013

Rep: Reputation: Disabled
Google is your friend. A 2 second search turned up this link.

I haven't done it one my system.
ciao,
jdk

Last edited by jdkaye; 09-28-2010 at 01:44 PM.
 
1 members found this post helpful.
Old 09-28-2010, 04:50 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,619

Original Poster
Rep: Reputation: 48
Thx, I've done and it seems to work.
How I already said, there are many ways to disable ipv6, for example:

1.) set ipv6 to blacklist
Code:
echo blacklist ipv6 >> /etc/modprobe.d/blacklist.local
2.) edit /etc/modprobe.d/aliases
from:
Code:
alias net-pf-10 ipv6
to
Code:
alias net-pf-10 off
3.) change /etc/sysctl.conf
Code:
net.ipv6.conf.default.disable_ipv6=1
4.) add
Code:
ipv6.disable=1
as a kernel parameter in /boot/grub/menu.lst

greetings
cccc
 
Old 09-30-2010, 12:43 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
There are different ways to disable IPV6 because the kernel is changing.
The "old" ways are [1],[2],[3]
The "new" way (when IPV6 is compiled into the kernel) is [4]

Which one you should use depends on how your kernel has been configured, and what your distro version-number is.
 
  


Reply


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
Can't disable IPv6 bhamid Linux - Networking 10 04-30-2013 03:13 AM
Best Way to disable IPV6 idlehands Linux - General 6 12-04-2012 10:58 AM
How would i disable ipv6 for eth0 ? cola Linux - Networking 1 11-27-2009 05:58 AM
How to disable ipv6 on NetBSD? Lord Estraven *BSD 3 11-22-2008 04:42 AM
Disable IPV6 bjb_nyj101 Linux - Software 2 06-07-2007 10:54 PM


All times are GMT -5. The time now is 01:46 AM.

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