I recently got my hands on a nice new NAS box that included a few QLogic quad port 4gb fibre channel cards and I decided to mess with the idea of upgrading my SAN from Ethernet to Fiber. The problem is the only real way to do this without too much pain is to use SCST. For those who are interested in setting that up, I followed this Tutorial and I had no issues getting it going on a 3.14.5 kernel… minus the init.d startup script not working, which I have a fix for. So, if you have issues with SCST not running at startup in Debian, this post is for you!
Tag Archives: debian
Setup a Debian Saltstack minion with a single command
If you have a handful of servers you need to add to Saltstack for management purposes, and don’t want to spend 10 minutes per node setting it up the Saltstack minion, you normally do one of two things. One, create a script to automate the process for you or Two, streamline the process to a single command. Well I did the latter, and felt like sharing it so you don’t have to spend 5 minutes dealing with regular expressions and sed.
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
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.
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.
iptables and Passv FTP
Having trouble with getting FTP to work on a server with iptables? Is your server stalling out when trying to enter passv FTP mode? Well this here is the quick fix for that. Its one of those little things thats nice to keep documented.
Securing PHP when using Virtualmin
Recently for a fun project, I decided to set up an automated shared web host to test my coding abilities. I decided to go with a simple name, similar to one of my other domains. I ended up with Chris Host It. Sure its cheesy and not very professional, but this is just a test project after all. The problem was the back end I went with didn’t secure PHP as well as I wanted it to by default, so I had to fix that up. So here is a quick guide on securing PHP when using Virtualmin.
Continue reading
Charter IPv6 6rd and Debian Linux
If you are like me, you always want the latest technology. IPv6 is the next BIG step up for the internet. It is a replacement protocol for the current IPv4 addressing system that is currently close to depletion.
What does this mean? Well with IPv4 the max amount of addresses possible is 4,294,967,296. Problem is they have all been handed out to ISP’s and companies. This is where IPv6 comes in. the IPv4 format is xxx.xxx.xxx.xxx, where xxx = 0,9.
Well, with IPv6 the address format is xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx where xxxx= 0-9 and a-f. This means there are 340,282,366,920,938,463,463,374,607,431,770,000,000 possible IPv6 addresses! With ipv6, address depletion will be a thing of the past.
So to stay with the game, I decided to deploy IPv6 on my servers. The only issue with it though is that my ISP seems to only offer it through a tunnel, or a IPv6 6rd tunnel to be exact. So after spending awhile with trial and error, here is how I access charters IPv6 network.