To reflash your TS-8160, extract this tar.gz, cd into the 8160_avr_reflash
directory while booted in to Debian on a TS-4200 and type:

./reflash

It is important you run it from the directory you extracted it to as
the script makes use of other files in the same directory as the script.

If you have any questions, please send an email to support@embeddedARM.com
