Ramen Junkie

Why Can’t I Hold All These Devices?

There are 5 people in my household.  At this point, each of these people has at least a laptop and a tablet and the majority of them have a handheld smartphone style device (only one is actually a phone with data).  There are several game consoles and media devices, a couple of additional desktops, some security cameras, my Pi projects, etc etc.  A quick rundown gives me 33 Devices, though there are more that are not frequently active.

At some point, it became necessary for me to take control and actively manage my home network.  I was getting issues with double assigned IPs from DHCP, I have files on shared drives which need to have static IPs, I needed to implement security and filtering on the network for the kids to keep them from doing things they shouldn’t be doing online as well as tracking usage.

It also helps with security because I know what devices are online and if there are “outside” devices on the network.

So, a quick basic rundown of networking.  Every device, from PCs to Xboxes to iPods, get a unique IP address, most commonly on home networks this will be 192.168.1.XXX.  This is ahow data is pushed around, data has a header that says “I need to go to 192.168.1.XXX, where is that?” and routers and switches push this data around appropriately until some device says “Here I am, send it to me”.  This is really really generalized but it’s the basic idea.

These IPs can often be set up to be static (always the same) on the device, it can be assigned randomly from a pool by the Router (DHCP) or it can be assigned to be static by the Router based on the Device MAC Address.

Every device also has a MAC address.  MAC Addresses are unique to the device interface.  Think of it as a fingerprint.  I say “Device Interface” because if a machine has multiple network interfaces, say, WiFi and a Network cable jack, these will have different MAC addresses despite being one device.  In most routers, you can set up a table of MAC Addresses and tell the router “If you see this MAC, assign it the IP X”.

This is really useful for things like Laptops, Phones and Tablets.  For a machine like a desktop PC or a server that never leaves the network, it may be better to assign the IPs on the device, that is, the Device connects and says “i want to be assigned IP YYY”.  If you have a Wireless device assigned with a static IP, it can cause trouble when that device travels out of network, the static IP may not be available at say, your friend’s house or a coffee shop.  The remote location may use a different IP scheme, they may have their Router assigned to a different IP, there may be another device already using that particular IP.

So why assign IPs?

File servers really need static IPs.  If other devices are connecting to another machine to get say, photos, that other machine, the server, needs to always be in the same place.  Imagine how hard it would be to go to your friend’s home if their home was always in a different location and every building looked identical.

This also avoids IP conflicts.  This is less common since the Router is supposed to not double assign IPs but occasionally if a device disconnects and reconnects while another device is reconnecting, the IP may accidentally become double assigned, which means those data packets go nowhere.  This would be like trying to go to your friend’s address but there are two homes with the same address across the street from each other.

Assigned IPs is also great for security.  Limiting the IP range of DHCP, or limiting the number of devices that can connect keeps the network from getting over loaded by random people, though with a WiFi password this wouldn’t happen anyway.  You could also limit the capabilities of IPs connected through DHCP.  With scanning software you can also know at any time what is connected to your network.  It can also help diagnose issues.  If your unable to get your Wii to watch netflix, you can run a scan and if everything shows up but the Wii, you know the issue is probably on the Wii itself.

It’s also been good for my own experience in better learning methods for managing small networks and configuring the router.  I started off with a list of devices in a spread sheet.  I then gathered all the MAC addresses through a combination of scanning the network or checking the device itself.  Most devices will show you the MAC address in the settings somewhere and if all else fails it’s often printed on a sticker on the back side.

i then sorted out blocks of IPs based on device and sorted everything into these blocks.  This helps organize things.  The only thing that changes is the 4th octet of the IP, so everything is 192.168.1.XXX.  From here I use the following schema:

  • 01-09 = System Devices, the Router, the Wifi Access point, my NAS.
  • 10-20 = Game Consoles and media Devices
  • 21-29 = Desktops, of which there are 4.
  • 30-39 = Handheld Devices belonging to the Kids
  • 40-49 = Laptops
  • 50-59 = My Devices
  • 60-69 = Reserved for IP cameras
  • 70-79 = Reserved for Raspberry Pis and other Internet of Things style devices.
  • 100+ is used for DHCP assignments

This can be modified based on personal needs of course.  The idea is essentially that if nothing shows up under the 100+ IP range, I can know at a glance that nothing unknown is attached to the network.

Ubuntu Again

I’ve been chugging away on the same laptop for many years. now.  That old <a href=”http://joshmiller.net/2010/02/19/the-hp-mini-311-review-part-1-the-why/”>HP Mini</a> I’ve been using for years?  I’m still using that, with all it’s netbook and ATOM procesor glory.  The screen is a little flakey at the wrong angles but it gets the job done.  I’ve been sharing it with my wife for a while now, but recently (over the holidays) we bought her her own laptop.  Now that she’s blogging, it’s inconvenient for both of us to share a laptop since inevitably, both of us want to use it at any given time.

It’s also becoming increasingly more unstable, moreso when she is using it.  Part of the issue is that it has been running Windows XP since forever.  I have dual booted many flvors of Linux on it over the years and even ran the Windows 8 Beta on it for a bit.  Unfortunately Xp is completely and utterly end of life from Microsoft and more and more it shows.  The browser compatability is less and less and it’s just not as capable as it was in the past.  Unfortunately, I’m not about to shell out for a new updated version of Windows.  Since I don’t have to deal with the larning curve of teaching her how to use linux, I am not free to go back to Linux on my laptop, specifically, Ubuntu, and specifically, ONLY.  No dual booting or any of that nonsense.

I already had Lubuntu installed on a spare drive that I swapped into the machine, but I had issues getting networking to work in Lubuntu. I probably could have fixed them but I opted to just blow it out for a fresh 14.04 Ubuntu install. Unfortunately and irritatingly, the WiFi issue persisted. The core issue is that the Broadcom driver needed is “proprietary” ie not Open Source (though it is free), so it’s not installed or included by default. This problem is compunded because the age of this device means all of the tutorials are outdated and suggest I install the “jaunty backports repositories” and restricted drivers or something using Synaptic.

The specifics are not important, what’s important is Jaunty Jackelope was like 4 distros or so ago and Synaptic is no longer the package manager used. I got it working but it’s always been an issue. At least it seems this round the system defaults to “disable touchpad when typing” so my coursor isn’t flying all over the place.

So anyway, new year, new… ish… OS. Not much else will probably change on my whole projects and workflow end. I can do most everything i need to do besides play games with Ubuntu and the NAS means I can get to my files reguardless of OS. The only real issue is rejiggering my blog workflow, but lately I haven’t been posting shit anywhere anyway so it really doesn’t matter much. At the moment I’m writing this with Pico (because vi is a piece of crap), but I am not real sure there is any way to push this into productions without just cut and pasting. Also, word wrapping is non existent, which makes it tricky, what with hard line returns and junk that will probably cut and paste like garbage.

2014 Reading List

Fight Club

Fight Club

Chuck Palahniuk

Published: 1996 | Pages:218

Description:

Orange Is the New Black

Orange Is the New Black

Piper Kerman

Published: 2010 | Pages:322

My Rating: 3/5

Description:

Batman: Year One

Batman: Year One

Frank Miller

Published: 1987 | Pages:144

My Rating: 5/5
While the core story here feels like a Batman Origin story, there isn’t a lot of real mean to it. Instead its a Jim Gordon Origin story that happens to coincide with Batman’s early period.I enjoyed it quite a bit. It covers a one year period when Jim Gordon arrives in Gotham.

Description: The Dark Knight Returns!In 1986, Frank Miller and David Mazzucchelli produced this groundbreaking reinterpretation of the origin of Batman—who he is and how he came to be.Written shortly after The Dark Knight Returns, Miller’s dystopian fable of Batman’s final days, Year One set the stage for a new vision of a legendary character.This edition includes the complete graphic novel, a new introduction by writer Frank Miller and a new illustrated afterword by artist David Mazzucchelli. Completing this collection are over 40 pages of never-before-seen developmental material such as character and layout sketches, sample script pages, sketches and more that provide a glimpse into the making of this contemporary classic.This volume collects Batman #404–407.

Batman: The Killing Joke

Batman: The Killing Joke

Alan Moore

Published: 1988 | Pages:50

My Rating: 3/5
Kind of short and the Joker’s origin was lacklister and not particularly insightful.

Description: After shooting and permanently paralyzing his daughter Barbara (a.k.a. Batgirl), the Joker kidnaps the commissioner and attacks his mind in hopes of breaking the man. But refusing to give up, Gordon maintains his sanity with the help of Batman in an effort to beset the madman.

Batman: The Long Halloween

Batman: The Long Halloween

Jeph Loeb

Published: 1997 | Pages:376

My Rating: 5/5

Description:

Batman: Hush

Batman: Hush

Jeph Loeb

Published: 2005 | Pages:320

My Rating: 4/5
Pretty good arc and good pacing and art. overall enjoyable even though it was crazy predictable. The only real complaint I had was that a better title would have Batman vs Red Herrings, because there were WAY too many “fooled you it was someone else” moments.

Description: BATMAN: HUSH is a thrilling mystery of action, intrigue, and deception penned by Jeph Loeb (BATMAN: THE LONG HALLOWEEN) and illustrated by comics superstar Jim Lee (ALL STAR BATMAN & ROBIN, THE BOY WONDER) in which Batman sets out to discover the identity of a mysterious mastermind using the Joker, Riddler, Ra’s al Ghul and the Dark Knight’s other enemies – and allies – as pawns in a plan to wreak havoc.This volume collects Batman #609-619 as well as the 6-page segment from Wizard #0 and a 2-page origin story that originally appeared at dccomics.com.

War Crimes (World of Warcraft, #13)

War Crimes (World of Warcraft, #13)

Christie Golden

Published: 2014 | Pages:358

My Rating: 3/5
An OK read, but it spends like 90% of the book walking down memory lane in the trial. Which isn’t really helped by the fact that half of the flashback moments occurred during or just before the current expansion. Basically, its an OK lore catch up but it adds very little that is new.

Description:

Rise of the Horde (World of Warcraft, #2)

Rise of the Horde (World of Warcraft, )

Christie Golden

Published: 2006 | Pages:368

My Rating: 5/5

Description: Horde, they waged a number of devastating wars against their perennial enemy — the Alliance. Yet the rage and bloodlust that drove the orcs to destroy everything in their path nearly consumed them as well.Long ago, on the idyllic world of Draenor, the noble orc clans lived in relative peace with their enigmatic neighbors, the draenei. But the nefarious agents of the Burning Legion had other plans for both of the unsuspecting races. The demon-lord Kil’jaeden set in motion a dark chain of events that would succeed not only in eradicating the draenei, but forging the orc clans into an single, unstoppable juggernaut of hatred and destruction.

Lord of the Clans (WarCraft, #2)

Lord of the Clans (WarCraft, )

Christie Golden

Published: 2001 | Pages:278

My Rating: 5/5
An extremely enjoyable read. The events of this book follow the birth and rise of Thrall as Warchief of the Horde and end just beforebwhat would be the start of the Warcraft 3 video game.

Description:

Getting Started with RFID: Identify Objects in the Physical World with Arduino (Make: Projects)

Getting Started with RFID: Identify Objects in the Physical World with Arduino (Make: Projects)

Tom Igoe

Published: 2011 | Pages:40

Description:

CSS Cookbook

CSS Cookbook

Christopher Schmitt

Published: 2004 | Pages:544

Description:

Vol'jin: Shadows of the Horde (World of Warcraft, #12)

Vol’jin: Shadows of the Horde (World of Warcraft, #12)

Michael A. Stackpole

Published: 2013 | Pages:320

My Rating: 4/5
A pretty good read that gives some nice background on Vol’jin to help in leading up to his new position in the Horde.

Description: Aided by the renowned brewmaster Chen Stormstout, Vol’jin takes refuge in a remote mountain monastery to recover from his wounds. His time there, however, is far from peaceful, as intense visions of the past assault the Darkspear chieftain, and the ancient Zandalari tribe mounts a series of attacks on Pandaria. In his struggle to make sense of what’s happening, Vol’jin must ultimately decide where his allegiances lay—a choice that could save or doom his people . . . and forever alter the fate of the Horde.

Synology Phase 03 – The Apps

ScreenShot253 The key component of the Synology is the Software.  You can buy cheaper NAs devices if you just want a network storage device.  Honestly, the price justification is almost entirely in the software, though the Hardware RAID (as opposed to Software RAID) is a partial factor as well.  The box itself isn’t all that sophisticated or exciting honestly.

I don’t plan to cover every available app by any means this is just sort of a run down of some of the apps I find useful, and probably the ones that are most commonly used.

Photo Station

The main reason I even bothered with investing in a NAS at all was because of my Photo collection.  Everything else is a bonus.  I’ve got 250GB of family photos I’ve taken over the years, plus a whole mess of other photos from Blog Posts etc.  I’ve gone through a drive crash on them and the drives I’ve been using are aging rapidly.  The wife doesn’t care to lose photos either.

Photostation is of course, made for Photos, and it’s pretty great.  The interface is very similar to OneDrive, which is is probably my favorite interface of all the photo services I’ve used.  Everything flows together to make a wall of photos, real great for easy navigation.  There are also tagging functions which I plan to use later once everything is loaded.

Audio Station

I’ve tried several solutions for streaming my audio collection to my phone.  I had sort of mostly settled on Google Play Music since it’s the only service that would let me upload my entire collection of some 20,000 songs at once.  I don’t really NEED all these songs at once but I do like having the option.  I buy most music these days via Amazon and so streaming via Amazon is always an alternative as well.

Unfortunately, my recent conversion to Windows Phone from Android means neither service is an option.  I’ve been back to putting music on my device like a caveman.  Fortunately, there is a DSMusic app available for Windows Phone, and I don’t have to worry about any limitations of any service, it’s just all there.  Now I just need to build some good playlists.

A secondary benefit here, Google Play Music was one of the few Google Services I still sometimes used.  I’ve worked pretty hard to divorce myself from all things Google for a variety of reasons, primarily privacy concerns and secondary they are starting to push their own semi proprietary services on the web over long standing more open ones.  Basically, they are using their considerable size to bully everyone to their methods.  “Don’t Be Evil” doesn’t seem to be a thing anymore, but anyway, Google isn’t the topic here.  Having a good Google Music alternative that works on WP is.

Download Station

I don’t use Torrents too often, mostly for my Humble Bundle downloads, but the Synology has a really nice built in Torrent client.  I don’t have to worry about keeping a program running elsewhere or drive space on my PC in use, it just downloads them right to the NAS.  There is even some auto extraction settings, though I have not looked into those yet.

Web Station

A nice little bonus here I wasn’t quite aware existed before buying this NAS, it can function as a web server.  I’ve long given up hosting my own web sites from my house but I do keep some wordpress and other files on an internal web server for archival purposes.  The web server has allowed me to archive these files off my Ubuntu Server to the NAS, which also means I get the backup functionality of the NAS itself.

Note Station

Another unexpected surprise, though I have not explored it completely yet, the Synology includes an app called Note Station, which can sync (or at least download) from Evernote.  I’ve been racking my brain for a while on a good way to backup my Evernote notes, with ideas ranging from Print to PDF using some script to just pulling it weekly to a PC client.  Problem solved.

Cloud Sync

Another nice backup feature, The Synology can hook into and sync with both Dropbox and One Drive.  I use One Drive for some backups and Dropbox for some phone syncing so pulling both to an internal local storage is a plus.  I may even look into using One Drive as a secondary backup like I had originally planned.  Office 365 now includes unlimited storage on One drive, in addition to client licenses for 5 copies of Office (there are conveniently 5 people in my family all with PCs).  It’s a really tempting offer, and with it I could set up the Synology to start pushing all (or select) data to the cloud for an offsite backup.

Surveillance Station

Last, and the ONLY feature I have been disappointed with so far is the Surveillance Station.  I mentioned recently setting up cameras for monitoring and security.  I currently have three cameras and may install a few more.  The Synology only allows the use of 2 cameras before needing to purchase additional licenses.  I’m not super irritated about the additional cost, I get the whole “It supports dev costs”” thing.  My problem is that licenses are $60+, EACH.  If I wanted to add another 3 cameras like I am considering, I’d need 4 more licenses, or $240.  I’d be alright with maybe $10-$15 per seat, or even $60 for “unlimited” (within the capacity of the device) but $60 each is a little ridiculous.

I suspect there is some lame ass license fees Synology has to pay to someone involved but that is also kind of giving them the benefit of the doubt.

I’m still super satisfied with the box, but having better/cheaper access to Surveillance station seats would be eliminating my Ubuntu server completely.

FitBit

A new phone wasn’t my only unexpected purchase on Black Friday, I also picked up a FitBit.  I’ve been interested in the FitBit for a while now, I just never could bring myself to drop the money on one.  It’s not even that it’s too expensive, I have just had better things to blow my cash on.  I got roped into going to Walmart on Thanksgiving by my family, semi against my will.  While wandering around waiting for some arbitrary time of day when people could start grabbing and buying the stacks of goods sitting around the store, I noticed they had FitBits for $70, which is $30 less than normal.  I also had extra money in my personal budget so I decided I’d pick one up.  Thankfully, my Walmart is tiny and, while busy, it’s nowhere near the mob the larger stores get.

Semi Ironicly, over the summer there was a bundle for $150 that included a Lumia 635 and a FitBit.  I ALMOST ordered it.  At this point, I’ve saved $40 not ordering it.  I never would have expected a better deal but hey, patience works out.

Using the FitBit has spurred me to pick up my previous two Fitness tracking apps, Endomondo and MyFitnessPal.  Endomondo tracks workouts pretty well and MyFitnessPal is good for tracking food intake.  What’s best is they all three sync together sublimely.  Fitbit pulls the activity just by wearing it and pumps it into Endomondo automatically anytime it thinks you’ve done a workout”.  MyFitnessPro pushes food data to and from Fitbit while also pulling Calories burned from Endomondo.

None of it is a perfect exact measurement, calories burned are subjective to effort and whatnot and I’m sure there are some false steps in the Fitbit.  The food measurements and logging aren’t exact with MyFitnessPal either, I often forget to log drinks for example.  I’ve compensated for this a bit by lowering my “goal” for MyFitnessPal.  I want to stick to around 2000 calories but I have it set for closer to 1600.

It’s not meant to be exact though.  Just tracking things helps give an awareness of just how much is eaten, which helps more than anything.  Knowing I’m “500 calories from my desired max” after lunch, even with the buffer and exercise, reminds me I don’t need that afternoon snack or that soda while I’m out at lunch.

The Fitbit itself is just a glorified Pedometer.  It’s the peripheral apps and syncing that make it worthwhile.  The automatic workout tracking and syncing makes my whole process simpler for example.  It has a sleep tracking mechanism, which is neat as well, though I haven’t slept enough nights to have any good insights.  It also “gamifies” the workout experience with achievements and badges and cool graphs and charts and numbers.

The real purpose of all of this is more motivation to continue than anything.  It’s working pretty well so far, hell I have already looked into the matching scale, which is surprisingly cheap.  I figure I need to make sure I stick with this a bit first since most of the time I get motivated to better my fitness I end up stopping after a month or so.