Welcome!

Please read this important information about Spectre and Meltdown vulnerabilities.
Please read this important information about MX sources lists.

News
  • MX Linux on social media: here
  • Mepis support still here
Current releases
  • MX-17.1 Final release info here
  • antiX-17 release info here
New users
  • Please read this first, and don't forget to add system and hardware information to posts!
  • Read Forum Rules

Disable IPV6 in MX17

Help for Current Versions of MX
Message
Author
spandey
Forum Novice
Forum  Novice
Posts: 27
Joined: Mon Jul 04, 2016 3:02 am

Disable IPV6 in MX17

#1 Postby spandey » Wed Jan 10, 2018 3:36 am

How do we disable ipv6 in MX17? It's an very old PC and I would like to disable IPV6.
1. In Network Manager IPV6 is disabled
2. in /etc/sysctl.conf i have added
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 21418
Joined: Wed Jul 19, 2006 6:13 am

Re: Disable IPV6 in MX17

#2 Postby Jerry3904 » Wed Jan 10, 2018 7:53 am

I googled "debian 9 disable ipv6" where there are a zillion useful-looking hits. Here's the first one listed, which looks promising:

https://www.itzgeek.com/how-tos/linux/d ... 16-04.html
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 355
Joined: Thu Apr 13, 2017 2:50 am

Re: Disable IPV6 in MX17

#3 Postby vamsi » Wed Jan 10, 2018 10:18 am

spandey wrote:How do we disable ipv6 in MX17? It's an very old PC and I would like to disable IPV6.
1. In Network Manager IPV6 is disabled
2. in /etc/sysctl.conf i have added
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1


Yes these commands are enough :happy: :happy:

User avatar
Attelas
Forum Novice
Forum  Novice
Posts: 1
Joined: Mon Jan 15, 2018 3:56 pm

Re: Disable IPV6 in MX17

#4 Postby Attelas » Mon Jan 15, 2018 4:16 pm

Option 2: add 'ipv6.disable=1' to /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="YOUR PARAMETERS"
GRUB_CMDLINE_LINUX_DEFAULT="YOUR PARAMETERS ipv6.disable=1"

Don't forget to run update-grub afterwards!

Works for me (for years now), although I admit I do not know any cons (besides having to reboot to take effect).
(pro=single line, less typos in terminal)

waldmattis
Forum Novice
Forum  Novice
Posts: 57
Joined: Sat May 28, 2016 6:17 pm

Re: Disable IPV6 in MX17

#5 Postby waldmattis » Tue Mar 13, 2018 1:49 pm

Hi,
the easiest way to disable IPv6 temporarely is to copy to your terminal:

sudo sysctl -p -f /etc/sysctl.d/70-disable-ipv6.conf (do not forget to press enter)

After restarting MX-17 it is IPv6 capable again.

You can check the success on
https://www.whatismyip.com/

Important!!!!!!!!!
If you do so for using VPN for surfing anonymously, you must disable WEBrtc in your browser too.
For firefox there is an addon.

Regards
Karl


Return to “MX Help”

Who is online

Users browsing this forum: Atlanelan and 5 guests