LinuxQuestions.org
Help answer threads with 0 replies.
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 05-29-2007, 02:51 AM   #1
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 209

Rep: Reputation: 30
confused on disabling IPv6


i have Debian Etch amd64 using netinst CD. i want to disable Ipv6 as it causes problems. i know what i need to add:

alias net-pf-10 off
alias ipv6 off

on Fedora i add these lines to "/etc/modprobe.conf" and internet troubles go away :-) now on debian i have these 3 files:

/etc/modprobe.conf
/etc/modprobe.d/aliases
/etc/modprobe.d/blacklist

where should i add those 2 alias lines ?
 
Old 05-29-2007, 07:59 AM   #2
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 49
I use a plain AMD box, i commented the line:

alias net-pf-10 ipv6

in /etc/modprobe.d/aliases

and then in iceweasel, i wrote about:config and toggled the line to look like this:

network.dns.disableIPv6 user set boolean true
 
Old 05-29-2007, 10:58 AM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally Posted by arnuld
i have Debian Etch amd64 using netinst CD. i want to disable Ipv6 as it causes problems. i know what i need to add:

alias net-pf-10 off
alias ipv6 off

on Fedora i add these lines to "/etc/modprobe.conf" and internet troubles go away :-) now on debian i have these 3 files:

/etc/modprobe.conf
/etc/modprobe.d/aliases
/etc/modprobe.d/blacklist

where should i add those 2 alias lines ?
In the /etc/modprobe.d/ directory try creating a file ipv6 with your two lines in it this should be processed by modutils on boot and your settings used, for KDE if using it then in your /etc/environment put this.

Code:
## Added by me for no IPV6 in KDE
KDE_NO_IPV6=1
 
Old 06-08-2007, 06:41 PM   #4
Qew
Member
 
Registered: Feb 2005
Location: Sussex, UK
Distribution: Debian Lenny
Posts: 35

Rep: Reputation: 17
Another way to achieve this is to add the line "blacklist ipv6" (no quotes) to the /etc/modprobe.d/blacklist file and comment out (add # to the start of each line you want ignored) the references to ipv6 in the /etc/hosts file. If you use IceWeasel, then do what macondo suggests.
 
Old 06-08-2007, 07:05 PM   #5
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 701
Blog Entries: 1

Rep: Reputation: 32
Smile

a drastic measure if u want any modules from preventing loading is to create a file /etc/modprobe.d/00local containing ur blacklist modules in the format:
Code:
install modulename  /bin/true
 
Old 06-13-2007, 06:11 PM   #6
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Quote:
Originally Posted by arnuld
i have Debian Etch amd64 using netinst CD. i want to disable Ipv6 as it causes problems.
May I ask, what problems?
 
  


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
Disabling ipv6 on SuSE 10.0 VIR3NT Suse/Novell 3 05-14-2009 06:08 AM
Help Needed on configure FTP server on LINUX IPv6 :confused: rachel41 Linux - Server 0 04-30-2007 07:37 AM
IPV6, Do I need it? Daedra Slackware 2 12-17-2006 01:15 AM
disabling ipv6 felosi Debian 7 06-05-2006 10:46 PM
ipv6 fontoura Linux - General 0 11-05-2003 05:04 AM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
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