Tuesday, December 24, 2013

Install Shibby Tomato firmware on Asus RT-N66W router

For the most part, I followed instructions in this guide: How To Flash Tomato on the ASUS RT-N66U

Here are my exact steps:

1) Download and install the Asus Firmware Restoration Utility.

There was no download link on the RT-N66W support page, so I went to the RT-N66U support page. Here is what I downloaded:
ASUS RT-N66U B1 Firmware Restoration version 1.9.0.2
OS Support: Win 2003 / Win XP / Win Vista / Win 7 / Win 8
2) Download Shibby Tomato image file.

K26RT-AC is the version that works with RT-N66U and RT-N66W (and RT-N66AC as well). I installed the "AIO" (all-in-one) version which has all the features. There was also a "VPN" version that I'm guessing has only VPN. The exact file I downloaded is tomato-RT-N66U_RT-AC6x--115-AIO-64K.trx.

3) Continue following the steps from the guide:
  - turn off router
  - connect it directly to your PC
  - open the Firmware Restoration program and browse to the firmware image file you downloaded
  - hold reset and turn on router to put in rescue mode (it was not obvious to me that this step worked, since the "blinking" was not very fast, but everything worked out so the instructions must be correct)
  - turn on router
  - click "Upload" in the Firmware Restoration program

4) After the progress bar hit 100%, I got the error mentioned in the guide:
"Failed to connect to the wireless router. Check if the router's power LED is blinking, which denotes that the router is in rescue mode."
5) I kept waiting even though it seemed like nothing was happening and after ~15 minutes, the wifi lights (both 2.4 and 5 Ghz) came back on.

6) I skipped NVRAM clear steps in the guide and logged into the router at 192.168.1.1 (default login is root/admin). However I tried to change a setting (disable DHCP) and got an error "the field wl_key is invalid". Oops.

7) Clear NVRAM by: turning off router, holding WPS button and turning on router, continuing to hold WPS button for 30 seconds, releasing WPS button.

8) Tried to disable DHCP again and this time it worked! I have Verizon FiOS so I'm using the router as a secondary (a switch essentially) so I changed the following settings
  - gave the RT-N66W router a static ip in the Verizon-supplied router
  - changed the RT-N66W router ip to the chosen static ip
  - disable DHCP under Basic->Network->WAN/Internet->Type
  - disable DHCP under Basic->Network->LAN

Sunday, July 21, 2013

Sync iPhone 4 in Windows 7 with free iTunes alternative

I wanted to sync my iPhone 4 in Windows 7 but I did not want to install iTunes bloatware. Found a nice free iTunes alternative in CopyTrans Manager, by WindSolutions. 

It is super easy to use (just an exe, no installing) and has great documentation too. It does require the iPhone drivers that are typically installed with iTunes but there's even a super convenient installer that automatically installs only what you need without other iTunes crap.

I had to restart my computer before CopyTrans could detect my iPhone but otherwise it worked flawlessly.

I used CopyTrans Manager version 0.992, and the CopyTrans Drivers Installer 1.027.

Thanks WindSolutions! I am very impressed. I will definitely be checking out your other products.

Rhythmbox can't sync iphone 4 in Ubuntu 12.04

I have been trying to sync my iPhone 4 (not sure of iOS version but I just got it so maybe iOS 6?) in Rhythmbox but it either crashes, or it reports that "there is not enough space on this device."

I am running Ubuntu Precise 12.04.2 LTS.

Things I tried:

  • Updating libimobiledevice via the pmcenery ppa (following instructions here). I tried the libimobiledevice0, libimobiledevice1, and libimobiledevice2 packages. The most recent version is 1.1.1-4.
  • Updating Rhythmbox. I have version 2.96.
  • I tried using Spotify but it did not recognize my iPhone.

Sunday, June 30, 2013

Rebuilding RAID 1 (with Intel Matrix Storage Manager)

I am running a RAID 1 setup on an Intel Storage Matrix controller. After a power outage, the disks sometimes get out of sync.

To restore the RAID, install the Intel Storage Matrix Manager, then start the Intel Storage Matrix Console program.

Go to RAID Hard Drives and find the out of sync drive. Right click and select repair to start the rebuilding process.

Tuesday, June 25, 2013

Widening a blogger/blogspot blog

I wanted to display high-res pictures on a blog but the standard width was only ~500 pixels or so.

To widen the blog, from the blog page, click "Design", which will bring you to Template settings. Click "Customize", then "Adjust Widths".

To post 800 pixel wide pictures, I made my blog 1140 pixels, with a sidebar of 240 pixels.

When embedding youtube videos, I make the size 800x450 pixels.

Saturday, June 1, 2013

Gmail draining battery on android phone

I have a fairly new Samsung Note 2 phone running Android v4.1.2. One day I noticed that the battery was draining much more quickly than usual. (It usually lasts over two full days without a charge but recently it didn't even make it through one day.)

I went to Settings->Battery and it showed that Gmail was using 80% of the battery. This is weird because it's usually the screen or Android OS that consumes all the battery.

In the Gmail app, I also noticed that it was constantly refreshing on the lower right.

Google searching led me here, which recommended going to Settings->Application manager->All->GMail and clicking "Clear data". It was previously using several GB (I didn't record the exact amount) but after clearing, it was back down to ~13MB. Pre-clearing, the cache was also several GB and after it was ~2MB.

Clearing the data solved my problem.

Wednesday, May 29, 2013

Using different ssh keys for different github accounts

Mostly followed the advice from here (but it's not quite right --- see the comments).

(Note: I didn't follow the github recommended HTTPS method because I didn't feel like installing the credential helper app.)

Here are the general steps:
  • Create a new ssh key (see here for help). I named mine id_rsa_githubusername
  • Edit ssh config file (mine was at ~/.ssh/config) and add a new Host entry for each github account, ie:
Host githubusernamegit
    HostName github.com
    User git
    IdentityFile ~/.ssh/id_rsa_githubusername
  • clone with the command: 
git clone githubusernamegit:githubusername/repositoryname