This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
array=( a b c d e f g h i j k l m n o p q r s t u v w x y z ) | |
for a in "${array[@]}" | |
do | |
for b in "${array[@]}" | |
do | |
for c in "${array[@]}" | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update && apt-get upgrade | |
apt-get install wireguard | |
vim /etc/sysctl.conf | |
uncoment net.ipv4.ip_forward=1 | |
sudo sysctl -p to verify | |
apt-get install wireguard | |
cd /etc/wireguard | |
umask 077; wg genkey | tee privatekey | wg pubkey > publickey | |
vim /etc/wireguard/wg0.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check if printer is accessable | |
sudo lpinfo -v | |
# install and start printer server | |
sudo pacman -S cups | |
sudo systemctl enable --now cups.service | |
# install and check printer driver loaded | |
sudo pacman -S splix | |
lpinfo -m | grep Samsung |