IPTables and order of rules

Added an iptables rule but getting “connection reset by peer” or you still cannot connect, then read on. Run this command: sudo iptables -L –line-numbers Always backup your existing rules first: sudo iptables-save > savedrules.txt This is how you can restore your rules if you messed something up: sudo iptables-restore Read more…

SSD performance tip 1

Here is an excellent resource. A bit long but really great! https://sites.google.com/site/easylinuxtipsproject/bugs#TOC-Hibernate-and-suspend-don-t-always-work-well:-they-make-some-computers-malfunction-or-even-enter-a-coma I recently bought myself an SSD hard drive for my old notebook. Well worth it! You need to make a few tweaks though to get ultimate performance and lifetime out of it. This is one of many performance Read more…

Plex not seeing NTFS external hard drive

type sudo blkid. You will get output like this: /dev/sda1: UUID=”9081b56d-8715-49f3-a35d-529a39d5780e” TYPE=”ext4″ PARTUUID=”c8168d71-01″ /dev/sda5: UUID=”fbd90bd5-6b1a-4088-8569-0afbf0faebab” TYPE=”swap” PARTUUID=”c8168d71-05″ /dev/sdb1: UUID=”79a6887b-0168-464e-9507-84cc1233fcb6″ TYPE=”ext4″ PARTUUID=”c3072dd0-01″ /dev/sdc1: UUID=”4E65750852A3B04A” TYPE=”ntfs” PARTUUID=”000dfe15-01″ Way at the end is the NTFS drive. Now create an /etc/fstab entry like this: UUID=4E65750852A3B04A /media/theexternal ntfs-3g permissions,nofail,auto 0 0 nofail means your pc Read more…

PS3MediaServer on Ubuntu

Plex is cool, but if your internet goes down, then your clients can’t always connect. So, back the the basics for me with ps3MediaServer as a backup: sudo apt-get install mencoder tsmuxer avisynth ffmpeg mplayer sudo apt-get install default-jre Download generic-linux-unix from: https://sourceforge.net/projects/ps3mediaserver/files/ Change PMS.sh and tsmuxer to be executable Read more…

Get public IP and email it to yourself using Ubuntu

1.) Get your current public IP and write it to a file: dig +short myip.opendns.com @resolver1.opendns.com >> myip.txt (got this off the internet, thanks to the guy that posted this!) 2.) Read the file contents and email it: Basically, follow this tutorial: https://easyengine.io/tutorials/linux/ubuntu-postfix-gmail-smtp/ If you get an error like this Read more…

Some apache2 configs for owncloud

OMS, the apache guys just can’t stick to a standard. But anyhow, here are some configs to do: Issue 1 (Where is my config.php) Most likely it is in /var/www/owncloud/config/config.php Issue 2 (when starting Apache) AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set Read more…

Correct Kali repos and VirtualBox bidirectional clipboard

nano /etc/apt/sources.list deb http://http.kali.org/kali kali-rolling main contrib non-free # For source package access, uncomment the following line deb-src http://http.kali.org/kali kali-rolling main contrib non-free Then do: sudo apt-get update && sudo apt-get upgrade -y sudo apt-get install -y virtualbox-guest-x11 Then do: Original post: https://unix.stackexchange.com/questions/310548/bidirectional-drag-and-drop-shared-clipboard-is-not-working-with-virtualbox-kali In virtualbox make sure your clipboard is Read more…

Kali on Hyper V

I recently had to get Kali up and running on Hyper V. Here are some tips and tricks: After installation, use these sources (they might change after some time so always check the Kali website for the latest): nano /etc/apt/sources.list (and add the below) deb http://http.kali.org/kali kali-rolling main non-free contrib Read more…

Github RPC failed; curl 56 GnuTLS recv error A TLS fatal alert has been received

I am running Ubuntu 18.04 in HyperV and couldn’t push to Github. Pull was fine. This was LEGIT the fix. A driver issue…. https://stackoverflow.com/questions/56946336/ubuntu-wsl2-git-getting-the-remote-end-hung-up-unexpectedly-on-large-repos/56946337#56946337 Go here to get the latest Intel WiFi driver: https://downloadcenter.intel.com/download/28876/Windows-10-Wi-Fi-Drivers-for-Intel-Wireless-Adapters?v=t