This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:miscadmin [2022/09/05 16:16] – oemb1905 | computing:miscadmin [2024/12/07 19:48] (current) – oemb1905 | ||
---|---|---|---|
Line 262: | Line 262: | ||
free -h -w -s 3 | free -h -w -s 3 | ||
+ | | ||
+ | postfix to relay, satellite option, enter the relay like this: to prevent lookups | ||
+ | | ||
+ | [smtp.smtpserver.com]: | ||
+ | | ||
+ | Re-attach to screen session that's attached. | ||
- | --- //[[jonathan@haacksnetworking.org|oemb1905]] | + | screen -d -r < |
+ | |||
+ | mysqldump to local from remote | ||
+ | |||
+ | ssh root@hub.haacksnetworking.org / | ||
+ | |||
+ | Turn off sleep. | ||
+ | |||
+ | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
+ | |||
+ | Amd gPU errors fix | ||
+ | |||
+ | mkdir ~/Repositories | ||
+ | cd /home/ | ||
+ | sudo cp / | ||
+ | |||
+ | Unattended Upgrades | ||
+ | |||
+ | sudo apt install unattended-upgrades | ||
+ | sudo apt install apt-config-auto-update | ||
+ | sudo unattended-upgrades --dry-run --debug | ||
+ | sudo systemctl status unattended-upgrades | ||
+ | |||
+ | Next ... ssh failed attempts | ||
+ | |||
+ | grep " | ||
+ | journalctl _SYSTEMD_UNIT=ssh.service | egrep " | ||
+ | faillock --user < | ||
+ | grep " | ||
+ | |||
+ | Display Managers (Lightdm, etc.) | ||
+ | |||
+ | sudo nano / | ||
+ | | ||
+ | allow-guest=false | ||
+ | greeter-hide-users=true | ||
+ | nano ~/ | ||
+ | | ||
+ | gtk-application-prefer-dark-theme=1 | ||
+ | sudo nano / | ||
+ | cd / | ||
+ | |||
+ | Setting ufw to allow connections to only certain subnets. | ||
+ | |||
+ | ufw allow from 10.16.16.0/ | ||
+ | ufw allow from 10.36.36.0/ | ||
+ | ufw allow from 10.16.16.0/ | ||
+ | ufw allow from 10.36.36.0/ | ||
+ | ufw allow from 10.16.16.0/ | ||
+ | ufw allow from 10.36.36.0/ | ||
+ | ufw allow from 10.16.16.0/ | ||
+ | ufw allow from 10.36.36.0/ | ||
+ | |||
+ | Establish NIC name using mac:ID | ||
+ | |||
+ | nano / | ||
+ | SUBSYSTEM==" | ||
+ | |||
+ | Establish Nemo as default, remove desktop icons, verify nemo default | ||
+ | |||
+ | xdg-mime default nemo.desktop inode/ | ||
+ | gsettings set org.gnome.desktop.background show-desktop-icons false | ||
+ | xdg-mime query default inode/ | ||
+ | |||
+ | Sury php | ||
+ | |||
+ | sudo apt install -y apt-transport-https lsb-release ca-certificates wget | ||
+ | wget -O / | ||
+ | echo "deb https:// | ||
+ | |||
+ | Static ipv6 in ifupdown | ||
+ | |||
+ | iface enp0s3 inet6 static | ||
+ | address 2001: | ||
+ | netmask 64 | ||
+ | gateway 2001: | ||
+ | autoconf 0 | ||
+ | dns-nameservers 2001: | ||
+ | |||
+ | Assigning an interface a persistent name so that bridging and static ifupdown assignments don't fail on reboot. | ||
+ | |||
+ | sudo nano / | ||
+ | SUBSYSTEM==" | ||
+ | |||
+ | Convert pdf to Word | ||
+ | |||
+ | libreoffice --infilter=" | ||
+ | |||
+ | Instruct a client to ignore the DNS server offers made by the router on Debian. | ||
+ | |||
+ | sudo nano / | ||
+ | |||
+ | In that file, find the section that begins with '' | ||
+ | |||
+ | request subnet-mask, | ||
+ | domain-name, | ||
+ | dhcp6.name-servers, | ||
+ | netbios-name-servers, | ||
+ | rfc3442-classless-static-routes, | ||
+ | |||
+ | After that's removed, find the section that begins with '' | ||
+ | |||
+ | prepend domain-name-servers 192.168.1.20; | ||
+ | prepend domain-name-servers 192.168.1.21; | ||
+ | sudo systemctl restart networking | ||
+ | |||
+ | After you restart networking, run '' | ||
+ | |||
+ | tcpdump -vv -x -X -s 1500 -i eth0 'port 853' | ||
+ | |||
+ | In order to set a policy on Chrome to stop DOT, or DNS over TLS/https, do the following: | ||
+ | |||
+ | sudo nano / | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | |||
+ | Running Debian testing/ | ||
+ | |||
+ | sudo apt-get install linux-headers-$(uname -r) | ||
+ | |||
+ | Alright .... | ||
+ | |||
+ | --- // |