OpenWRT problem/misunderstanding

Giles Orr gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Jun 22 21:39:06 UTC 2013


I have two WRT54G routers I'm working on.  One is a WRT54GS v2 (thanks
Evan!), and the other is a WRT54G v2.  The latter is supposed to have
4MB of Flash and 16MB of RAM.  Today I flashed it from the original
Linksys firmware to
http://downloads.openwrt.org/backfire/10.03.1/brcm-2.4/openwrt-wrt54g-squashfs.bin
, which I believe is the correct OpenWRT firmware.  The flash was
successful, and I logged into the device via telnet (it initially has
no password and is telnet only, as soon as you set a password it
switches to ssh).  I tried:

   # free
                 total         used         free       shared      buffers
     Mem:        14316        12056         2260            0         1444
    Swap:            0            0            0
   Total:        14316        12056         2260

   # df -h
   Filesystem                Size      Used Available Use% Mounted on
   /dev/root                 1.7M      1.7M         0 100% /rom
   tmpfs                     7.0M    104.0K      6.9M   1% /tmp
   root                      1.7M      1.7M         0 100% /tmp/root
   mini_fo:/tmp/root         1.7M      1.7M         0 100% /tmp/root
   /dev/mtdblock/4           1.5M    328.0K      1.2M  21% /overlay
   mini_fo:/overlay          1.7M      1.7M         0 100% /

Which of these is Flash, and which is ROM?  And why am I not seeing
the kind of numbers (4/16) that I'm expecting in either?  Or am I
totally confused?

I had a similar problem with the WRT54GS: I followed their more
conservative installation routine, installing OpenWRT v8.09 then
updating to 10.03.1 - after which I could still ssh in fine, but I
discovered that I couldn't install anything with opkg because the
device believed the memory was entirely full.  This seemed improbable,
as it's supposed to have 8MB and 32MB, and I'd done nothing except the
two step flash.

I suspect I have some horrible misunderstanding, but I can't quite
figure it out despite attempts to research it.  Help would be very
much appreciated, thanks.

--
Giles
http://www.gilesorr.com/
gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list