Thursday, December 17, 2015

Low budget fanless ZFS NAS

Dunno how this will end up as I did again mistake of digging up one of those Wyse Z90D7 terminals from junk pile. This time my idea is to use it for NAS after upgrading RAM from 2GB to 6GB and adding two 1TB 2.5" USB3 disks. Wyse being fanless and with host powered disks this should be decent combo.

Then add FreeNAS 9.2 and ZFS with snapshots. Snapshots are mandatory feature as I'm sending this to friend of mine for christmas present. He's one of those who insist on installing every virus and cryptolocker he can find. With data backed up to NAS and protected by daily snapshots recovery is much easier than ever before. With assumption that he'll save important data to network drive which will then probably corrupt it all due me using inappropriate hardware...

Friday, December 11, 2015

Backup VMware ESXi to Linux with ZFS

Lowest budget backups for your free VMware ESXi hypervisor.

Thursday, November 26, 2015

Set folder dates to newest file inside (using PowerShell)

Someone (not me this time) screwed up and while transferring content from old server to new one ended up messing all folder timestamps. Folders now have date when copy was made instead of preserving original dates as intended.

Tuesday, July 28, 2015

DHCP tricks with Linux network namespace

Some notes from my experiments with fetching more than one IP address from DHCP for same physical ethernet adapter. Nothing too difficult and you don't even need netns for this, few policy route settings would be enough if dhclient (and especially dhclient-script) wouldn't be so broken. For example dhclient has nasty habit of hijacking udp/68 on all network interfaces rather than only those it controls. There's also issues in some cases due routing when DHCP server is not on local LAN but behind WAN like it's in corporate and ISP networks.

Monday, July 27, 2015

Installing Ubuntu 14.04 LTS to Wyse Z90D7 Windows Terminal

I recently posted how to update Wyze Z90D7 to latest available Windows firmware. Which is far from usable. Let's see how Ubuntu works on this hardware. Actual flavour I picked is Lubuntu, but hardware support should be same for all.

TL;DR: What a piece of shit this is, don't waste your time just toss it to bin already.

Friday, July 24, 2015

Updating Wyse Z90D7 Windows Terminal from USB stick

I recently found old decommissioned Wyse Z90D7 Windows Terminal. Old BIOS, messed up OS, etc. So exactly how do I update this thing without all those complex management systems and active Wyse support contract?

Wednesday, July 22, 2015

Crossflashing Huawei B593s-22 from Sonera to Elisa firmware

My B593s had ancient Sonera branded firmware that has DNS issues when IPv6 is active. At least IPv6 reverse queries stall causing long delays. There's some rumors going that Sonera provides updated firmware over-the-air, but I couldn't trigger update despite trying hard. Might be because I was using Elisa SIM card. Since Elisa does have fairly recent firmware available for download I thought why not use Elisa firmware instead - get IPv6 bug fixed, have correct operator settings as default and also future updates should work without extra hacks.

Tuesday, July 14, 2015

"New Skype Meeting" option missing from Outlook 2013 calendar

Clean Windows 7 install with latest Office 2013 from Office 365 and latest Skype for Business 2015 (The Application Formerly Known As Lync) also from Office 365. Problem is that "New Skype Meeting" option is missing from Outlook calendar options. There's just empty space where ribbon bar button should be.

Monday, July 13, 2015

Ericsson (Dell, Lenovo, Panasonic, Toshiba) 3G WWAN modules hanging

Ericsson has manufactured probably millions of faulty 3G WWAN modules that hang after few minutes to few hours of use. There's driver and firmware updates out that may sometimes help but usually only by extending time before hang bit longer.

"Use your Start menu to check for updates" error on Windows 7

If you install IE 11 before enabling "Microsoft Update" feature of "Windows Update" on Windows 7 you'll be stuck with "Use your Start menu to check for updates" error message. Solution is to open IE, then hit ALT to show menus, go to Tools, Compatibility View settings and enable "Use Microsoft compatibility lists".

Wednesday, July 08, 2015

Running TFTP server on Ubuntu 14.04

# Install tftpd-hpa package
apt-get update
apt-get -y install tftpd-hpa

# Fix config file broken by default
# - use correct tftpboot directory rather than random location under /var
# - chroot to tftpboot
# - allow uploading of files but not overwriting existing
# - listen IPv4 and IPv6 instead of IPv6 only
# - enable logging
mv /etc/default/tftpd-hpa /etc/default/tftpd-hpa.old
cat <<'__EOF__' >/etc/default/tftpd-hpa
TFTP_USERNAME="tftp" 
TFTP_DIRECTORY="/tftpboot" 
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure --create --listen --verbose"
__EOF__

# Create tftpboot directory and use proper permissions
mkdir /tftpboot
chmod -R 1770 /tftpboot 
chown -R root:tftp /tftpboot

# Restart service
service tftpd-hpa restart

P.S. There's config file bug causing tftpd to listen only IPv6 connections by default... https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1448500

Tuesday, July 07, 2015

Smartmontools v6.4 and Ubuntu 12.04

I had to upgrade to new Smartmontools 6.4 on my Ubuntu 12.04 server as old version lacks Prolific PL2773 USB3 to SATA bridge support.

Friday, June 26, 2015

Controlling Anel Elektronik NET-PowerControl HOME from command line

There's probably proper api to do this, but everything is in German and all I wanted to do is toggle status of single power outlet from script.

curl --data "F0=S" http://admin:admin@192.168.1.3/ctrl.htm -o /dev/null


Wednesday, February 04, 2015

Upgrading HP Proliant ILO100i firmware over network

Another nightmare product from HP with broken everything, including broken remote firmware upgrade process.

Monday, February 02, 2015

Windows 10 install from USB to Dell Latitude 10 Tablet

Dell Latitude 10 Tablet, identified as ST2 Late-2012 by Dell, really sucks. It's shipped with very first Win 8.0 build and after two years of updates it's barely usable with Win 8.1 + all available updates and fixes. I wanted to give Windows 10 try on it as already being worst tablet ever it can hardly get any worse, right?

Reinstalling Win 8.1 goes exactly like Win 10 so below applies to both.