Notepad:Disable IPv6: Difference between revisions
From Amar
Jump to navigationJump to search
Created page with "= Disable IPv6 in Ubuntu = From [https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-20-04-lts-focal-fossa How to disable IPv6 address on Ubuntu 20.04 LTS Focal Foss..." |
|||
Line 2: | Line 2: | ||
From [https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-20-04-lts-focal-fossa How to disable IPv6 address on Ubuntu 20.04 LTS Focal Fossa] | From [https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-20-04-lts-focal-fossa How to disable IPv6 address on Ubuntu 20.04 LTS Focal Fossa] | ||
== Step 1 == | == From Grub == | ||
=== Step 1 === | |||
As an administrative user open up the <code>/etc/default/grub</code> file using your favourite text editor and make to following changes: | As an administrative user open up the <code>/etc/default/grub</code> file using your favourite text editor and make to following changes: | ||
Line 10: | Line 11: | ||
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1" | GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1" | ||
== Step 2 == | === Step 2 === | ||
Once ready update Grub menu: | Once ready update Grub menu: | ||
$ sudo update-grub | $ sudo update-grub | ||
== From <code>/etc/sysctl.conf</code> == | |||
net.ipv6.conf.all.disable_ipv6=1 | |||
net.ipv6.conf.default.disable_ipv6=1 | |||
{{Notepad}} | {{Notepad}} |
Latest revision as of 01:13, 22 January 2021
Disable IPv6 in Ubuntu
From How to disable IPv6 address on Ubuntu 20.04 LTS Focal Fossa
From Grub
Step 1
As an administrative user open up the /etc/default/grub
file using your favourite text editor and make to following changes:
FROM:
GRUB_CMDLINE_LINUX_DEFAULT=""
TO:
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
Step 2
Once ready update Grub menu:
$ sudo update-grub
From /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1
← Back to Notepad
<insert>googlesearchwiki</insert> | <insert>paypal</insert> | <insert>analytics</insert> |