You know when you spend days on an issue, just to find out the cause was as simple as a check box? Welcome to my life. For the past week I have been having an issue with my PfSense Router where I would only get about 1/2 of my advertised upload speeds. At first I thought it was some equipment going bad, or a mismatch duplex setting somewhere. In the end, it turns out that the Intel Driver my Quad Port Gigabit card has some issues, and this is what caused my Slow Upload speed in PfSense.
Category Archives: Tech
Realtek r8168 Network Driver patched for the Linux 3.10 Kernel
If you have an AMD 990FX Chipset Motherboard, and have an issue where the network interface stops working during large file transfers, you may need to update your network driver. To fix this, you just install the r8168 driver. Problem is, by default it will not compile on the 3.10 kernel. So, here is a copy of the official r8168 driver patched to compile and run on the linux 3.10 kernel!
Download: r8168-8.036.00-Patched.zip
UPSalert – My solution to Graceful Server Shutdowns on Power Loss
UPS’s are truly great devices! They save your butt when you have a short power out, or grandma accidentally has her curling iron and hair dryer on at the same time. But with a known runtime, you need a way to gracefully shutdown your systems to prevent data loss. Well, with APC PowerChute not looking very friendly, I decided to just go out and make my own little tool, and here it is! May I present to you, UPSalert – My solution to graceful server shutdowns on power loss.
How to Setup SSH Public/Private Keys
Tired of always having to enter your 200+ character password into terminal when you use SSH? Well there is an easier way to do it that requires no password and is still just as secure! Have this nice little tutorial on setting up SSH Public/Private keys so you don’t have to use a password each time you SSH into a system.
PfSense, VLAN’s, and SSH Disconnects (and how to fix it)
For the past month or so my storage box has been driving me insane. Whenever I SSH into the box, after about 30 seconds it would always disconnect me. I checked everything from routes, to firewall rules, and nothing was amiss. I spent weeks looking for the cause of these SSH Disconnects, but to no avail. That is, until recently. After some extreme googling, I was able to figure out the cause and I had to share it. Continue reading
Observium, the Do-it-All Monitoring Application
After searching the internet for a monitoring solution for my network, I can finally say I have found the best contender, and its worth sharing. Consider this a update/solution to my previous rant about monitoring software.
How does a painless, easy install sound? How about cross platform support? Would you like Graphing/Logging of network traffic and system resources? What if I said it was based on PHP/SNMP, and it is 100% free and open-source? Ladies and gents, let me introduce you to Observium!
Check Samba Mount at Boot in Linux
This is technically a continuation of my post Here, but I felt this deserved its own post. If you are like me, and have Samba mounts that HAVE to be in place and ready right after boot, you want a way to make sure the drive is mounted before the system fully starts up. Well, I made a nice little script that will check a samba mount at boot time.
Install CoovaChilli + FreeRadius on Ubuntu 12.04.2 LTS i386
CoovaChilli is an open-source captive portal system for linux that I personally use to run a free wireless access system around my area. The reason I use coovachilli instead of, oh I don’t know, nocatspash, is that with CoovaChilli I can not only limit speed per each connection, but I am also able to log IP and MAC Address’s to prevent abuse. So, lets go install coovachilli.
Proxmox and using Samba for shared storage
So I recently invested in a new storage server and set it up as a NFS server so I could set up HA to prevent downtime with my VM’s when I had maintenance to do on my Proxmox Hosts. The problem is that if I use iSCSI it sends the drive as a block device that a single VM can use and the problem with NFS for me is that it was extremely slow (need to do more research on this) but when the server was setup with samba, I was able to get 113MB/s both ways to the box from my desktop (8x 300GB SATA drives in raid 10). So why not just use samba with proxmox?
Proxmox and using NAT with a Virtual Machine
So I finally decided to make the jump to virtualization. Sure the performance is 1-3% slower then running on raw hardware, but the features gained from this way outweigh the cons. Now I can do backups on the fly, snapshots, quickly move resources around machines, and its all free thanks to Proxmox! Proxmox is a Linux Debian based distro that utilizes a custom kernel with support for OpenVZ and KVM. I’l go more into depth on Proxmox later, but for now here is my situation.