How can I disable IPv6 stack use for IPv4 IPs on JRE?
location: linuxexchange.com - date: January 3, 2014
As you can see on below screenshots, eclipse and Android SDK Manager (and other Java programs) are trying to connect to a IPv4 Internet IP via IPv6 TCP/IP stack while Proxifier (a proxy manager program, nevermind) can not support that.
How I can disable IPv6 in Java?
How to completely disable IPv6 for loopback interface on RHEL 5.6
location: linuxexchange.com - date: January 1, 1970
I've done lots of research on how to disable IPv6 on RedHat Linux and I have it almost completely disabled. However the loopback interface is still getting an inet6 loopback address (::1/128). I can't find where IPV6 is still enabled for loopback.
To disable IPV6 I added the following settings to /etc/sysctl.conf:
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.all.disable_ipv6=1
And also added the following line to /etc/sysconfig/network:
NETWORKING_IPV6=no
After rebooting, the inet6 address is gone from my physical interface (eth0), but is still there for lo:
# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:56:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 10.x.x.x/21 brd 10.x.x.x sco
How to disable ipv6 on centos 7 installing Hadoop?
location: linuxexchange.com - date: January 1, 1970
I'm new to Centos 7, and I have used Ubuntu for along time.Now I have to deloy Hadoop on centos 7, but I have much trouble with CentOS 7. This is my Centos info:
$ uname -a
Linux hds 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -q centos-release
centos-release-7-1.1503.el7.centos.2.8.x86_64
So the first question is disable ipv6.I have add some code as follow to /etc/sysctl.conf。
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Then use sysctl -p to make it work. And test it:
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
That the result is 1 seem show the ipv6 is disable. And I do it on all the nodes.
But when I start Hadoop up and browser localhost:8088,it can not return data.Then I type lsof -i :8088, it is as follow:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 6160 hop 224u IPv6 47405 0t0 TCP hds:radan-http (LISTEN)
Notice IP
How to disable ipV6 in Google Chrome (version 45)?
location: linuxexchange.com - date: January 1, 1970
I recently updated Chrome on my developer machine to v45. This update seems to set my client Ip to always use IpV6. Some of the applications I am developing locally require me to use Ipv4 so I need to disable Ipv6 on chrome. I tried solutions mentioned in
Is there a way to disable IPv6 in Google's Chrome?
but that doesn't seem to resolve my problem.
How To Disable IPV6 in Ubuntu 9.04 ? HELP PLEASE!
location: ubuntuforums.com - date: April 25, 2009
Please, help needed!
Network became slow due to the unsupported ipv6 protocol.
In the past I used to fix it in /etc/modprobe.d/aliases, but now it is built in the kernel. I don't like the idea to recompile it.
Anyway I've somehow found two ways:
1) Add to the /etc/modprobe.d/blacklist.conf the following:
blacklist net-pf-10
blacklist ipv6
2) Put "1" into /proc/sys/net/ipv6/conf/all/disable_ipv6
So I tried them both and nothing works actually
To check if it is disabled you can in the console:
ip a | grep inet6
If it is disabled there will be no output.
I've also came across some bug reports concerning this issue (inability to switch off ipv6).
I urgently need help since it is unsupported in my country and networking is slower than it was under 8.10 (or in Windoze).
Thank you in advance!
Alexander.
HowTo: Disable IPV6 to speed up Internet.
location: ubuntuforums.com - date: November 9, 2005
Hello all,
During today's Dapper development updates one of the packaes wanted to replace the /etc/modporbe.d/aliases file. Yes or No?
Normally I would say No to keep my confuguration but it mentioned "to keep the developers additions". So I say, Yes replace it.
I knew this was the file that would trun IPV6 back on and so I had to change it again after re-boot.
Well, I guess I forgot how to do that (format wise) but after entering several forms I thot the net had sped up some but it was still stalling and slugish at the end of a web page load, as if it had to wait for a done signal.
I thoht I would re-boot and see if there was a difference. Sure enough the network is responding a top speed now.
So here are the changes I put in with the orginal comment out.
But the re-boot is required.
alias net-pf-10 ipv6 off
alias net-pf-10 off
alias ipv6 off
#alias net-pf-10 ipv6
IPV6 slows down the IPV4 environment if the router out the door does not understand
OUTLINE: Disable IPv6
location: ubuntuforums.com - date: December 2, 2004
I've seen lots of posts about problems with IPv6 (slow network/Internet connections, DNS resolution problems, etc.). I've also seen several posts presenting solutions to these issues. Herewith, what I had to do to disable IPv6 and get reasonable connection & DNS speeds.
1. sudo gedit /etc/modprobe.d/aliases (or your preferred text editor)
2. Find the line: alias net-pf-10 ipv6
3. Edit this to: alias net-pf-10 off
4. Save the file and reboot
Please note that many of the suggestions I've seen recommend running the command sudo update-modules before rebooting; whenever I've done this, I still see IPv6 active (i.e., the sit0 section when running ifconfig -a) and still experience the network performance problems.
Finally, with Mozilla browsers (Firefox or Suite), you can enter about:config in the address bar, locate the line starting with network.dns.disableIPv6 and change the value to true. (I'm not sure if this is necessary; I do know that, by itself, it doesn't solve
Ubuntu 9.10 Disable IPv6?
location: linuxquestions.com - date: January 18, 2010
Hi,
Fairly new to linux and first time posting. Any help would be much appreciated! Here is my problem
Short version: how do I check if IPv6 has been disabled correctly?
Long Version:
After I updated to ubuntu 9.10, I could not access the Internet. I disabled IPv6 in Firefox and that solved the problem for firefox. As for the rest of the applications, still no luck.
I'm guessing I need to disable IPv6 systemwide. I found various posts on how to disable IPv6 however I didn't seem to have the files they referred to for the most popular ones... I did find stuff for older versions which I tried but didn't solve the problem.
I would like to know how to check if IPv6 is enabled/disabled on my system. Can't seem to find out how to check.
The 2 methods I attempted to use to disable IPv6 are the following
1- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
2- sudo gedit /boot/grub/menu.lst
added ipv6.disable=1 (so it looked like this)
title Ubuntu 9.10, ke
Disable ipv6 in ubuntu?
location: linuxquestions.com - date: May 24, 2005
Hi,
My internet is extremely slow and I think the problem lies with ipv6 protocol that it uses. My /etc/resolv files has the correct name server and domain information. I remember disabling ipv6 in suse by modifying the /etc/modprobe.conf file.. how do I do that in ubuntu ? Does someone have any other suggestions? My suse comp. uses the same internet connection and works fine while ubuntu is awfully slow.
Thanks in advance.
Preseeding/Kernal Boot Line (Ubuntu Server 10.044 LTS x64) Disable IPv6?
location: linuxquestions.com - date: May 4, 2012
Hi everyone,
I'm trying to find a way to disable IPv6 during either the preseeding process or by modifying the kernal boot line during the Ubuntu install. The end goal is for IPv6 to be automatically disabled for all of my Ubuntu installs.
Thus far I've tried the following:
1) Add "ipv6.blacklist=yes" to the kernel parameters (The line should read "... -- ipv6.blacklist=yes" afterwards) - I've tried placing this text in a variety of locations within my kernal boot line.
2) Add "ipv6.disable=1" to the kernal parameters - I've tried placing this text in a variety of locations within my kernal boot line.
Unless there's something I'm missing, I guess I'm going to have to create a post install script for this purpose =/.
Thanks,
-Snipe
please wait...
Page: 1 2 3 4 5 6 7 8 9 10