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 Final release info here
  • MX-16.1 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: 25
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: 20413
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.13.0-1-amd64, MX-17, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.13.0-1-386. MX-17, AMD C-60 APU, 4 GB

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 304
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:

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)


Return to “MX Help”

Who is online

Users browsing this forum: No registered users and 6 guests