Sunday, June 30, 2013

Airport network configuration: Finding Mac address to put into Timed Access Control

I'll get my rant of out the way. AirPort Utility 6 was the start of Apple's year of drifting downhill. The good news is that Mavericks is giving us some hope that Cook has a balanced approach to managing complexity.
 
Ok, rant over. You are reading this because you want to Control access to your wireless network - maybe because a local teenager is still learning the network access rules. Open Airport Express and search for "Control when a user can access your network". You'll get something like this:

... Click Network, select Enable Access Control, and then click Timed Access Control.
Click Add (+) and enter the MAC address and description or name of the computers you’re letting access the network...

What the directions don't tell you is that if you're in bridged mode (extend network) you need do this on the AirPort device that assigns IP addresses, typically the one connected to your DSL/Cable modem.
 
The UI is very unclear, but I think you can enter EITHER the MAC address (media access control address -- every ethernet device has one, whether wifi or wired - it's one way devices get traced. No relation to Macintosh.) or the "name of the device" [1]. But how do you find the MAC address for, say, an iPhone?
 
This way:
  1. Airport 5.6: wifi -Use AirPort 5.6 Advanced:Logging & Statistics:Logs & Statistics:DHCP Clients from the DHCP serving device (only device unless you have bridged network like mine). You can copy paste the MAC address.
  2. AirPort Utility 6.x: Find IP, Mac, and network name for WiFi (not ethernet) devices by holding option key, then double click on the AirPort advice providing DHCP services. You will see a new 'Summary' tab, click outline icon in wireless client list to see details. The MAC address is called a "Hardware Address". You can't copy paste it (insert sound of teeth grinding).
  3. AirPort Utility for iOS: (Best). Tap each device on your network that can have wifi clients. Tap "Wirless Clients" then tap name. See IP, Hardware address connection details. You can tap Hardware Address to copy it. Mail or otherwise share it to your Mac so you can set timed access; you can't configure Timed Access from an iOS device.

From the Mac address you can set timed access control.

- fn -

[1] For an iOS device the Name might appear in iTunes, but I think spaces get replaced with hyphens. Better to use the MAC address.

Friday, June 28, 2013

Beware Apple's Epson software update 2.14 (April 2013)

I just did a routine batch of software updates for my 27" Mac, including the April 2013 Epson update 2.14. This is labeled as a printer update, but it's a printer and scanner update.

After the install my Mac locked up on boot, just before it should show the mouse icon. I pulled the firewire 800 cable connected to my Epson Professional V700 scanner and the boot completed.

After some experiments showed that I couldn't boot as long as the scanner was connected I power cycled the scanner. It was behaving oddly, I had to pull the power cord. After that I was able to boot.

I'm not sure the problem is fixed, Apple's Discussion board has a number of complaints:
I'll update this post if the problem recurs, but for now the trick was to pull the firewire cable on restart and then try power cycling the scanner.

See also:
Update 10/21/2013
  • After four months of intermittent but increasingly odd boot behaviors followed by a few days of high frequency kernel panics the flat 400/800 adapter firewire cable connecting this scanner to my firewire chain split open. So, in retrospect, this may have been the start of the firewire cable failing. In future I'm going to do a routine restart before I do updates -- just to make sure things are working before I change software. There's a lesson here about the problems of complex configurations given the limited diagnostic capabilities of OS X.

Thursday, June 27, 2013

Indexing Freemind documents for Windows Search: just add extension as free text

There are a lot of software domains that disappoint me. It's a 'get off my lawn' kind of thing. Enormous excitement about cosmetic changes to iOS 7, but nobody cares about applications for knowledge visualization. Sob.

Sure, there are some good apps for OS X [1] (though even they lack innovation [2]), but my work day is spent in the software desert of Windows 7, a forgotten platform served only by minor vendors slowly degrading once half-decent products.

On the Windows 'mind mapping' front MindManager is expensive, increasingly slow and burdened by feature cruft, and locks data up in a proprietary format. I liked XMIND for a while, but then a software update slowed it to a crawl. It also seems to have been abandoned.

So, lately, I've turned to FreeMind. Not because it's open source and free, not because there's ongoing development, and definitely not because it's a Java app or "cross-platform". I've turned to Freemind because, despite being homely [3], slow to launch, and having an eclectic UI, it has users, performs quickly when it's running, and, above all, it has the closest thing to a standard file format in the industry. A file format that's plaintext.

More and more, I love plain text.

I think I can live with FreeMind -- but only if I can retrieve documents using Windows Search. I live and die by free text search. I took a look at the FreeMind IFilter ($20) for Windows Search, but I was unimpressed with the klunky install and configuration requirements. It had a bad smell.

Fortunately, there's a simple workaround. FreeMind .mm files are plain text (did I mention I love that?). All I had to do was tell Windows Search to index .mm files as free text:

That worked.

[1] I'd love to see OMNI Group enter this market, possibly building on OmniOutliner. I use MindNode on OS X.
[2] Rereading my 10/2011 idea for implementing a graph app atop simplenote nodes I'm sad nobody has done this. If I lose my job maybe I will.
[3] Worse than homely, FreeMind currently has a major usability problem. There's nothing in the UI to tell you that a node has collapsed children. It's quite weird.

Sunday, June 23, 2013

Post Google Reader: Feedbin, Newsblur, Feedly - all disappointing at the moment

I'm scrambling as usual, so no time for a full post. I've been running through Feedbin, Newsblur and Feedly today. I paid for both Feedbin and Newsblur, and Feedly is free.

My biggest disappointment is Feedbin and Reeder.app -- the sync isn't working! Feedbin says I have 270 unread, Reeder.app says 1086. Reset didn't help. Next disappointment -- both Feedbin and Newsblur didn't get my Google Reader custom names for feeds. Only Feedly picked those up.

Newsblur (open source!) is far too social. It insists on showing me comments as I try to read my feeds. It shares to Pinboard in the web app, but not in the iOS app. No Reeder.app support. Newsblur is strict folder hierarchy - no tags, no acyclic graph organization. No URL sharing. Newsblur has best performance and most features, but so far it's not right for me. I'll try again in a month or so.

Feedly has the very irritating plugin model and no Reeder.app support. It's my emergency fall back.

Feedbin has URL type share to pinboard; that's enough for me since I use Pinboard tags to control IFTTT routing to app.net, twitter, and kateva.org/sh. Feedbin's tag model is a much better fit to my GR org than Newsblur's hierarchy. That's really big for me. I'm very glad I can now 'hide' all tagged feeds. Renaming feeds are unsubscribing is very awkward; I'd argue there's a bug with that UI. (Tip: rename feeds you don't want to 'z', then when all done with name repair save, then select all 'z' then remove.)

Ugh, this will be a hard transition. There's still no true heir to GR's basic functions, not even counting all the abandoned features it had.

If not for the Reeder sync problems I'd go with Feedbin, but that's a bad fail. For the next few days I'm happily back to Google Reader (7 days left!), I'll see if Feedbin's sync bug clears itself.

Friday, June 21, 2013

Unexpected "Welcome to Mail" on OS X Lion: restoring lost email through two pref files

Emily opened her email 3 days ago and saw "Welcome to Mail".

That's bad. It meant OS X had lost track of her mail archives. The files were all on disk, but the OS knew nothing about them.

I didn't try entering new information of course. That would have been quite disastrous. Instead I poked around and found the usual advice to restore ~/Library/Preferences/com.apple.mail.plist from Time Machine. [1]

That did nothing.

Then I found Power loss, Mail accounts gone,...: Apple Support Communities, a post that recommended also restoring ~/Library/Mail/V2/MailData/Accounts.plist. That looked good, since her current file was 1kb and the old one was 6kb. After a Time Machine restore her email was back.

Of course this doesn't explain why her data was lost in the first place. HFS+ is supposed to be journaled, we should't lose these files even in a nasty crash. So now I have to run some drive diagnostics.

Update: [1]. Oops, i should have read more closely damnit. I think the SuperUser article had the right advice pre-Lion.

/System/Library/PrivateFrameworks/ScreenReader.framework/Versions/A/Resources/English.lproj/ExceptionsDatabases/com.apple.mail.plist
~/Library/Mail/MailAccounts.plist
~/Library/Preferences/com.apple.mail.plist

Personally I wouldn't mess with /System unless the other two fail and the directory changed post Lion.

Sunday, June 09, 2013

CloudPull - backup your Google Cloud properties -- including your old shares and your multiple Drive accounts.

I've been using Golden Hill Software's CloudPull Premium ($15 now, I only paid 410 due to a promo, TidBITS users can jump get a 20% discount if they insist) for a month or so. It backs up parts of the Google data associated with 3 of my Google identities -- Personal, Public (jgordon@kateva.org) and Work. Sooner or later I'll start backing up the kids stuff too.

The backup data includes my Google Calendars (primary and subscription/shared as .ics), Google Contacts (3,496 as .vcf), Drive files (Google versions converted to iWork, else native) and Reader subscriptions, starred, shared and liked (not sure of format, seems a mix of database  and references). The repositories are searchable through CloudPull and, since I changed the store setting to be in my Documents folder, via Spotlight. I don't backup my email accounts; those are in Mail.app.

The app seems to work very well. It's designed to backup every 1 to 24 hours, but I just run it every few weeks. It would be nice to have a once weekly or once monthly backup option, or to be able to schedule backups for the wee hours of the morning. I don't backup 

My archive includes about 40,000 Google Reader shared articles, a SQLite database of about 400MB and total storage of about 5 GB. Not trivial, but manageable. The storage architecture makes use of SQLite and many shortcut links.

I am quite fond of this app. It has a minor glitch in an early version, the developer fixed that quickly. Highly recommended for every Mac user of Google products.

Friday, June 07, 2013

Tip: Use contexts in Toodledo, Appigo Todo.app and others to identify quick tasks

For historic reasons, and because between the two of them I have a unique set of features I can't find elsewhere, I use Toodledo online and Appigo's Todo.app on my iPhone (they sync). The combination is a bit of a kludge, but by now they are burned into my brain. It would take real improvements for me to switch, and I haven't seen them [1]. For example, Appigo's online task app is missing Toodledo's essential mailto feature.

Despite years of use however, I've not done much with Contexts in either Toodledo or Todo [2]. I understand the theory, but in practice it's been too much bother -- until today.

Today I realized what I needed was an easy way to tag small tasks that I can easily knock off when I have a free minute or less -- and I realized a single letter context was a convenient way to do that. So I deleted all the unused Contexts I'd created, and added a new one called 'q' (for quick!). Now, when I'm bored, I filter on q and knock off a bunch of little tasks.

[1] I could build such a great task app if I had another life or two ...
[2] Todo syncs contexts with toodledo. 

Aperture slideshow smaller than expected? You may need to create previews.

When I began using Mountain Lion the slideshow screen saver couldn't handle nested photo folder. That regression from the best version of OS X was fixed in 10.8.3, but by then I'd switched to using Aperture for my slide show of child-programming images [1].

Aperture came with its own problems. For example, the same image would seem to get stuck on both monitors. That improved with 10.8.3 and/or running 'repair database'. Some time later though, it occurred to me I was seeing the same images more often than expected for a library of 6,000 "best of" images.

The catch, of course, was previews. The slide show feature needs JPEG images to work, and, as it turned out, only a small number of my 6000 slideshow "RAW" images had previews. 

The Aperture 3 User Manual explains how to update or create previews: "Choose Maintain Previews For Project from the Library Action pop-up menu". I created a smart folder to hold all my slideshow images, chose select all then "maintain preview" on one context menu. I came back a few hours later and now I have a much larger set to view. 

[1] My theory is that by exposing the children to thousands of images of happy family moments, they will be programmed into thinking they had a happy childhood and thus will ensure I do not suffer long in my dotage.

Thursday, June 06, 2013

Mac USB port not working? Try an SMC reset.

I unplugged my 27" i5 iMac during a thunderstorm the other day. When I plugged it back in, my USB hub no longer charged our iPhones. It was dead.

This annoyed me, but the iMac is a few years old and that port has been well used. Perhaps I was just unlucky. Gradually though, I remembered that unplugging an intel iMac resets  the System Management Controller (SMC). That's normally done as a fix for problems, but perhaps it can also cause them.

So I repeated the reset and my USB port works again. For the moment anyway, I wouldn't be surprised if it fails later.

USB ports aren't listed as SMC controlled in Apple's knowledge base article, but SMC reset (and, with less evidence, NVRAM reset) is a common folk therapy for bad ports. This article listed other things that may (or may not) benefit from an SMC reset:

  • Erratic sleep mode performance, including not waking from or not entering sleep.
  • Mac portables (MacBook, MacBook Pro, MacBook Air) not responding to lid opening or closing.
  • Failure to respond to the power button being pressed.
  • MagSafe power indicator not displaying or displaying incorrectly.
  • Sluggish performance, even though Activity Monitor shows little CPU usage.
  • Target Display Mode not working correctly.
  • Battery not charging or taking excessive time to charge.
  • USB ports not working.
  • Bluetooth not working.
  • Fans running fast.
  • Display backlight not responding to ambient light level changes.

Tuesday, June 04, 2013

Time Capsule saga #5426: slow hardware failure affecting backups and a varation of the 7.6.3/7.6.2 wifi bug

Years ago my wifi/routers would fail every 8 months or so. I don't know why they were so short-lived, I assume it was a combination of cheap gear, poor cooling, lots of encryption work, and maybe something special about RF gear. I switched to Apple gear and I was delighted.

Until I bought my 500GB Time Capsule in July 2009. Wow, it has not been good. I've 45 posts to date on Time Capsule, and at least half are bugs and issue workarounds. Then, cough, there's AirPort Utility 6.

The most persistent problem got my attention last March. My backups would fail with firmware 7.6.2 but worked with 7.5.2. I made a number of changes, but the biggest change was I swapped around my network so it looked like this:

  • DSL (yep) router - Airport Express 802.11n (upstairs)
  • Time Capsule (extends AE network) in office, with wired ethernet connections to iMac 27" and printer. (So my server/main machine did TC backups via ethernet, not wifi)
  • Six iPhones, an old G5 iMac, a MacBook Air and a 5+yo MacBook connecting via Wifi to AE or TC depending on location
  • An old Airport Express 802.11g currently used for AirPlay only

That new arrangement, and perhaps various updates to Lion and so on, seemed to help. Until, about five months ago, backups to the 2TB drive attached to the 500GB TC started to fail mysteriously. Restarting the drive did nothing, but power cycling the Airport fixed things. I couldn't find any cause, so I just power cycled every few weeks.

Eventually, however, I was power cycling every few days. [2] Time to order a new 2TB TC from 30-day return Amazon.com and try a hardware swap. If I go a few weeks with backups working I'll keep the new one; for now 2TB will handle my backups without an external drive. [1]

That's where I am now, but today I ran into a new problem! My TC connected iMac, and all devices that connected to the TC by WiFi, were dog slow. I'm on the "12 Mbps download/896kbps upload" plan, but from my iMac the Century Link speed test gave me:

Download Speed: 625 kbps (78.1 KB/sec transfer rate)
Upload Speed: 166 kbps (20.8 KB/sec transfer rate)
Latency: 150 ms

I was ready to give CenturyLink a call, but decency required I test from the router upstairs first. It gave me pretty much what I expect:

Download Speed: 9604 kbps (1200.5 KB/sec transfer rate)
Upload Speed: 746 kbps (93.3 KB/sec transfer rate)
Latency: 75 ms

Yes, it was the connection between the AirPort Express and my brand new Time Capsule that was bad. I think I was running into the same problem Marco wrote about a few days ago -- there are problems with 7.6.2/7.6.3. In this case affecting my AE to TC connection since the AE was 7.6.2 and the new TC shipped with 7.6.1. After dropping the AE back to 7.6.1 and restarting the TC I got the same results when I'd plugged directly into the router:

Download Speed: 10298 kbps (1287.3 KB/sec transfer rate)
Upload Speed: 735 kbps (91.9 KB/sec transfer rate)
Latency: 74 ms

The TC is working at the moment, but if it fails me again it's going back to Amazon and I'll try running Mountain Lion Server based network backup.

[1] I also do a Carbon Copy Cloner backup of my primary machine with file archive; that encrypted drive rotates offsite with 3 other 2-3TB drives. If you don't have two completely different backup systems with at least one offsite drive at all times you're not backed up. Mountain Lion supports encryption of Time Capsule backups, but initial backup is very slow then -- even over ethernet. Seems ok afterwords. Be damned sure you can retrieve that password if your system dies.

[2] A lot of my hardware is 3-5 years old, so I'm expecting a flurry of failures. Slow hardware failure is pretty darned frustrating.