User Tools

Site Tools


swap_file

This is an old revision of the document!


Extending RAM via file SWAP

Introduction

There are some applications and network situations that may require the need for more RAM, like DLNA file indexing, Tor or disk checks. There are a couple of options of upgrading RAM, via soldering or using a SWAP partition on a USB thumb drive. This how-to describes installing SWAP on a USB thumb drive. This method is a bit slower but also more convenient. Your router will need a USB port like the TP-Link TL-WR1043ND v1-1.8

The SWAP partition will be automatically mounted after plugging the right media to router USB port.

Tor

If the SWAP partition provides enough memory Tor will be enabled.

If Tor is enabled without enough memory the router crashes.

Setup

Select a suitable USB pen/thumb/memory-stick drive.

The USB drive needs to be formatted with a Linux SWAP partition and I would suggest he rest of the drive formatted FAT32 for data storage.

There are a few software format options

  • Gparted (GUI)
  • Acronis Disk director (GUI)
  • Native linux - Fdisk (CLI)

Acronis Disk director

swap_file.1325071611.txt.gz · Last modified: 2011/12/28 11:26 by ispyisail