SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > Asuswrt-Merlin

Reply
 
Thread Tools Search this Thread Display Modes
  #351  
Old 09-28-2014, 12:04 AM
Lizbeth Lizbeth is offline
New Member
 
Join Date: Sep 2014
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Lizbeth is just starting out
Default

Ok, that works! I prefer the desktop gui so ill guess ill be using the remote gui vs the mobile gui that shows by default. Even so, this looks great!

Many Thanks!




Reply With Quote
  #352  
Old 09-28-2014, 01:09 PM
Lizbeth Lizbeth is offline
New Member
 
Join Date: Sep 2014
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Lizbeth is just starting out
Default

Creating a swap space isnt so difficult. I used it on my rt-n56u router usingf these instructions below from this site: https://code.google.com/p/rt-n56u/wi...nfigureEntware

I copied a portion of the instructions from that site and am assuming you have ssh's into your router with putty or terminal or something of that ilk. i use a 1 gig swap space which is way more than i should ever need on a router with 256mb of memory. A good rule of thums is to use a swap space 2 times larger than your memory ammount, though there are exceptions (compiling chrome os comes to mind)


If you need a swap partition

You may need a SWAP partition if you intend to use applications like BitTorrent-clients or applications that require large amounts of memory (download managers, 'tiny servers', etc.). Also, the presence of the SWAP partition is recommended when using a media server UPnP/DLNA, which is in the process of database creation of media content consumed a large amount of RAM.

Important note! It is not recommended to create swap files or partitions on USB hard drives. There is a risk of a system crash if the USB disk is unplugged incorrectly (for example, if router is powered off suddenly, or some other reason).

# fdisk -u /dev/sda


Command (m for help): m
Command Action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)


Command (m for help): d
Selected partition 1


Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (2048-15820799, default 2048): Using default value 2048
Last sector or +size or +sizeM or +sizeK (2048-15820799, default 15820799): +256M


Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First sector (502049-15820799, default 502049): Using default value 502049
Last sector or +size or +sizeM or +sizeK (502049-15820799, default 15820799): Using default value 15820799


Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap)


Command (m for help): p


Disk /dev/sda: 8100 MB, 8100249600 bytes
175 heads, 12 sectors/track, 7533 cylinders, total 15820800 sectors
Units = sectors of 1 * 512 = 512 bytes


Device Boot Start End Blocks Id System
/dev/sda1 2048 502048 250000+ 82 Linux swap
Partition 1 does not end on cylinder boundary
/dev/sda2 502049 15820799 7659375+ 83 Linux
Partition 2 does not end on cylinder boundary


Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table


Now unmount the drive:

# ejusb

Now format the partition with volume label "Main".

# mkfs.ext4 -m 0 -T largefile -L Main /dev/sda2
mke2fs 1.42.8 (20-Jun-2013)
Filesystem label=Main
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
7552 inodes, 1914843 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1962934272
59 block groups
32768 blocks per group, 32768 fragments per group
128 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

And create the swap space:

# mkswap /dev/sda1
Setting up swapspace version 1, size = 255996416 bytes
Reply With Quote
  #353  
Old 09-28-2014, 09:10 PM
Lizbeth Lizbeth is offline
New Member
 
Join Date: Sep 2014
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Lizbeth is just starting out
Default GRRRR Never had this much trouble with the n56u

Ive run this for awhile and then it quits. Tried the swap file. guess ill try the swap partition. It goes until i try to upload knoppix torrents then crashes. tunnel in via terminal, restart transmission try to access either daemon and it crashes...

Reply With Quote
  #354  
Old 09-29-2014, 03:07 AM
TeHashX's Avatar
TeHashX TeHashX is offline
Very Senior Member
 
Join Date: Jul 2012
Location: Europe
Posts: 615
Thanks: 138
Thanked 230 Times in 131 Posts
TeHashX is just starting out
Default

Quote:
Originally Posted by Lizbeth View Post
Ive run this for awhile and then it quits. Tried the swap file. guess ill try the swap partition. It goes until i try to upload knoppix torrents then crashes. tunnel in via terminal, restart transmission try to access either daemon and it crashes...

Your usb disk is formatted fat32 or ntfs?
Reply With Quote
  #355  
Old 09-30-2014, 04:16 PM
Lizbeth Lizbeth is offline
New Member
 
Join Date: Sep 2014
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Lizbeth is just starting out
Default

ext4 with a 1 gig linux swap partition enabled. i tried ext2/3 with the same results but it takes so long to partition with ext2/3 on a terabyte hd.

I tried it with only uploading knoppix bittorrents with and without swap file 256/512/1g swap file and 512/1g swap partition and the results are the same. knoppix bittorrents crashes it for some reason.

Currently i have d/l bittorrents for solydxk, linuxmint 17/16/15/14/13/lmde, deepin 2013/14, and they seem to be running fine. it did crash once after i added the 2014 deepins but i may have rushed it a bit. ssh tunneled in and restarted transmission

Last edited by Lizbeth; 09-30-2014 at 04:23 PM.
Reply With Quote
Reply

Tags
asuswrt, howto, optware, tutorial

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 12:22 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  362
L&LD  168
azazel1024  156
stevech  133
ChristineBCW  117
john9527  115
hggomes  84
dirtyclyde  65
TonyH  64
4Leaf  52
RMerlin  5890
stevech  344
john9527  303
ryzhov_al  274
TeHashX  230
L&LD  225
RogerSC  195
sinshiva  146
joegreat  126
sfx2000  124
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  35688
Old Shellshock...  23671
Old Asuswrt-Merli...  19809
Old Does...  12245
Old T-Mobile...  9893
Old Most stable...  7162
Old RT-AC87R (U)...  6181
Old RT-N66U...  6133
Old Can't trust...  4023
Old New...  3106
Old Asuswrt-Merli...  171
Old Asuswrt-Merli...  89
Old Does...  72
Old Antenna...  62
Old T-Mobile...  61
Old RT-AC87R (U)...  42
Old Most stable...  37
Old Simple NAS...  37
Old USB N...  37
Old Shellshock...  31


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.