Category: electronics

  • Bliss & Music Management

    Another one of the great things about using a Synology is having access to all the great packages that both Synology and the community create.  You find out about so many different apps you may not have been familiar with.  Turns out Bliss was one of those (grab the app from Patters).

    I have a fairly large music library I’ve composed over the years, and while I was picky about folder structure, all the other stuff was lacking: tags, images, etc.  Back in July of 2012 I gave it a first run and liked what it did.  However, I didn’t keep it installed (didn’t think I would need it continually).

    Fast forward to last week, and I reinstalled it to help clean things up again – I had to restore lots of my music which meant the tags, folder structure, etc. were all messed up again.  I’m loving it all over again for it’s ease of use and continual running in the background.

    Turns out in the current release they’ve added some new case rules which I love, but was having a few issues with it.  Shot of an email with some of the details, and got an immediate response saying it was being fixed in the next release that was in beta.  I asked if they wanted any help with testing, and sure enough Dan (creator) gave me links to the beta which I promptly installed (replaced the bliss-bundle folder after you extract the Linux jar file).

    Can’t say enough about the customer service, plus it’s fixing all my music issues in the background.  Yay!

  • Sender Policy Framework (SPF) Records

    With the move of my domains to Azure instead of Dreamhost (oh, did I not mention that?), one of the things I needed to do was setup some SPF records to keep email from going into junk folders.

    Now, there is a great article on creating SPF records, but those that know me know I’m not a big reader when there is a lot of text.  Pictures FTW!

    Anyways, as MS is a big proponent of utilizing SPF, they have created an excellent tool to create the record’s text.  Yay team!

  • Live Domain Issues

    I’ve finally migrated my email from google apps to outlook.com.  The key item that caused some issues was using domains.live.com.  I had added the MX record that proved I owned it (and email was flowing correctly).

    However, it was always set to “pending” and never switched to “active”.  The problem is that the Hotmail.com MX record is the only MX record you can have.  I had some of the old gmail records listed still, but at a much lower priority (higher number).  Removing them immediately made it switch to active.

    Grr.

  • Synology L2TP/IPSec VPN

    In the last few releases, Synology has added L2TP/IPSec as an option for a VPN.  I’ve never been able to get it to work on a Windows client until today.

    Ports Required:

    • IPSec – UPD 500
    • IPSec NAT Traversal – UDP 4500
    • L2TP – UDP 1701

    Fix on Windows clients – http://support.microsoft.com/kb/926179

    • For Win7 and Win8 Machines
      • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesPolicyAgent
      • New DWORD (32-bit) – AssumeUDPEncapsulationContextOnSendRule
      • Set the Value Data to 2

    Update:

    Using OpenVPN with port 443, for easier access: http://forum.synology.com/enu/viewtopic.php?t=45545#p215354

  • Windows 8.1 Preview Initial Thoughts

    I finally got around to installing Windows 8.1 Public Preview.  I am definitely liking the new digs.  However, I already started to look into how to uninstall due to the following items that I’ve now gotten sorted out (hopefully helps someone else):

    1. I couldn’t connect to any of my local network resources: iSCSI targets, NAS shares, NAS website.  However, I could ping them and SSH just fine.  I thought it was something to do with the iSCSI targets because whenever I tried to enable/disable task manager showed 5MB+ sustained traffic flowing over the network.  Obviously not a good thing.  Well, it turns out it was the “Microsoft LLDP Protocol Driver” on the network connection.  The picture below is what I unchecked to make everything start working again including being able to restart the machine.  And yes, while this is a Hyper-V virtual adapter, similar problems were happening when I wasn’t using Hyper-V (trust me, I tried everything!).Microsoft LLDP Protocol Driver
    2. Windows + S no longer works for OneNote screen clipping!!!!11one  I get that it makes sense for it to go to Search now, but dammit Microsoft, stop messing with my shortcuts!  First it was Windows + Q moving from lync to search (which also brings up search in 8.1 Preview), and now Windows + S is taken from me too!  Grrr

    Oh well, with the bad comes the good:

    1. Love the desktop wallpaper being in metro
    2. Love the auto-complete for when I launch an app
    3. Love the minimalistic Start button
    4. I am enjoying IE 11, but we’ll see how long that lasts
    5. One I get the RT tab updated, the labelling of groups will be nice

    Overall, seems to be good now that I’ve surpassed the biggest hurdle.

     

  • Bash Pass Variables Between Scripts

    I have an app that can call a single script, sending it some variables.  Unfortunately, I needed to run multiple scripts, but both utilizing the same variables.  With bash, there is an easy way to do that, just append “$@” to the script.

    For example, the application calls ‘combined_scripts.sh’ with variables $1 through $7.  The contents of ‘combined_scripts.sh’ is below and the variables are passed through to script1 and script2.

    #!/bin/sh
    ./script1.sh "$@"
    python ./script2.py "$@"
    
  • mkvtoolnix on Synology

    I’ve been fighting this for awhile as the mkvtoolnix package doesn’t have the correct dependencies when you install it.  Well, after doing a bit more digging I’ve found the answer to get mkvmerge to work!

    Packages required:

    • mkvtoolnix
    • bzip2
    • boost-filesystem
    • boost-system

    Then, you need to set an environment variable of LANG=C.  This can be done from the command line.

    Tada, works!

    http://forum.synology.com/enu/viewtopic.php?f=40&t=36845&start=15

    *UPDATE – Jan 1 2016*

    In addition to the LANG=C environment variable being set, I’ve also had to add in LC_ALL=C.  For me, I run a script that calls mkvmerge, so I just set both of these in the script.

  • Adam’s Quadcopter

    Well, after starting to put together my own quadcopter, Adam decided he wanted to get on the bandwagon too.  However, he went down the kit route, where I’m still waiting for all my parts to arrive (not the ones listed in a previous post).

    Well, after some initial indoor trials, he took it outside for some flying.  It was a bit windy, and we were only using the small battery packs we had (1300mAh), but it was crazy fun.  The GPS lock on his is nuts.  I wish I was filming when the wind picked up and the quad banked into it…under its own brain power.

    These things are crazy fun, and driving one is just like a first person shooter.  I was pretty worried about how the controls would be, but after flying his, I’m not worried at all.  Now I just wait for the servo wires and frame to get here, and I’m off to flying too!

    A few pics and videos from the D800…

  • SharePoint 2010 Image Sync to AD

    Similar to previous identity management issues with SharePoint (I hate you FIM!), I just ran into another issue the other day.  There is a requirement to have SharePoint 2010 be the place where users can managed their profile information, but the most important thing is to have images sync to AD so they can be used in Lync and Outlook.

    The guys on the ground were pulling their hair out, as they had followed the instructions from two corroborating sites.  Unfortunately, even with all of that setup, images were not being successfully added to AD.

    Knowing how much fun FIM is, I did a bit of banging prior to arriving on site and found an article that sounded very similar to the issues they were having.  Turns out it was the answer, but I’m going to duplicate a bit of it here just in case it disappears.

    1. You have correctly configured FIM to sync the images correctly as per the TechNet article linked above (“sites”).
    2. Looking in the IIS logs of the mysite (or whatever name is accurate) web app, you see 401.1 214807254 and/or 214807252 errors on anonymous users accessing the thumbnail jpegs.

    What you need to do is log into the box where FIM is running as the FIM user sync account.  From there, add your mysite URL to the intranet zone in IE.  Re-run the sync and it should work.

    The reason is that the error IIS log error is because FIM is not passing the credentials as it is being challenged.  By adding the mysite to the intranet zone, it will automatically send credentials and not wait to be prompted (unless a GPO has overridden this setting).