{"id":19,"date":"2007-07-13T20:07:00","date_gmt":"2007-07-13T20:07:00","guid":{"rendered":"http:\/\/zensonic.dk\/?p=19"},"modified":"2017-04-09T10:04:13","modified_gmt":"2017-04-09T10:04:13","slug":"enabling-32mb-memory-on-the-linksys-wrt54g-router-version-2-2-xh-only","status":"publish","type":"post","link":"https:\/\/zensonic.dk\/?p=19","title":{"rendered":"Enabling 32MB memory on the linksys WRT54G router (version 2.2 XH only!)"},"content":{"rendered":"<p>Once in a while luck strikes. I was really lucky buying an wrt54g when they first appeared. I got a revision 2.2 which meant that they had ironed out the bugs from the first revisions, but not yet decided to cripple the unit as they did in revision 5 and 6. Furthermore I was lucky enough to get a revision 2.2XH on which linksys, for unknown reasons, has put 32MB of memory (normally 16MB for other revisions). Linksys has disabled half of the 32MB to make the unit look like every other wrt54g. Here is how to enable it.<\/p>\n<p>Firstly, no cheating:<\/p>\n<blockquote>\n<p>~\u00c2\u00a0# uname -a<br \/>\nLinux dd-wrt 2.4.34-pre2 #174 Fri Sep 15 20:38:23 CEST 2006 mips unknown<\/p>\n<\/blockquote>\n<p>How much memory to begin with:<\/p>\n<blockquote>\n<p>~\u00c2\u00a0# cat \/proc\/meminfo | head<br \/>\ntotal:    used:    free:  shared: buffers:  cached:<br \/>\nMem:  14516224 13836288   679936        0   462848  5664768<br \/>\nSwap:        0        0        0<br \/>\nMemTotal:        14176 kB<\/p>\n<\/blockquote>\n<p>Perform some magic:<\/p>\n<blockquote>\n<p>~\u00c2\u00a0# nvram set sdram_init=0&#215;008<br \/>\n~ # nvram set sdram_ncdl=0&#215;000<br \/>\n~ # nvram commit<br \/>\nnvram_commit(): end<br \/>\n~ # reboot<\/p>\n<\/blockquote>\n<p>How much do we have now?<\/p>\n<blockquote>\n<p>~ # cat \/proc\/meminfo | head<br \/>\ntotal:    used:    free:  shared: buffers:  cached:<br \/>\nMem:  31113216 18386944 12726272        0  1835008  8638464<br \/>\nSwap:        0        0        0<br \/>\nMemTotal:        30384 kB<\/p>\n<\/blockquote>\n<p>Ofcourse I use a custom firmware on the unit, but more on that in another post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once in a while luck strikes. I was really lucky buying an wrt54g when they first appeared. I got a revision 2.2 which meant that they had ironed out the bugs from the first revisions, but not yet decided to cripple the unit as they did in revision 5 and 6. Furthermore I was lucky [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-hardware"],"_links":{"self":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/posts\/19"}],"collection":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19"}],"version-history":[{"count":0,"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/posts\/19\/revisions"}],"wp:attachment":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}