grunge
news

A word about Ubiquiti EdgeRouters

July 4th, 2016

EdgeMAX-logoWell, it is 2016 and my Linksys E2000 router that I’ve been using since 2010 and running DD-WRT on was still in use.  It was still a fine router for what I was using it for, but it is starting to show its age.  For one, it didn’t support dual band Wifi (2.4ghz and 5ghz).  A month or so ago I decided to replace the Wifi functionality part of it with a Ubiquiti Unifi AC-AP-Pro to get better coverage and better wireless speeds, both of which were accomplished.  I’ve been pretty impressed with it and Ubiquiti’s controller software that I was becoming interested in some of their other products.  As a coincidence, my local Fiber-to-the-Home ISP announced that they will be rolling out Gigabit fiber access.  Previously, you could only get up to 250mbit.  I was on the 50mbit package, but for the Gig rollout, they’re running a promotion where you can lock in to the Gigabit speeds for as long as you have service with them for only $10/more a month than I was paying for the 50mbit fiber.  So, 20x the bandwidth for $10 more a month is a no-brainer for me.  This meant I had to upgrade my router though.  My Linksys E2000 running DD-WRT was only capable of about 60mbit throughput on the WAN interface due to its aging CPU.  I was already pushing it close with my 50mbit net, but Gigabit would be far too much for it to handle.  So I did some research and ended up selecting the Ubiquiti EdgeRouter Lite.  These are powerful little machines that run Ubiquiti’s EdgeMax OS which is a customized fork of the linux Vyatta routing software suite.  It seemed to have the best bang for the buck features, it was from Ubiqiuiti which I was already interested in and have one of their products, and most importantly it can push FULL gigabit line speed through the WAN!

Continue reading: A word about Ubiquiti EdgeRouters »

Let’s Encrypt!

May 4th, 2016

letsencrypt-logo-horizontalThanks to the Let’s Encrypt project you can now browse my website in glorious https using the free Let’s Encrypt certificate.  It was fairly simply to get the certificate issued and set up the automatic renewal job on the web server.  Let’s Encrypt is providing an interesting service to the masses by making basic https (TLS) encryption free and easily accessible.  In years past SSL certificates would cost hundreds of dollars.  That has changed in recent years with basic certificates coming down to just $5.  But, for sites like this one that I run for fun and don’t make money off of, even $5 seemed like an unnecessary cost and hassle.  Well, Let’s Encrypt virtually eliminates both of those two final barriers.  By providing free certificates issued through their script, there is practically no reason to NOT be running https on your site now.  Thanks Let’s Encrypt 🙂

Why isn’t everyone doing 2-factor Auth?

October 18th, 2015

17v9nnjz8cwlijpgSeriously, it is 2015 now.  Every big service provider should be supporting some form of 2-factor authentication.  Google is a prime example of the right way to implement this, and everyone should be following their lead.  This weekend I had an email account I hadn’t used in over a year get its password cracked.  The bot then pulled my extremely outdated online address book and sent spam links out to them all.  Fantastic!  So, I changed the password and deleted all of the contacts out of the address book.  Had this provider (cough… AOL …cough) had a 2FA implementation this would have NEVER been able to happen.  Their service wouldn’t have been used to send out spam, and I wouldn’t look like a doofus with an apparently weak password on that old account.

I’ll also add, if you have a service like Google and you’re NOT using 2FA, you need to go set that shit up right now.  It makes your account nearly IMPOSSIBLE to get in to unless the hacker also has your physical device (usually your phone with an app, I recommend Authenticator Plus) to access your account.  Knowing your login name and password alone would never get them in.

Wondering if a service you use supports 2FA or now?  Well, check out this nifty website: https://twofactorauth.org/

Android Marshmallow Deliciousness

October 17th, 2015

image00Google has FINALLY fixed all of the issues with Lollipop.  Too bad it did take a whole system update to a new version of Android to get there, but alas, WE ARE THERE!  The awful memory management issues I originally complained about are completely resolved at last.  In addition, the new Doze feature which puts the phone in to a super deep sleep when idle for a while has made a tremendous impact on standby battery life.  I’ve picked up my phone 6 hours after setting it down and seen maybe 1-2% battery loss.  This is a stark improvement as any previous version of android would’ve easily given a 5-10% loss in the same time period.  The added little tweaks like FINALLY being able to show battery percentage in the pull down shade is nice, and the new permissions system will eventually be nice too.  I say eventually because no app can really use it until the devs release an update for their app targeting the new Marshmallow API level.  But it’s finally here, and as more and more apps incorporate it, things will just be better and better.  Now if Google could just pull its head out of its ass and put Qi charging back in the 2016 Nexus phone(s)…

Android Lollipop Bullshit

January 26th, 2015

Android 5.0 Lollipop came out back in mid November 2014.  So, it has been out a couple months as of the writing of this.  There are a lot of really annoying bugs in Lollipop like caller ID pictures just refusing to show up, silent mode completely broken, horrible navigation icons, and lock screen no longer locking the phone.

But the worst thing about Lollipop is the CONSTANT memory leakage.  I have a Nexus 5 and this shit is out of control and Google hasn’t done shit all to fix it yet.  Pre-Lolliflop, my Android devices could quite easily obtain MONTHS of uptime, and reboots were usually just to due something like updating the recovery image or something.  In Lolliflop, something is leaking memory at the system level so severely that the phone can’t even make it 2 weeks with out getting so low on useable ram that even the damn keyboard will open, so you have to restart your phone if you even want to just be able to text people again.

Check this out:

Continue reading: Android Lollipop Bullshit »

Fix SickBeard “Pushbullet Notification Failed” Error

July 27th, 2014

pushbeardGetting the “Pushbullet Notification Failed” error from your SickBeard notifications?  Well, the fix is simple, and here is what you have to do:

1) Find pushbullet.py in your SickBeard install directory.  For me, this file was located in:

/volume1/@appstore/sickbeard-custom/var/SickBeard/sickbeard/notifiers

2) Open that file in your editor of choice, for me that is vi, and make the following change:

Find:

if method == ‘POST’:
uri = ‘/api/pushes’
else:
uri = ‘/api/devices’

And change to:

if method == ‘POST’:
uri = ‘/v2/pushes’
else:
uri = ‘/api/devices’

Note that the devices uri doesn’t change, you just need to update the pushes uri.  I could dig in to the in’s and out’s of the Pushbullet API if I really felt like figuring out why this changed, but I don’t really care that much.  I just wanted to get my notifications working again.

3) Write and Quit the changes and then restart SickBeard.  This will recompile your changes in the python code and then hop in to your notifications and send a test message to make sure that worked.

That fixed it for me! Happy Pushbulleting 🙂

UPDATE 9/14/2014: Well, Something broke again.  I couldn’t figure out what (I think it has to do with the JSON body but I didn’t feel like rewriting something that’s been fixed elsewhere), so I snagged the latest pushbullet.py from the troubled SickRage project and used that instead.  Note, I had to switch the devices uri back to the /api/devices value because the /v2/devices value doesn’t work for me for some reason.  Hopefully this doesn’t break again :-\

Fatherhood

May 26th, 2014

Time flies when you’re a new Dad. Making time for old hobbies takes a quick back seat when you have a kid. To people without children, it may be seen as “your life is over” or you don’t want to hang out with them any more or some other similar nonsense. Why nonsense? Because that’s what it is. Life is far from over, and in a sense it is just beginning. Your hobbies might get put on hold for a bit, but it’s not really that big a deal because when you have a child, your child comes first because that’s what you want. It’s hard to explain, but you just know that you would do anything for your little one, and if that means putting hobbies or other things on hold for a while, so be it. If that means spending money on things you don’t want or spend time doing things you’d rather not, that’s fine as long as it’s for your child.  And you’re OK with that. Amelia is 21 months old… And it is wild how the past 2 years have flown, and how much she has changed, as well as I have changed. What I have found though is that the little one will be far more satisfying than any hobby out there. The first time they call you Dada (or Mama) is just amazing.

It’s scary when you’re getting ready to have your first child. “I don’t know what I’m doing!” and “What do I do when this happens??” type of thoughts easily fill your mind. All I can say is that it all comes one day at a time, and there will always be people willing to help you. It may seem overwhelming to think about it, but in reality, it’s not because it all is just one day at a time. You’re not having a 6 year old to take care of. You’re having a baby. Your home doesn’t even need baby-proofed yet (but it will soon). If you need a night out, someone in your family is surely ready to spend some alone time with the squirt. If you have a question, ask your parents, your friends with kids, or even just ring up your doctor.

It’s not all easy, as there are plenty of frustrating or scary times, but getting through those is part of the challenge of parenthood and what makes it far more rewarding than any other hobby. When I was younger I never really saw myself with kids as I just didn’t think much about it. But now that I have daughter, she is easily one of the best things to ever happen to me and I can’t imagine life without her.

I have friends in just about all stages of parenthood it seems. Some have kids, some getting ready to have kids, some who will have kids in the future, and some with no plans to have kids at all. You’re all my friends and I wish I had time to hang out with all of you every weekend, but the little ones soak up the free time. Would I rather be out riding, grabbing a beer, or playing with my daughter? I’ll pick daughter any day. At least until she hits those teen years where she hates me. Not looking forward to those, but one day at a time. Right?

image

Fix Synology Sickbeard Shortcut When Using https

February 12th, 2014

sickbeardI have been working on getting SickBeard setup on my Synology DS1512+ NAS, and I’ve got pretty much everything worked out.  One of the final things I wanted to get working properly was https support with my self signed certificate I setup for my Synology.  I know, not really very important since I’ll only ever access it over my lan or via a VPN, but still… I went through the trouble of getting the self signed certificate working on my Synology, I wanted it to work here too.  It was a little tricky in a couple of regards.

First, I had to get it to use my certificate and key. I tried linking straight to the existing ones the Synology uses in /usr/syno/etc/ssl sub-directories but SickBeard just refused. I figured it was a permission issue since those certs were owned by root only. I decided the easiest way was to just copy over the 2 files I needed in to SickBeard’s directory and switch their owner:

Andromeda> cd /usr/syno/etc/ssl
Andromeda> cp ssl.crt/server.crt /usr/local/sickbeard-custom/var/server.crt
Andromeda> cp ssl.key/server.key /usr/local/sickbeard-custom/var/server.key
Andromeda> cd /usr/local/sickbeard-custom/var
Andromeda> chown sickbeard-custom server.crt
Andromeda> chown sickbeard-custom server.key

Then alas I was able to put in server.crt and server.key in SickBeard, restart it and it used my certs!  Woot!

I was pretty happy with myself until I clicked the SickBeard shortcut in the Synology menu and was greeted with my second issue:

The client sent a plain HTTP request, but this server only speaks HTTPS on this port.

Oh you son of a…

I’m way too anal about my things all working properly to live with that atrocity, so after a minute of poking around I quickly found the config for it the following file: /usr/local/sickbeard-custom/app/config

Pop that file open in vi and change the protocol line from http to https.  Save and quit, then simply reload your Synology web interface, and bam! Your shortcut will work once again, launching Sickbeard via https! Yay!

sbshortcut

grunge

πWhat do you think you're doing?