Linux

Mint Vlan

How to configure a Vlan on Linux Mint ? Wiki Install vlan sudo apt-get install vlan Configuration root@mint:~# sudo modprobe 8021q root@mint:~# ifconfig ens19: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.10.18.83 netmask 255.255.255.0 broadcast 10.10.18.255 inet6 2001:db8:1:2:9506:5fcd:1c61:1279 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:a9:c50b:1348:1ec6 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:e064:b0ec:a08f:7fd8 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:a015:7ec:eef0:1a75 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:a028:b890:ffe8:5231 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:c80:addb:1273:95d5 prefixlen 64 scopeid 0x0<global> inet6 fe80::9cc2:b22d:cc15:2946 prefixlen 64 scopeid 0x20<link> ether 4e:e5:10:00:06:83 txqueuelen 1000 (Ethernet) RX packets 181 bytes 58337 (58.

Keepalive

Little Keep Alive … mit freundlicher genehmigung von Kumpel Marc :) #!/usr/bin/env bash FILE="$HOME/scripts/excuses" # Linux or BSD ? nf points to the right binary which numfmt > /dev/null 2>&1 && nf=$(which numfmt) || nf=$(which gnumfmt); # Linux or BSD ? gs points to the right binary which shuf > /dev/null 2>&1 && gs=$(which shuf) || gs=$(which gshuf); if [ ! -e "$FILE" ]; then echo "" echo "$FILE does not exist" echo "##############################################" command -v curl >/dev/null 2>&1 || { echo >&2 "Holy cow!