lxd: Fix version in snap
snap refresh lxd --channel=3.18
To check:
[root@lxd-node3 ~]# netstat -i
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
ens10 1450 455 0 0 0 671 0 0 0 BMRU
eth0 1500 28 0 0 0 32 0 0 0 BMRU
lo 65536 0 0 0 0 0 0 0 0 LRU
Modify temporarily:
ifconfig eth0 mtu 1450
Permanently: edit /etc/sysconfig/network-scripts/ifcfg-eth0
file and add:
MTU=1450
Might be the reason why the system can establish HTTP connection but HTTPS
List used wifi frequencies
sudo iwlist wlp1s0 scan | grep Frequency | sort | uniq -c | sort -n
List available channels
iwlist channel
List wifi networks
nmcli d wifi
Fedora 31 has started to use cgroups v2 by default. According to Common F31 bugs it doesn’t play nice with Docker, lxd and others. To make fedora switch back to the old cgroups:
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
To check what command is assigned to the alias use type command:
$ type gl
gl is aliased to `git log --oneline`
One liner to monitor a process with the name /wshub:
top -p "$(pgrep -f /wshub)"
Print every second cpu and memory usage of the process:
watch -n 1 "ps -eo pid,pcpu,pmem,args | kazy -i xnotitle -e kazy"
Install jq package:
sudo dnf install jq
Usage example:
curl -u key:x "https://api.com/users.json" | jq
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Add the following line to dnsmasq configuration file:
log-queries