PDA

View Full Version : Setting up a Swap File on the rear USB outlet


satanta
22-08-09, 15:27
Setting up a Swap File on the rear USB outlet - Thanks to monkus.

Plug in a USB stick with at least 250mb capacity and FAT formatted in to the rear port.

Power up your AZBox.

Press the Blue button and select Settings then: -> Storage -> Device -> - Select USB(1)

Highlight Format and press OK - this will format the USB Stick to EXT3.

Using a FTP Client such as FileZilla, log in to your AZBox.

From the AZBox HD-Tools section, select monkus_tools_1.6: http://geronimosden.com/showthread.php?t=16751 and use the two files within the "swapon" directory, namely:
openxcas.conf
swapon.sh

Copy openxcas.conf to /PLUGINS/OpenXCAS/

Create directory /PLUGINS/OpenXCAS/swapon/

copy file swapon.sh to /PLUGINS/OpenXCAS/swapon/

CHMOD /PLUGINS/OpenXCAS/swapon/swapon.shs – 755

Exit your FTP Client.

Log in to your AZBox with a telnet session, and create a symbolic link by entering the following command:

ln -s /PLUGINS/OpenXCAS/swapon/swapon.sh /DISK2/etc/start.d/S2swap

Reboot your AZBox

The Swap File is now set up, in order to verify it is there:

Log in to your AZBox with a telnet session.

Enter: free

The screen's response will be something like this:

total used free shared buffers
Mem: 101500 93592 7908 0 2816
Swap: 102392 0 102392
Total: 203892 93592 110300


Barry..
.