Skip to main content

Posts

Showing posts from 2015

I made a GIF!

FreeNAS 9.3 Unix (NFS) Shares for VMware ESXi

ESXi mounts NFS as root with group root.  FreeNAS 9.3 does not have a root group.  This results in a successful NFS mount by ESXi, but creating a test directory fails with error: VMware: Call "FileManager.MakeDirectory" for object "FileManager" on vCenter Server "[...]" failed. Change the FreeNAS Unix (NFS) Share Advanced Settings "Maproot User" and "Maproot group" to the equivalent FreeNAS local groups to correct this. Thanks to Benjamin Bryan for blog post  https://b3n.org/freenas-9-3-on-vmware-esxi-6-0-guide/ which was instrumental in solving this issue!

Windows Phone is dead, long live Windows Phone!

User Experience As a long time Nokia user from the S60 days (Pre-Elop), I was skeptical about Windows Phone. From 7.5 Mango to 8.1 Denim, there was reassuring progression with new built-in features and apps to fill any gaps.  The user interface is clean, modern, intuitive and consistent. And Cortana is truly incredible, especially in the car: selecting playlists, dictating texts and making calls. In comparison, Android is fragmented. Google, HTC, Samsung and LG all have their own Android interfaces that all appear a work in progress.  And OK Google is minimally functional on-line and useless off-line. Market Share Despite being a superior platform, Windows Phone is unable to complete against iOS and Android. User adoption peaked in 2013 at 3.2% and "rallied" this year to reach 2.7%. Not encouraging numbers. App Store In March 2014, JPMorgan Chase and Bank of America  discontinued their Windows Phone apps*. Banking apps are an essential, unlike Goat Simulator.  T

Windows Media Player database corruption solved

Windows Phone makes Windows Media Player (WMP) necessary.  And WMP is awful, both inside and out.  The user interface is an uninspired pastiche. Worse, the metadata management database corrupts regularly. Even modest media libraries (under 8GB) require regular rebuilding. To fix new MP3 files not appearing in the WMP Library, exit WMP and delete the entire metadata database. A script file is not needed; this is a one line solution: cmd /Q /K del /Q /S "%LOCALAPPDATA%\Microsoft\Media Player"

Generating Elliptic Curve private keys

Public key cryptography uses private keys to decrypt messages and public keys to encrypt them. Generating a private key is the first step to creating a certificate signing request or a self-signed certificate. Most OpenSSL private key examples suggest creating an RSA private key: $ openssl genrsa -out private.key 2048 This uses RSA algorithms on semiprimes (the product of similarly sized prime numbers).  Elliptic curve (EC) algorithms are an alternative.  The OpenSSL process requires creating a named parameter file before the private key can be generated. $ openssl ecparam -out ec-param.pem -name prime256v1 $ openssl ecparam -in ec-param.pem -check -noout -text ASN1 OID: prime256v1   checking elliptic curve parameters: ok   $ openssl ecparam -in ec-param.pem -genkey -out ec-private.key   $ cat ec-private.key   -----BEGIN EC PARAMETERS-----   BggqhkjOPQMBBw==   -----END EC PARAMETERS----- --   ---BEGIN EC PRIVATE KEY----- MHcCAQEEIIa2SkCuXClQOwCoS3uIgFnffXj4fWt