Adding a heatsink on the Asus USB-N10 wireless adapter

  bash, hardware, raspberry-pi

Description: ASUS USB-N10 Wireless Adapter IEEE 802.11b/g/n USB 2.0 Up to 150Mbps Wireless Data Rates 64/128-bit WEP, TKIP, AES, WPA-PSK, WPA2-PSK

The problem: the device overheats and shuts down. Only after an unplug and plug in does the device start working again. Solution: add a heat sink.



Cut it open (ex with a dremel, carefully)
Carefully remove the electronics:
Check that it still works:
Remove the components from the metal casing:
Attach a heat sink on the adapter:
Bottom:

Plug it in:

Turn on hub:

Wait for Asus USB-N10 blue LED light to come on:

Test the connection by downloading large files. 

endlessdownload.sh:

#!/bin/bash
# Downloads a file over and over again. Useful to test your connection.
# Alan Lupsha, 2014.
  
# SET THIS! This is the URL to your large file that
# you're downloading over and over again
URL=http://192.168.0.10/test/a
  
# use wget to grab the file, redirect to dev null:
COUNTER=0
TOTAL=0
while true; do
 
 GB=$((TOTAL >> 30))
  MB=$((TOTAL >> 20))
 
  echo "Run #$COUNTER at `date` Total downloaded $MB MB, $GB GB"
  wget -qO- "$URL" &> /dev/null;
 
  # Get the file size, remove the carriage return
  DL=`curl -sI "$URL" | grep Content-Length | cut -d ' ' -f 2 | tr -d '\r'`
 
  let TOTAL=TOTAL+${DL}
  sleep 0;
  let COUNTER=COUNTER+1
 
done 

Example output:

pi@raspberrypi ~ $ ./endlessdownload.sh
Run #0 at Wed Feb 26 22:08:00 EST 2014 Total downloaded 0 MB, 0 GB
Run #1 at Wed Feb 26 22:08:34 EST 2014 Total downloaded 78 MB, 0 GB
Run #2 at Wed Feb 26 22:09:07 EST 2014 Total downloaded 156 MB, 0 GB
Run #3 at Wed Feb 26 22:09:40 EST 2014 Total downloaded 234 MB, 0 GB
Run #4 at Wed Feb 26 22:10:13 EST 2014 Total downloaded 312 MB, 0 GB
Run #5 at Wed Feb 26 22:10:46 EST 2014 Total downloaded 390 MB, 0 GB
Run #6 at Wed Feb 26 22:11:19 EST 2014 Total downloaded 468 MB, 0 GB
Run #7 at Wed Feb 26 22:11:53 EST 2014 Total downloaded 546 MB, 0 GB
Run #8 at Wed Feb 26 22:12:26 EST 2014 Total downloaded 625 MB, 0 GB
Run #9 at Wed Feb 26 22:12:59 EST 2014 Total downloaded 703 MB, 0 GB
Run #10 at Wed Feb 26 22:13:32 EST 2014 Total downloaded 781 MB, 0 GB
Run #11 at Wed Feb 26 22:14:05 EST 2014 Total downloaded 859 MB, 0 GB
Run #12 at Wed Feb 26 22:14:39 EST 2014 Total downloaded 937 MB, 0 GB
Run #13 at Wed Feb 26 22:15:15 EST 2014 Total downloaded 1015 MB, 0 GB
Run #14 at Wed Feb 26 22:16:00 EST 2014 Total downloaded 1093 MB, 1 GB
Run #15 at Wed Feb 26 22:16:33 EST 2014 Total downloaded 1171 MB, 1 GB
Run #16 at Wed Feb 26 22:17:06 EST 2014 Total downloaded 1250 MB, 1 GB
Run #17 at Wed Feb 26 22:17:39 EST 2014 Total downloaded 1328 MB, 1 GB
Run #18 at Wed Feb 26 22:18:12 EST 2014 Total downloaded 1406 MB, 1 GB
Run #19 at Wed Feb 26 22:18:46 EST 2014 Total downloaded 1484 MB, 1 GB
Run #20 at Wed Feb 26 22:19:19 EST 2014 Total downloaded 1562 MB, 1 GB
Run #21 at Wed Feb 26 22:19:52 EST 2014 Total downloaded 1640 MB, 1 GB
Run #22 at Wed Feb 26 22:20:25 EST 2014 Total downloaded 1718 MB, 1 GB
Run #23 at Wed Feb 26 22:20:59 EST 2014 Total downloaded 1796 MB, 1 GB
Run #24 at Wed Feb 26 22:21:32 EST 2014 Total downloaded 1875 MB, 1 GB
Run #25 at Wed Feb 26 22:22:05 EST 2014 Total downloaded 1953 MB, 1 GB
Run #26 at Wed Feb 26 22:22:38 EST 2014 Total downloaded 2031 MB, 1 GB
Run #27 at Wed Feb 26 22:23:11 EST 2014 Total downloaded 2109 MB, 2 GB
Run #28 at Wed Feb 26 22:23:44 EST 2014 Total downloaded 2187 MB, 2 GB
Run #29 at Wed Feb 26 22:24:17 EST 2014 Total downloaded 2265 MB, 2 GB
Run #30 at Wed Feb 26 22:24:50 EST 2014 Total downloaded 2343 MB, 2 GB
Run #31 at Wed Feb 26 22:25:23 EST 2014 Total downloaded 2421 MB, 2 GB
Run #32 at Wed Feb 26 22:25:57 EST 2014 Total downloaded 2500 MB, 2 GB
Run #33 at Wed Feb 26 22:26:30 EST 2014 Total downloaded 2578 MB, 2 GB
Run #34 at Wed Feb 26 22:27:03 EST 2014 Total downloaded 2656 MB, 2 GB
Run #35 at Wed Feb 26 22:27:36 EST 2014 Total downloaded 2734 MB, 2 GB