Posts

Showing posts from 2019

Create a FreeNAS/Samba Time Machine with cross-subnet/interVLAN support without the need for a mDNS Reflector/Repeater

Image
Recently Samba and in turn FreeNAS have added support for a Samba share to act as a SMB based Time Machine Target for Apple devices. We had a need for allowing multiple users to backup to a Time Machine Target but didn’t want them to have to enable encryption with a password they may forget and not be able to recover. At the same time, we didn't want users to be able to restore/browse someone else's backups. The solution we came up was to change the create file mask/umask to give effectively the equivalent of umask 077 or chmod 700 to all newly created files/folders on the share. Samba and ACLs means that attempting things like force create mode or force directory mode have no effect when using FreeNAS. One requirement was that the backups be self-maintaining and non-conflicting of storage allocation. To accomplish this, we set per-client storage quotas in addition to any quotas for the total backup volume. Another feature we wanted was the ability to backup when on a network…

Resetting and Upgrading the APC AP9606 NMC

The APC AP9606 is a very old NMC for the Smart-UPS line. They go for under $10 each on ebay and are great for use on an isolated VLAN for SNMP alerts and actions. Their network interface is only 10BaseT, but that is a non-issue for the purpose they serve and they work without issue on most gigabit switches. General NotesThe default username/password is apc/apc.The AP9606 does not support DHCP, it supports only Static IP addresses or BOOTP.Setting the time on the AP9606 is broken on both the WebUI and on Telnet. If you discover how to successfully set a date and time, I will accept pull requests to this document.Unauthenticated SMTP Mail alerts work with GSuite SMTP Relay, as long as you have whitelisted your WAN IP.Discover/Reset IP AddressConnect to the same layer 2 network as a PC.Use Wireshark and filter for: eth.src[0:3]==00:c0:b7Reset the AP9606 (hold reset button for 2-3 seconds)After about 30 seconds, you will see the AP9606 doing ARP lookups.Put your computer in the same IP ra…