LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-31-2012, 02:01 PM   #1
ms-trex
LQ Newbie
 
Registered: Feb 2008
Posts: 11

Rep: Reputation: 0
How to disable ipv6?


Hi,
all applications that need an Internet connection works very slowly, because of ipv6 I think. I disabled ipv6 in firefox and everything is ok now, but what about all others like wget, mail etc? How to permanently disable ipv6 in slackware 13.37, I tried blacklist ipv6 in /etc/modprobe.d/blacklist but it doesn't work. Help!
 
Old 03-31-2012, 02:32 PM   #2
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 583

Rep: Reputation: 129Reputation: 129
You can compile your kernel with your current .config without ipv6 support.
 
Old 03-31-2012, 02:37 PM   #3
ms-trex
LQ Newbie
 
Registered: Feb 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Is it not possible by any command or confing file?
 
Old 03-31-2012, 02:39 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
I just blacklisted ipv6 in /etc/modprobe.d/blacklist.conf an I no longer have an IPv6 address in ifconfig eth0. I booted the machine, and it does not load.

Quote:
cat /etc/modprobe.d/blacklist.conf | grep ipv6
blacklist ipv6
 
Old 03-31-2012, 02:40 PM   #5
ms-trex
LQ Newbie
 
Registered: Feb 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Well, I have not IPv6 address, with or without blacklist ipv6. But I disabled ipv6 in firefox, which works normlany now, I thought that ipv6 is the problem, so why wget establishing connection last very long, the same situation is when I want to send email with sylpheed.

Last edited by ms-trex; 03-31-2012 at 02:45 PM.
 
Old 03-31-2012, 03:04 PM   #6
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 583

Rep: Reputation: 129Reputation: 129
You can use ipv6.disable=1 as kernel command line parameter.
 
Old 03-31-2012, 04:33 PM   #7
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
Having ipv6 enabled should not alter the speed of anything on a machine with only ipv4 network connections.

Perhaps your network has some ipv6 functionality but no actual ipv6 connection to the outside world, this would cause the problems you're describing.

You can use whizje's kernel option to disable ipv6 fully on a single system and is the simplest method

NB ipv6 is designed for complete auto configuration, if a router on a network is configured for ipv6 then every computer on that network that is ipv6 enabled will have ipv6 settings given to them by that router.
 
Old 12-13-2012, 04:20 PM   #8
talmacelm
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Thumbs up disable ipv6 in slackware 14

Just a quick confirmation, passing ipv6.disable=1 as kernel command line parameter does the trick.

One can do this by editing /etc/lilo.conf and adding
Code:
append="ipv6.disable=1"
after the
Code:
read-only
line at the end of the file.

Of course, the "lilo" command has to be run after editing the file, and reboot.

Last edited by talmacelm; 12-13-2012 at 04:21 PM.
 
  


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 02:13 AM
Best Way to disable IPV6 idlehands Linux - General 6 12-04-2012 09:58 AM
disable ipv6 on Lenny cccc Debian 3 09-30-2010 11:43 AM
How to disable ipv6 on NetBSD? Lord Estraven *BSD 3 11-22-2008 03:42 AM
Disable IPV6 bjb_nyj101 Linux - Software 2 06-07-2007 09:54 PM


All times are GMT -5. The time now is 09:33 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