So you changed a file and now you want the original back (the original from the last commit). You want to undo the changes. I do it like this: git checkout HEADRead More…
Buffer Sizing in Internet Routers
Here is a paper by Yashar Ganjali Gavgani about Buffer Sizing and how it works in Networks. Its really easy to read and understand and gives you a full sense of theRead More…
VirtualBox Host Only Adapter Error VERR_INTNET_FLT_IF_NOT_FOUND
Im running Windows 10 Pro Build 10586 (10.0.10586) with Virtual Box v5.0.12 r104815 If your VM uses Host Only Adapter and it fails to power on, and gives this error: Failed toRead More…
NOTE TO SELF: Samba Watch the Locks
Watching samba locks script: smbstatus -L | head -n 2 | tail -n 1 | nl -v0; smbstatus -L | tail -n -3 | grep . | nl; # loop the commandRead More…
mdadm change homehost – mdadm change name
Let say you want to change the homehost and/or the name of a raid, for whatever reason. (one reason might be that you changed your system and so you want to matchRead More…
Ignoring SSH Authenticity of Host Warning
Problem: If you get this warning/error when you run the ssh command: $ ssh infotinks@192.168.0.100 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOINGRead More…
Mounting Multi Device BTRFS with device option
Mounting a BTRFS filesystem thats made of 2 devices. For example my data volume is made of md125 and md124 I can mount them like this usually # mount /dev/m124 /mnt orRead More…
NOTE TO SELF: correct SickRage GitHub
Scroll down to the “New and Final”. Use the first link to get to the github page (where you will see the readme of the repo). Use the 2nd link, which endsRead More…
Repeat Linux Command Until Its Successful – Useful with cp and rsync
Assumption: Assuming your using bash 4. However this will work with bash 3 as im not using anything too special. So your copying alot of things over to a remote system usingRead More…
Compressing and Sending Linux Filesystem via TAR and 7Z and RSYNC
Here we backup a linux folder /data with all of its data to a remote system. 7zip has the best compression (or some of the best), so we want to use that.Read More…