Malware? Don’t jump to conclusions!

Tonight I had a bit of a scare thanks to jumping to conclusions from the first Google result.  I thought it might be a good idea to drop a reminder here to take a step back and remember that .bash_history is a thing.

While I was inspecting /etc/passwd on a new Ubuntu server to confirm a home directory, I noticed a new line at the bottom I had never seen.

uml-net:x:111:120::/nonexistent:/usr/sbin/nologin

What the heck is that?  Searching Google brought me to this:
https://askubuntu.com/questions/896040/why-do-syslog-and-uml-net-have-home-in-etc-passwd/896049 specifically https://askubuntu.com/a/1151118

Crap.  This was a relatively new install, did it already get owned?  I didn’t see any suspicious processes running or notice any slowdowns.  Do I need to re-image this machine?  How did it happen?  WHAT happened?

Running apt search uml confirmed it was actually installed.

Wait, did I install it myself?

A search in .bash_history revealed that yes, I installed it as a prerequisite while following the guide at https://github.com/kholia/OSX-KVM a few nights back.  False alarm.

Finding The Perfect Bluetooth Headset

While I work I like to have one earbud in for listening to background music or podcasts, and for a few years I’ve been buying various Plantronics bluetooth headsets such as the M50 and M70.  They provided a cheap solution for long battery life (7+ hours) of audio in one ear.  After I accidentally put my M70 through the wash one too many times (yes it survived more than once) I decided to start looking at stereo solutions.

I first tried a $30 no name brand and even though I wasn’t expecting them to sound amazing, they were completely un-listenable and uncomfortable, so I started browsing.

After reading a bit I was becoming interested in an active noise canceling headset, so to start out I picked up the JLAB Audio Epic Executive from the shelf at the local Best Buy.

When I opened the box I wasn’t really getting a high-quality vibe.  The wire had big kinks where it was tightly bent in the box, which made putting the flimsy neck band challenging, They sounded great, claimed 11 hours of battery life with active noise cancellation off, 7 on.  I though this should easily get me through a work day, but before the work day– less than 12 hours after purchasing–  the left channel started crackling and cutting out.  So back to Best Buy I went.

This time I decided to spend a bit more money and picked up the Jabra Elite 65e.  Jabra has been around a long time so I thought build quality had to be well above the JLAB.  Besides active noise cancelation, they also feature passthrough mode, an app to customize settings and EQ, a solid neck portion, and 13 hour battery life.

Since I was paying twice as much this time I made a decision I rarely make, to purchase the protection plan. Any other time that I’ve made this decision, the product has far outlasted the plan, thankfully this didn’t go to waste this time.

Opening the Jabra confirmed my suspicion of higher build quality.  The packaging was premium and matched the contents.  Once I picked the right combination of tip and wing they fit comfortably and had excellent sound quality.

The buds on the Elite 65e are magnetized and would stick together when not in use, which would also pause the audio.  This was good, because the pause button wasn’t easy to find.  The right side of the neck section had 3 buttons that were the same size, but the textures weren’t different enough for my callused fingers to identify without counting.

The noise cancellation was by no means perfect, but when in a loud server room or next to an air conditioner, they worked great.  It was easy to activate with a dedicated button on the neck section, and holding the same button turned on the pass-through mode, which I found myself using more than the noise cancellation.

I thought I finally found the one, and it was bliss.  For about 2 months I carried them everywhere I went.  The charge always lasted the day.  I kept them paired with my phone all day and was able to connect my laptop and watch videos for the rest of the evening.

Now for the bad, I noticed one day that one channel started making loud static when I turned on pass-through mode.  Moving the wire would exacerbate the problem.  It seems that one of the wires leading to the mics used for noise cancellation and pass through had broken.  I was past the normal return period, but thankfully I purchased the protection plan, so back to Best Buy I went again.

I debated with myself if I should choose another this time, but when they worked I loved them so much, so I opted to pick up another Elite 65e.  I was pretty shocked when I was asked if I wanted another purchase plan.  I assumed that the year I purchased would cover the product for a year, but I was wrong.  As much as I wanted to say no, I said yes, spent another 40 bucks and walked out the door again.

The new set worked great for a little over a month, and the same issue occurred.  I was saddened, but I just lived with it for a while.  Since I had a year to go back, I figured I would wait until something better came out.

After another month, I decided to go back to Best Buy and get store credit and pick out another product.  I was amazed that I was actually refunded the purchase price of the protection plan well after the normal return period.  I’m not sure if this was a mistake or a kind employee, but I didn’t question it.

I decided to go a different route this time.  I picked up the Apple AirPods, for some reason.  They don’t do active noise cancellation, they don’t even seal off the ear or offer changeable tips, just one size hope it fits all.  I don’t use an iPhone or a Mac, and I don’t like the design.

But they are comfortable, and very well engineered.  They seem to be the only fully wireless earbuds to seamlessly let you choose the left or right bud and have everything work normally.  Since a lot of the time at work I only want one in, I could easily listen to one while the other charges.

I wore them to work for one day, and almost he entire day I felt self-conscious wearing them.  I’m not necessarily anti-apple, but I’m very much not an Apple person.  When I got home I had a gift for my iPhone, Mac, and Apple Watch loving girlfriend.

So, again, I was back at the drawing board.  Now that I had a taste with the AirPods, I’m pretty hooked on the idea of the truly wireless buds.

I started looking around.  I found the somewhat recently released Rowkin Charge+ which looked very interesting to me.  The charge case has Qi charging and USB-C, and it even doubles as a battery pack I can charge my phone with.  I went and picked them up with very little research.

So far they’re working and sounding great for me.  When they’re pulled out together they pair up quickly.  Each can be used individually once you pair them.  Overall I’m happy with the purchase.  If anything changes I’ll be back to update the post.

Linux Software RAID Quick Reference

Create A RAID-1 Array
mdadm --create /dev/md0 --level=1 /dev/sda /dev/sdb

Scan For Disks
mdadm --detail --scan

Add Disks To mdadm.conf
mdadm --detail --scan >> /etc/mdadm/mdadm.conf

Check Status
cat /proc/mdstat

Mark Disk as Failed
mdadm --manage /dev/md0 --remove /dev/sda

Remove Failed Drive
mdadm --manage /dev/md0 --fail /dev/sda

Add Disk To Array
mdadm --manage /dev/md0 --add /dev/sda

T100 slow charging issues, solved.

My 1-month old tablet, the Asus Transformer T100 tablet started draining slowly while it was plugged in.

Today I drained the battery down to around 30%, plugged it in, and continued with web-browsing and streaming music.  An hour later I noticed that the battery percentage wasn’t climbing, and it had actually discharged another 5%.  Windows claimed it was “plugged in, charging” and the LED on the power button was lit up like normal, but the battery percentage was still slowing going down.  Once the battery was below 20% I decided to shut it down and let it charge with the system off.

I waited about an hour to power it back up, when I found it only charged 2%.  I also felt the AC adapter, and it didn’t feel warm at all.  I tried another cable, using a different 5V 2A charger that I knew to be good, but nothing changed.  I wiggled both cables around to see if there were any bad connections, but the light never turned off, so I assumed both were fine.

I searched Google a bit and found a few forum posts where people reported similar issues.  A few said that this was fixed in firmware version 220, but I was already running 220.  223 is available on their site, so I flashed it, but it didn’t fix my charging issue.

I was thinking about cutting up a USB cable so I could meter the power used while charging, but I found some software that promised to tell me the battery’s charge rate, BatteryBar.  Lifehacker checked it out in 2009, along with a few other reputable sites, so It’s nothing new.  It looks just like the battery meter that comes on some on Lenovo laptops.

I decided to give it a try.  The software runs perfectly on Windows 8.1.  I found that both cables I tried earlier were only charging at ~2500mW, which was right around or below the discharge rate.  I then tried a new 5′ long cable that I picked up from Monoprice.  With this cable BatteryBar claims the charge rate is 4500-5000mW on both of the AC adapters I tried, and now it’s actually charging!

5000mW at 5v is only 1A, but I don’t know how the accurate the charge rate is.  Also the PC might be drawing more power since it’s on AC, thus possibly using the full 2 Amps available.  I’ll check the total current draw through a meter another day.

Before I throw away the two ‘bad’ cables, I want to find out what is wrong with them.  When I plug the stock Asus cable in to my phone and to my PC, the device is recognized by Windows, I’m able to copy files over, but it doesn’t even try to charge.  The second cable I tried is apparently a charge-only cable.  It will charge my phone, but my PC doesn’t recognize a device has been plugged in.

TL;DR: T100 charged slow because of bad USB cables.