Topslakr January 31st, 2017
I use rsnapshot, on Centos 7, to manage the vast majority of my backups across a myriad of linux servers both within my network and across the globe. I’ve never blogged about the entirety of that process, but I wanted to post a quick note about how I use rsnapshot to also backup the configuration of my router.
Until recently, I had been using this process to backup my pfSense routers. With my switch to OPNsense though, I was pleased to see the process is the same.
Basically, we just need to make a copy of a single folder on the machine, ‘/conf’, which is located right off of the root on both pfSense an OpnSense.
Step one is to make sure you have a user setup on the router that can connect over SSH. For OpnSense you need to log into the web portal and navigate to System -> Settings -> Administration. Check the box to ‘Enable Secure Shell’ and ‘Permit Password login’. (We’ll disable password logins in a moment) Read more... (548 words, estimated 2:12 mins reading time)
Topslakr January 16th, 2017
As often happens with computers of all types, log files build up over time. Generally speaking, the operating system will rotate these logs, which means it breaks them up into chunks, but it isn’t usually set to remove the old chunks. Over time, those log files can start to add up.
I am giving some thought to changing the provider of the VPS that hosts this web page, since performance is not consistent and the VPS is not very reliable, and I was curious to know how much disk space I needed for the system to run well. After doing some light clean up on the system I did a check to see where on the disk I was using the most space.
Using the following command, I did a search to find out which folders contained the most data:
du -a / | sort -n -r | head -n 10 Read more... (392 words, estimated 1:34 mins reading time)
Topslakr August 22nd, 2016
I’ve been using Raspberry Pi computers for several years. A few months ago the Raspberry Pi B I had hooked up to my TV and running OpenElec, stopped working. The Pi was locked up and then wouldn’t reboot when I pulled the power cord.
It’s an original B model, with just two USB ports, so I didn’t think much of it. I prepped and put in place a replacement Pi, also running OpenElec, and threw the Pi into a drawer for further inspection..later. I got 4 years faithful service from a $35 computer so I wasn’t complaining.
Some weeks later, I had an idea that I wanted to use a Raspberry Pi for so I grabbed the questionable unit and got to work.
My standard way to prep a Pi is to use raspbian-ua-netinst (https://github.com/debian-pi/raspbian-ua-netinst/). It doesn’t require a huge download, and it doesn’t automatically install a GUI and a bunch of software I don’t want. Read more... (650 words, estimated 2:36 mins reading time)
Topslakr April 25th, 2016
Maybe I’m alone here, but I still have occasion to install Windows 7 from time to time. For a while, that was no big deal; Install the OS, update, update, update and you’re good to go. Lately though, the process has become far more cumbersome. Not only does the process take ages to complete, but when you’re done its always nagging you to update to Windows 10. What follows is my process for getting this done without too much hassle.
Firstly, I’ve not created anything new here. I’ve simply found a series of tools and bit of information online that helped me along the way so I’m compiling it here for my future benefit.
Step 1 – Get the OS installed. After that, if your copy of Windows 7 doesn’t including Service Pack 1, go here and download it: https://www.microsoft.com/en-us/download/details.aspx?id=5842. Install. Reboot. Service packs include a large number of updates so it’s much faster to get the service pack installed first thing after the install than it is to use Windows Update to find it and download it. Read more... (990 words, estimated 3:58 mins reading time)
Topslakr March 12th, 2015
I have a Thecus N5200 that was modified to have a VGA port. Though the machine will run a variety of current Linux distributions, I wanted it to run Centos 6. Unfortunately, the N5200 doesn’t support PAE, which Centos 6 requires.
The first major problem is that a Non-PAE machine won’t even boot the Centos installer CD/DVD. You have to find some way around that. There are several ways to get around that but they are all quite complex and time-consuming. Plus, as time goes on they work less and less. The old software needed is harder and harder to find. I instead chose to simply install Stella. It’s a Desktop focused Linux distribution that is based on Centos 6 and the 32bit version includes a Non-PAE kernel. If you’re looking to install a Centos 6 desktop, install Stella and you’re all set. It’s great. The developer did a great job keeping things compatible with Centos 6 while also adding in things like video codecs and the like. Read more... (1099 words, estimated 4:24 mins reading time)
Topslakr March 12th, 2015
Back in 2007, I bought a Thecus N5200 to use as bulk storage on my network. I’ve spent many years using and fighting with the unit but it wasn’t until my storage needs out grew the 5 SATA disks it could hold that I considering sending it off to be recycled.
It’s a pretty basic unit. From Thecus it arrived with 5 hot swap SATA disk trays and a simple web-based management interface. The interface wasn’t great at telling you exactly what the state of your disks were so I lost my data with this unit more than once. Over time though Thecus added a method to install add ons and little by little people started to write add ons for the unit and actually increased its feature set. You could get an add-on to allow you to access the unit over SSH and to set up rsync file copies to a second location. Overtime, it became very useful and it’s remained in almost constant use. Read more... (939 words, estimated 3:45 mins reading time)
Topslakr December 17th, 2014
Having read countless accounts online from people who have taken various lapdocks and paired them with a Raspberry Pi, I thought I would give it a try myself.
I went to Ebay and purchased a Motorola Lapdock 100. It’s a small unit with a cable that comes out that back. This cable has a header with a Micro-USB and Micro-HDMI connector on it. General wisdom seems to be buying series of adapters and cables and then sort of whittling them down until they fit. I dutifully bought the necessary bits but when the Lapdock arrived it seemed much easier to just take apart that cable header instead.
What I discovered is that inside that header is simply the two cables held in place with some soft plastic. Having removed the plastic and cutting back the cable, I have two loose cables that I can use freely.
With the addition of two adapters to bring the two micro connectors up to full size, which the Raspberry Pi needs, I was off and running. Read more... (979 words, 3 images, estimated 3:55 mins reading time)
Topslakr July 24th, 2014
I’m a bit of an aviation buff and have been known to spend a fair few hours playing flight sims. My favorite sim these days is X-Plane, and thankfully it runs on Windows, Mac and Linux. My current host for X-Plane is Fedora 20 and since there is a bit of extra effort to make it run properly, I thought I’d outline my process here.
First and foremost – This post assumes you have installed the appropriate graphics drivers and are not running whatever drivers were just included ‘in the box’, as it were. My system has an NVidia GeForce GT 640 and I use the akmod-nvidia drvivers from RPM Fusion, which works great. A quick Google search should turn up an appropriate process for your computer. Read more... (736 words, estimated 2:57 mins reading time)
Topslakr December 4th, 2013
It seems like every year or so I rethink my photography equipment and make some changes. I’ve gone through many variations of my day-to-day photography kit but I seem to keep reducing the amount of automation present in the system.
My plan for this coming year is to spend as much time with a manual focus, mechanical camera system as I can. I am keeping my Nikon F80s, Nikon F5 and Nikon D7000 but I’ve sold off my spare Nikon N80s, and Nikon FE bodies. When the situation requires digital or highly automated film shooting I will have those bodies available, but my day-to-day system will be based on the Nikon FM.
The Nikon FM is a fully mechanical camera that Nikon built and sold between 1977 and 1982. The camera does take a battery but it powers only the metering system and does not affect the shutter operation. If you have no batteries, the camera still works normally, you’ll just need to meter your scene in some other way. In use, the camera looks very similar to and functions similarly to the Nikon FE but the FE uses the batteries both for metering and for shutter operation; When your batteries start to get low, the camera stops working properly. Read more... (656 words, estimated 2:37 mins reading time)
Topslakr August 22nd, 2013
I was recently given an HP DL360 G4 server with two 36GB SCSI disks. At first blush the system is of little use in todays tech landscape due to it’s low storage capacity and limited processor feature set. My unit has two Intel Xeon processors at 3.0Ghz without Intel’s VT technology and 4GB of RAM. It would make a good single use server for many functions and would grow in usefulness as it’s storage capacity increased. SCSI hardware has fallen out of general use in recent years and has been superseded by SAS, or Serial Attached SCSI, in much the same way that for desktop machines SATA has replaced PATA. We’ve gotten to a point where moving one stream of data really fast is more efficient than moving several streams together but at lower speed. Read more... (1141 words, estimated 4:34 mins reading time)