USB & Swap With ExtRoot
-
Upload
basuki-ariawan -
Category
Documents
-
view
61 -
download
6
description
Transcript of USB & Swap With ExtRoot
Friday, 16 March 2012 00:57
USB & Swap with ExtRoot
TL-MR3420 Ver1.2 [ USB & Swap support with ExtRoot ]
Reference, thanks & credits go to the following :
http://wiki.openwrt.org/doc/howto/extroot
https://forum.openwrt.org/viewtopic.php?pid=123070#p123070
[Optional] Setup as Standalone Device
I setup the device as standalone unit as follows, with main gateway pointing to my TL-WR1043ND [192.168.1.1], which is also runningOpenWRT
Disconnect PC from the device, connect and attach the device to existing LAN switch, open browser and type the device's new IP
I disabled some of the following services
MAIN MENU
Home
News -MUST Read!!
Travel & Entertainment
TM-UNIFI RELATED
About TM-UniFi
Replacement Option Summary
My Setup
MikroTik
TP-Link
ASUS
DD-WRT for UniFi
ISP & TELCO
SingTel Fibre
OPENWRT RELATED
About OpenWrt
TL-WR1043ND Ver1.8 [UniFi Ready!]
TL-WR941ND Ver3.2 [UniFi Ready!]
TL-MR3420 Ver1.2 [UniFi -Vlan.500]
USB, Swap, ExtRoot
Samba, FTP, Transmission
MiniDLNA
UniFi Setup
Network Printer via USB
TL-WR740N Ver4.2 [UniFi -Vlan.500]
RT-N13U-B1 [UniFi Ready!]
RT-N10+ C1 [UniFi Ready!]
WHR-G300N-V1 [UniFi Ready!]
DIR-615-G1 [UniFi Ready!]
TL-WDR4300-V1.3 [UniFi Ready!]
DD-WRT RELATED
About DD-WRT
Setup Walk Through
TP-Link
Buffalo
ASUS
TOMATO RELATED
About Tomato
Buffalo WHR-HP-G54
GADGETS
BeatBox BlueTooth Mini Speaker
ASUS WL-330N3G
CANSONIC-CDV600
MeLE A100
In-Car DVR (Dual Camera)
TP-Link Portable Routers
Mobile Phone
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
1 of 9 06/05/2013 21:16
Also named the device
Reboot the device after the above setup
Prepare USB2 External 2.5" HDD
I use Minitool Home Free to create 2 partition as follows on an USB2 external 2.5" SATA HDD
D-Link DNS-320 [NAS]
HDMI Switch
HDMI Splitter
HDMI Extender
Universal Remote Control - Learn &
Store Permanently
OpenBox S9 HD
DreamBox DM500-S
Laptop Universal Charger (90W)
GPS
Garmin
China Made GPS
INFORMATION
SoPhone Vs iPhone4 [HK eZone
20Jan2011]
TP-Link PA-211 HomePlug AV (3rd
Generation) [by HK eZone 20Jan2011]
HomePlug - 9 Products Comparison
(Chinese)
P1 => PUI-1 ?!
P1 Fiber - What a tough journey .....
P1 D-Link DVG-N5412SP-A1
P1 Router Replacement
P1 Fiber - Terminate!
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
2 of 9 06/05/2013 21:16
Partition 1 : about 1GB for Linux SwapPartition 2 : all remaining size for data on ext3 filesystem
(Note: Refer HERE for more information on HDD partitioning)
Setup USB, Swap and ExtRoot
To install package, go to " System --> Software tab "Click Update lists
Once the list updated, type " kmod-usb-storage ", click Find packageClick on Available tab, click Install the following package
Continue to finish install the following packages
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
3 of 9 06/05/2013 21:16
Plug-in the USB2 HDD now
Go to " System --> Reboot tab "Click Perform reboot
After reboot, launch PuTTY, type the following command lines, then reboot the device again
After reboot, launch WinSCP, go to " /etc/config " folderLocate & edit the file fstab
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
4 of 9 06/05/2013 21:16
Change to the following, take note the partition numbering:
/dev/sda1 = Partition 1 (LinuxSwap)/dev/sda2 = Partition 2 (ext3 for data)
Back to LuCI, reboot the device
After re-boot, go to the following section, notice the free space now, YEAH !
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
5 of 9 06/05/2013 21:16
Go to check the Mount Points, the ext3 is mounted correctly to /overlay, however in my case, the swap seem not working, not sure why....So I click Edit it
Enable the swap as follows
Go to Startup, ensure the fstab is Enabled
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
6 of 9 06/05/2013 21:16
Reboot the device, again ....
Wah-la, all mounted nicely !
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
7 of 9 06/05/2013 21:16
Launch PuTTY to re-confirm again
To spin down the HDD after some time of idlingInstall the luci-app-hd-idle
Noticed there is a new tab under Services, setup the HDD idling accordingly.
Finally, USB HDD + SWAP + ExtRoot all done
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
8 of 9 06/05/2013 21:16
USB & Swap with ExtRoot http://www.klseet.com/index.php/tl-mr3420-ver12/usb-swap-extroot
9 of 9 06/05/2013 21:16