Sunday, December 08, 2013

802.11n - N is for Nice

I'd had an 802.11n-capable router for a long time but as I discovered it wasn't connecting in n-mode. Installing the Asus router and having the ThinkPad T420s connect in n-mode made a believer out of me.

I never got my Actiontec PWR500 Powerline Ethernet adapters on the same phase so the TiVo in the bedroom continued to complain about network speed/connectivity.

I had an electrician in on another project and I asked him to give me a bid to drop Cat 6 Ethernet at each of the TiVos. His estimate sent me looking for alternatives.

I bought a pair (one for each TiVo) of Asus EA-N66R adapters. The installation was incredibly easy. The default configuration is an Ethernet bridge. All I had to do was choose the SSID and enter the pass phrase. While I was at it I reflashed the firmware.

How'd it work?

Here's the speed test using the Actiontec PWR500.


Yeah. Not good.

Here's the speed test using the Asus EA-N66R adapters.


I think that this is actually limited by the Comcast Internet connection and that the 802.11n WLAN connection is faster than 30Mbps.

Nice.

Sunday, December 01, 2013

Break Me Off A Piece of That KitKat Bar

Everybody expected Android v4.4 to be Key Lime Pie. Google surprised everyone and called it KitKat.

I haven't mentioned my Nexus 7 previously. One of the nicest things about a Nexus device is that they (almost) always get the newest versions of Android early.

KitKat first shipped on the Nexus 5 followed by a promise from Google that both versions of the Nexus 7s would be next.

So I waited.

And waited.

Finally it arrived. The installation was as easy as a CyanogenMod update.



The top status bar is translucent and blends with your wallpaper. The new Google Now search had already been pushed to the Nexus and I had sideloaded the Google Experience Launcher (GEL) from the Nexus 5.

Now I'm watching for CyanogenMod 11 for my Captivate.

Sunday, November 24, 2013

Dropbox LAN Sync

Dropbox is so cool.

I saw this the other day and went to learn about it.


To make sure you have it, click on the Dropbox icon in the system tray. Then click on the gear icon in the top right corner and choose "Preferences."


Make sure that "Enable LAN sync" is checked then stand back.

Sunday, November 17, 2013

On the Way to VoIP - Part 8

The last step in my VoIP journey was porting. As noted in the articles referenced earlier, to get the POTS number to Google Voice required moving it first to a cellular carrier then on to Google Voice.

Several authors suggested that T-Mobile was the least expensive way to do this. But I was hoping that since the POTS line was with AT&T already that moving it to an AT&T wireless service would be easier.

NOT.

Since there's a $38 fee for setting up a new line on my AT&T Wireless family plan I chose to go with AT&T's GoPhone offering with a $10 monthly plan.

I have an old Captivate that I could use for this so I went to the nearby AT&T corporate store to initiate the transfer.

BEDLAM.

The first salesperson couldn't remember how to do this and said that I would have to first get a GoPhone number then port the POTS number to it. I excused myself from him and found my usual salesperson. She made the transaction much smoother.

UNTIL.

As I stood in the store chatting with the salesperson my cell phone rang. It was the AT&T transfer department  They had an "error." My POTS line had 2 distinctive ring features that couldn't be ported. I said it was fine to drop these. He said he would make that change and put the request right back in the system. He said he expected it to be complete in 3 business days.

3 business days came and went. On the 4th business day I called the transfer department. They said that there had been more "errors." Each time the POTS group would kick it back to GoPhone. Then the GoPhone transfer department would fix the "error" and send it back to POTS. Repeatedly. Apparently the POTS group was only giving them one problem at a time.

The ETA was set at the 6th business day. My salesperson said that that actually meant midnight of the 5th day and that's how it worked out.

At 11:00 PM CDT (12:00 AM EDT) the Captivate got a text message that the port was complete. I immediately forwarded the Captivate to the temporary Google Voice number.

Within an hour Google Voice showed that it was eligible to transfer and I initiated the transfer. There were a few minor hoops to jump through and I paid them $20 using Google Wallet.

Be sure and get the account number for the GoPhone. You'll need to give that to Google Voice. AT&T calls that the BAN.

AND THEN...

Exactly 24 hours after I submitted the port request to Google Voice:
We’re writing to let you know that your phone number: xxx-xxx-xxxx has been successfully ported to Google Voice!
Finished! Or just starting?

Sunday, November 10, 2013

On the Way to VoIP - Part 7

You'll recall that I implemented Quality of Service (QoS) in support of my Voice over Internet Protocol (VoIP) migration. And subsequently I moved my Internet connection from AT&T's DSL Extreme to Comcast's Performance Internet.

Here's what Comcast looked like via speedtest.net over the Gigabit Ethernet.


But when I connected over Wi-Fi downloads were much slower.


Hmmm. Why? Was it the router?

Remember that I was running a Cisco E2000 with dd-wrt. I'd had lunch with an old friend and he mentioned that he had moved to a new Asus router and it significantly increased his speed. I bought an Asus RT-N65U.

I installed it and ran the speedtest.net test over Wi-Fi again.


That's more like it.

Here's what Windows thought about the Wi-Fi from the routers.


My speculation is that although the E2000 supported 802.11n it looks like dd-wrt didn't enable it. Or it could have been something that I did or didn't do.

The Asus supports "2.4GHz and 5GHz concurrent dual-band transmissions with dual processor design for stronger signals and faster connection rates up to 750Mbps combined." I think that's the difference.

I haven't enabled any QoS on the Asus.

The Asus easily supports guest networks so I setup the "attwifi" SSID that I mentioned here. I haven't had any visitors come by yet but all my AT&T smartphones see it and put it at the top of their list.

Sunday, November 03, 2013

On the Way to VoIP - Part 6

Going down the road with Comcast I was facing $7.00 per month to rent a modem.

OR

I could buy my own. I came across a good price on a Cisco DPC3008 DOCSIS 3.0 modem and grabbed it.


The Comcast installer didn't blink an eye about it and installed it and activated it with no questions asked.

Interestingly it looks like Comcast downloaded their own firmware onto it.


And it's fast.



Wednesday, October 30, 2013

To Be Fair, Again and Again

To be fair, Google's services (sorry but I couldn't find another source) went down recently as did Microsoft's services, again.

To be fair, this is what Microsoft's Dashboard looked like:

Manual actions to perform Swap Deployment operations on Cloud Services may error, which will then restrict Service Management functions. At this time we advise customers to delay any Swap Deployment operations.
To be fair, this is what I got when I went to Google's Dashboard:


To be fair, Microsoft's lasted 24+ hours (for one function) compared to Google's 20 minutes (for 0.02% of the Gmail user base).

To be fair, both probably had lingering effects.

To be fair, this is what life in the cloud is going to be like for the foreseeable future. But there is a pattern here. The Register called it a "Blue Sky of Death."

Follow-Up: Microsoft talks to The Register.

Sunday, October 27, 2013

On the Way to VoIP - Part 5

If you've been following my path to VoIP you know that one of my next steps was to install Comcast Internet. I did that recently after a fruitless discussion with AT&T about retaining me as a customer after nearly 40 years. They didn't seem interested.

As soon as the Comcast technician left following the install I fired up speedtest.net. As expected it was way better than AT&T's DSL Extreme. But I had a nagging feeling that the pages themselves didn't come up as quickly as I expected.

I suspected DNS servers so I went to the router to see what it was given: 75.75.75.75. Off to Google with that IP address and sure enough that is the Comcast DNS servers and the Internet is full of complaints about them.

One of the most thorough discussions was here with this illustration. Now I understand that many servers "rate limit / de-prioritize ICMP packet based ping" so a simple ping test is not sufficient as this comment states.

But I tried it myself anyway.


The 8.8.8.8 server is Google's.

Even understanding the potential throttling of ping responses it seems that the Comcast DNS servers are less responsive than Google's.

I switched the DNS servers in the router to 8.8.8.8 and perceived that it was faster. I realize that this was purely subjective.

In trying to be more objective, I ran Steve Gibson's Domain Name Speed Benchmark.


His test didn't show a significant difference.

What to do? I think I'm going to stick with Google's for the time being to isolate DNS services from my ISP as I switch providers.

Sunday, October 20, 2013

winsxs

Do you know what winsxs is? Do you want to save gigabytes on your SSD? Read on.

In Vista Microsoft introduced a capability intended to alleviate DLL Hell. I guess it did but it introduced a new problem.

I first observed the winsxs problem on my daughter's Vista ThinkPad. Her husband had tried repeatedly to install an anti-virus. You'll recall that anti-virus vendors had problems early on with Vista. The result of these repeated installs was a hugely bloated winsxs directory. A clean of Windows 7 fixed that.

But the problem didn't go away. When I build my T420s I began tracking the growth in winsxs. It went from 10GB immediately after install to over 16GB after 20 months.

I wasn't the only one noticing this. Here are a collection of articles on this problem.


In the October 2013 patches, Microsoft quietly slipped in an update that helps.
Update is available that enables you to delete outdated Windows updates by using a new option in the Disk Cleanup wizard in Windows 7 SP1
The steps on how to recover the disk space are here. My winsxs went down from 16.1GB to 10.8GB on my 120GB SSD. Even better I saved over 7GB on my X100e's 60GB SSD.


Make sure that your system is stable before you do this. Afterwards you can't uninstall any previous updates.

It takes a reboot to realize the savings.

Sunday, October 13, 2013

On the Way to VoIP - Part 4

While testing the OBi100 during one call I was simultaneously downloading a large file and uploading a similar sized file. While I didn't notice any distortion, the party on the other end said the conversation was "choppy" to them.

I went into my router's Quality of Service (QoS) screen. I added an entry for the MAC address of the OBi100.


When there is an active conversation the WAN bandwidth looks like this.

Sunday, October 06, 2013

How to Lose a Market

Someday (perhaps soon) RIM will be a case study in how to lose a market. Everybody knows the story but this is about one company's journey.

It started in the fall of 2000. The CIO of this Fortune 100 company sent this note to his technology manager.


The notes at the bottom are:
I want to try one of these - Can you please arrange. I want to interface with e-mail. Thx.
Signed by the CIO.

Then a yellow sticky from one of the technologists:
Handle this with great care. This is how a mess starts.
You can guess where this went next. Soon BlackBerrys were everywhere. And a significant investment in BlackBerry Enterprise Server (BES) and the associated licensing.

By 2007 there were approximately 4,000 BlackBerrys deployed. That's over $200,000 per year just for BES licenses.

Then on June 29, 2007 the world changed.

The enterprise guys said the iPhone would never succeed. It was just an iPod with a phone. We all know where that went.

Fast forward to 2013.

Even Gartner is piling on.

The enterprise is facing an expensive upgrade to BlackBerry Enterprise Server 10 in the face of the overwhelming success of not only the iPhone but Android and Windows Phone smartphones.

That was too much. Before the end of 2013 the enterprise will be an iPhone shop.

Sunday, September 29, 2013

On the Way to VoIP - Part 3

One of the things you need to consider when moving to VoIP is what are you going to do about E911.

Obihai has a partnership with Anveo to offer E911 serivces to Obihai customers for $12 per year. The instructions are here.

Alternatively you can use the copper pair of the POTS line you just disconnected! POTS carriers (and cellular carriers) are required by law to handle 911 calls even if there is no subscribed service.

There are 2 ways to do this. The first is to keep a phone plugged into your old house wiring and use that for calling 911. That's my plan.

The second is to use a OBi110 with a line port. Plug your old house wiring into this port and you're done. Here's a review from Amazon where someone has done exactly this.

Sunday, September 22, 2013

On the Way to VoIP - Part 2

As I was testing VoIP with the OBi100 I wanted to test using my smartphones as clients.

Obihai has apps for iOS and Android. These apps traverse the Internet back to your house and use the OBi100 to originate the call.

I installed the iOS app on my iPad and it worked perfectly the first time. Then I installed the Android app. I noticed that it was last updated in October 2011. Unfortunately it didn't work as smoothly. If you want to see the blow by blow read this. As noted it works sometimes but not very often.

There is discussion in that thread about using other SIP clients and I tried that briefly but that was really non-trivial to setup.

Since my goal was not really to network back to my house and use the OBi100 I went looking for just Google Voice clients.

I found GrooVe IP Lite. It did exactly what I wanted and worked the first time. It makes and receives Google Voice calls from your Android device. You have to enable Google Chat in your Google Voice account but that should be done already for the OBi100. The Lite version only works over Wi-Fi but that is fine for now. There's a good guide for installation and use here.

Why didn't Google just do this with their Google Voice app?

Sunday, September 15, 2013

Jelly Bean Easter Egg

Jelly Bean is so cool. I'm probably the last person to discover this but Jelly Bean has an Easter egg.

If you go to "Settings" / "About phone" and tap "Android verion" several times a jelly bean will pop up. Long press it and it confirms that you're running "Jelly Bean" and then gives you a screen with floating jelly beans. The only objective is to flick the jelly beans off the screen. I guess it's a good time killer.

Similarly if you're running CyanogenMod tapping on "CyanogenMod version" will get you their Easter egg.


Engadget had a post on the Easter egg with a video of it in action.

Sunday, September 08, 2013

Jelly Bean Notifications

I'm still finding new stuff in Android's Jelly Bean. I recently moved to Pocket Casts and noticed that Pocket Casts takes advantage of a new Notification feature in Jelly Bean.

Applications can put additional information and even action buttons in the Notification area.

Here's the normal notification from Pocket Casts.


To expand the Pocket Casts notification, drag it down with 2 fingers.


You can resume playing the podcast directly from the Notification screen.

Nice.

Sunday, September 01, 2013

2013 Pathfinder Setup

Remember my recent post about my Honda Accord's iMID system? Now my wife has gotten a new car, a 2013 Nissan Pathfinder. It has an in-dash screen but it is not as comprehensive as the Accord's. Subsequently some of the setup is a bit more obtuse.

Procedure for storing the outside mirror positions for best visibility when backing up

An outside mirror position for backing up can be stored for each memory switch (1 and 2):
  1. Set the parking brake.
  2. Place the ignition in the ON position. (Do not start the engine.)
  3. Push the memory switch 1 or 2 fully for at least one second to operate the automatic drive positioner.
  4. Turn the outside mirror control switch to L (Left).
  5. Depress the brake pedal.
  6. Move the shift selector to R (Reverse).
  7. Adjust the mirror to the desired viewing position for backing up by operating the outside mirror control switch.
  8. Push the SET switch and, within five seconds, push the memory switch 1 or 2 selected in step 3.
    • The indicator light for the pushed memory switch will come on and stay on for approximately five seconds after pushing the switch. After the indicator light goes off, the selected mirror position is stored in the selected memory (1 or 2).
  9. Turn the outside mirror control switch to R (Right). Repeat the above procedure to adjust the right mirror position and store in the selected memory.
    • When the driver’s seat and outside mirrors are not in the memorized position, the outside mirror will move with the initial tilt-down angle.
I love the "repeat" in step 9.

Sunday, August 25, 2013

Jelly Bean 4.3

It seems like I just finished upgrading everything to Jelly Bean. Now here comes Android 4.3. Another flavor of Jelly Bean.

As usual CyanogenMod is awesome. They started releasing CM 10.2 nightlies for a small set of devices and my Samsung Captivate was among them.

All I thought I had to do was to go to "Settings" / "About phone" and look in the "CyanogenMod updates".


From there I changed the "Update types" setting to "New versions (incl. Nightlies)" and I was shown the nightlies.


I chose cm-10.2-20130817-NIGHTLY-captivatemtd and let it download and install.

I was doing good until that point.

What I didn't realize was that they had to repartition the NAND storage. When the CM Updater tried to flash the ROM I got the following screen.


Whoops!

At that point I backed out and went to RTFM.

As usual there's a thorough thread on xda-developers.com. Obviously I should have started there.

I had missed 2 things that I should have done in preparation for this update. First, I needed to have a nandroid backup of /data before I started. Second, I needed new gapps (Google apps).

Fortunately I had just taken a nandroid backup and written it to my external SD card so I was ready with that.

The second post in the above thread had a link to the new gapps. I downloaded those and Bluetoothed them over to the Captivate.

So back to the CM Updater. This time I was expecting the prompt for repartitioning. What I didn't expect was to have to go searching for the "update.zip" referred to above.

It's not called update.zip. It's /storage/sdcard0/cmupdater/cm-10.2-20130817-NIGHTLY-captivatemtd.zip. At least now I know. So do you.

So the repartition and flash worked. Before I left recovery I restored /data using these instructions and rebooted.

Then I went back into recovery and installed the gapps.

Here's the result.


I thought I was finished.

I kept having various problems with a couple of apps. The first post in the above thread said to "WIPE (wipe data/factory reset + wipe cache partition)". CM Updater didn't do that.

I uninstalled and reinstalled YouTube, Voice, Drive and Chrome and everything has been quiet.

There's a new camera app called focal but as of the 20130817 nightly it is not complete.

I'm looking forward to TRIM running.

Subsequently I've upgraded to the 20130824 nightly and now focal works (so far).

Sunday, August 18, 2013

To Be Fair, Again

To be fair, Google's services went down recently as did Microsoft's services, again.

To be fair, this is what Microsoft's Dashboard looked like:


To be fair, this is what I got when I went to Google's Dashboard:


To be fair, Microsoft's lasted 40+ hours compared to Google's 2 minutes.

To be fair, both probably had lingering effects.

To be fair, this is what life in the cloud is going to be like for the foreseeable future. But there is a pattern here.

Sunday, August 11, 2013

On the Way to VoIP - Part 1

In some ways I'm still old fashioned. I still have POTS. And I have DSL. I've had my challenges with DSL but I'm living with it. I just go to my daughter's house to upload my videos and I've come up with an alternative to cloud backup. But I'm just making excuses.

And the cost.


$52.11 for voice service. And $42.95 for Internet.

Yeah, there are places where I can make minor savings. I can get the POTS down some and drop long distance. Then we could use our cells for long distance. But that requires re-training. I went and sat down with AT&T and they couldn't come up with any savings. I did learn something that I'll raise later.

In my news feeds I'd come across several articles on VoIP.
These inspired me. I've been using Goole Voice for my business line and was very satisfied with it.

The Obihai devices keep coming up in these discussions. There are several models including OBi100 and OBi110.


Where I'm headed is to:
  1. Move my Internet connection to Comcast (from AT&T DSL)
  2. Cancel my AT&T DSL
  3. Port my POTS number to Google Voice (not quite that simple)
  4. Use OBi100 to deliver the Google Voice number to home phones
Years ago when Google was more liberal with their Gmail account names I got a Gmail account that is [myhomenumber]@gmail.com. That was fortunate. Don't use your normal Gmail/Google Apps account for the Google Voice number. I added a Google Voice number to that Gmail account. I just let it assign a random (temporary) number for now. I'll fix that later.

Then I bought an OBi100.


That's a quarter sitting on top of the device.

Following the instructions here I setup the Google Voice account on the OBi100 in less than 5 minutes.

I plugged a spare phone into it and played with it. It worked fine.

My normal house phones are cordless Uniden CLX485s that only use one RJ11 connection. To give the OBi100 a real life test, I plugged the Uniden CLX485 base into the OBi100 and plugged the spare phone into the house RJ11. Remember that I can't unplug the house from the POTS due to the DSL services.

Then I forwarded my POTS number to the temporary Google Voice number.

Works like a charm.

There are even some unexpected benefits. When a call comes in to my POTS number, the spare phone will ding one time as it forwards to the temporary Google Voice number. Sometimes we would hear that ding and the temporary Google Voice number wouldn't ring.

I logged into the associated Google Voice account and there was nothing in the inbox. But there were entries in the spam folder. Google Voice was sending those calls directly to spam. Since I made this switch I have received NO telemarketer calls.

My plan is to continue with this configuration for a month to make sure I understand it completely.

The next steps are to install Comcast Internet and cancel AT&T DSL. Then port the POTS number to Google Voice.

Sunday, August 04, 2013

TRIM

Every now and then my propeller beanie comes out.


This is one of those times.

This time the recent announcement of Android 4.3 triggered it. AnandTech discovered that buried deep in the code was TRIM. And that the lack of TRIM was the cause of various Android devices getting slower as they get older.

Stop and think about that. How many Android devices have you had that you felt like got slower as they got older? And you thought you were just crazy?

NO!

They really were getting slower as they got older.

Here's the story in a nutshell.

Remember that Android smartphones use the same technology as SSD devices for internal memory. SSD devices read fast. They write to an empty block fast. Writing to a used block is slow. Really slow.

So when all the unused blocks in an SSD device get written to subsequent writes get really slow and the device slows down.

Why don't SSD drives in PCs and laptops exhibit this phenomenon?

One word: TRIM

Do you have an SSD in your PC? Try this.

Run Command Prompt (cmd) as an administrator and type: "fsutil behavior query DisableDeleteNotify".

I'll bet you got a "0." I did. That means your device and operating system support TRIM.


So what does TRIM do? Watch out for the spinning propeller.

SSDs are smart enough to know that they are slow writing to a used block. So the SSD will write to all the unused blocks first. Eventually it will have written to all the blocks. From that point forward, all writes will be slow.

But wait you say. My SSD isn't full. I've deleted lots of files. But when an operating system deletes a file, it doesn't really erase the data. It just nullifies the pointer to the file. So the blocks on the disk (SSD in this case) retain the data. Remember DOS Undelete programs?

So deleting files doesn't fix the write problem.

What to do?

TRIM enabled disks and operating systems have a protocol where periodically the operating system passes a list of blocks that were contained in deleted files to the SSD. Then in the background the SSD goes and clears those blocks.

Problem solved.

Crucial has a deeper discussion here.

Remember the ThinkPad X40 that I put an SSD in? It was so fast. At first.

Then it slowed to a crawl. My thread on the ThinkPad forums is here.

Now think about your Android tablet having that problem.

The solution? Get to Android 4.3 as fast as you can.