Realtek SD card reader problems on Ubuntu Mint 16.04 on a Dell Inspiron 3421

Pretty specific huh? Well the thing is I have the exact same card reader, OS,  version on one Lenovo laptop. The SD card works on the Lenovo, but not on the Dell Inspiron 3421.

The error it made on the Dell was the following in /var/log/syslog

Feb 14 08:30:46 raspberry kernel: [ 216.319736] mmc0: error -22 whilst initialising SD card
Feb 14 08:30:48 raspberry kernel: [ 219.151052] mmc0: tuning execution failed: -22

Lots of googling down dead ends ensued. Here's a little more info about the device in question.

Read more

Switch from UFW and fail2ban to CSF

Having played with CSF for a while on one server, I've decided I like it more than UFW and fail2ban. It seems much better at blocking mail bruteforce attacks and SSH as a distributed attack. So anyway, here's a list of steps to achieve that, as much for my record as anything. The server is running Ubuntu 16.04, but these general steps should work anywhere. In addition the server I did it on is also running VestaCP, so there are a couple more steps for that.

Read more

Viber SQlite Database Extraction / Forensics

Well you can use this to pull messages out of a Viber Desktop database. I personally had to do it when I re-installed Viber and it deleted my entire message history, which wasn't so friendly, so I pulled this out of the database so I could refer to it in a spreadsheet. Maybe there is … Read more

Bash script to clean Bots out of Apache Logs

If you've ever spent some time looking at webserver logs, you know how much crap there is in there from crawlers, bots, indexers, and all the bottom feeders of the internet. If you're looking for a specific problem with the webserver, this stuff can quickly become a nuisance, stopping you from finding the information you … Read more