Archive for April, 2022

Disable ipv6 on Ubuntu – updated for 20.04

Thursday, April 14th, 2022

So this used to work prior to 20.04
$ sudo nano /etc/sysctl.conf

add the following lines:
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1

$ sudo sysctl -p

$ sudo reboot now

https://itsfoss.com/disable-ipv6-ubuntu-linux/

Updated for version 20.04

$ sudo nano /etc/default/grub

Replace the following two lines

GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1″
GRUB_CMDLINE_LINUX=”ipv6.disable=1″

$ sudo update-grub

$ sudo reboot now

How to disable IPv6 on ubuntu 20.04

View system hardware and status information from Ubuntu 20.04 command line

Thursday, April 14th, 2022

To install inxi (a full featured system information script) just use apt-get.

# sudo apt-get install inxi

-F gives full output

# inxi -F

Which looks like this

inxi sample screenshot

Github repository at: smxi

 

Surprise it will even give some info on the Mac installed via Homebrew. It is mostly OS, CPU, and network…

How to remove snaps from ubuntu 20.04 in one fell swoop

Thursday, April 14th, 2022

So I don’t use snaps, but it seems that Ubuntu really wants me to. When I look at the performance monitor I can see that the snap store is using a nearly half a gig of memory. So it has to go…
The commands below should make it go away…


sudo apt-get purge snapd
rm -rf ~/snap
sudo rm -rf /snap
sudo rm -rf /var/snap
sudo rm -rf /var/lib/snapd