This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

How to: Use IPv4 instead of IPv6 and one other extra feature

ImpWarfare

Mon Nov 12, 2018 1:10:32 pm

Since most old hardware aren't IPV6 enabled some of the new installations of Zorin OS uses the IPV6 for some of the downloads like when downloading the ttf-mscorefonts-installer. To disable IPV6 do the following:

Open Sysctl with:

Code:
sudo gedit /etc/ssyctl.conf


Then place the following at the bottom of the file:

Code:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1


To get apt to use IPV4 instead of IPV6 do the following:

Open the following file:

Code:
sudo gedit /etc/apt/apt.conf.d/99force-ipv4


Then place the following command in that file:

Code:
Acquire::ForceIPv4 "true";


After those two files are saved reboot your system and then it should just use IPV4 rather than v6 this should prove useful for systems that aren't IPV6 enabled or can't use IPV6 lets say due to the Broadband provider etc. Also this sometimes work with downloading the ttf-mscorefonts-installer if you also struggle downloading the Microsoft fonts on your system you can do the following options in the terminal:

Code:
TMP=$(mktemp -d)
cd "$TMP"
awk '/Url/ {system("wget "$2)}' /usr/share/package-data-downloads/ttf-mscorefonts-installer
sudo /usr/lib/msttcorefonts/update-ms-fonts "$TMP"/*
sudo touch /var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer
cd ..
rm -r "$TMP"


This particular section to get the MS Fonts installed if can't download due to server refusal was found on https://bugs.launchpad.net/ubuntu/+sour ... ug/1719863

I hope this guide helps!