-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-01-25 at 15:54 -0800, Jim Cunning wrote:
Interesting. It might be possible to modify the firmware image before re-flashing the device, if it is a bootable disk image. For example, the IPcop router software is available as a bootable image that can be transferred to a flash card and booted on a diskless system.
What does "file <router flash image file>" show?
Well, this router (a comtrend CT536+) gets its image depending on the ISP supplying it, and my ISP hasn't published any image, as far as I know. The other ISP has, but it is slightly different so I won't flash it with that image. And I can not extract the current contents, there is no command for it. I can run 'file' on the other isp flash image, but it says it is just data: cer@nimrodel:~/Documentation/PC/router_comtrend/Jazztel> file CT-536B-A101-302JAZ-C01_R05.bin CT-536B-A101-302JAZ-C01_R05.bin: data I do have the sources, but also for the other provider, and no "making" documentation, so I will not try - you know the saying, if it works, don't touch it ;-) It has a kernel 2.4.17 and uses BusyBox v0.60.4, as the log shows: Apr 9 22:19:26 router BCM96345 started: BusyBox v0.60.4 (2005.10.07-11:27+0000) Apr 9 22:19:26 router klogd: klogd started: BusyBox v0.60.4 (2005.10.07-11:27+0000) Apr 9 22:19:26 router klogd: Total Flash size: 4096K with 71 sectors Apr 9 22:19:26 router klogd: Scratch pad is not used for this flash part. Apr 9 22:19:26 router klogd: 96348GW-11 prom init Apr 9 22:19:26 router klogd: CPU revision is: 00029107 Apr 9 22:19:26 router klogd: Primary instruction cache 16kb, linesize 16 bytes (2 ways) Apr 9 22:19:26 router klogd: Primary data cache 8kb, linesize 16 bytes (2 ways) Apr 9 22:19:26 router klogd: Linux version 2.4.17 (root@localhost.localdomain) (gcc version 3.1) #1 五 10月 7 19:23:37 CST 2005 Apr 9 22:19:26 router klogd: Determined physical RAM map: Apr 9 22:19:26 router klogd: memory: 00fa0000 @ 00000000 (usable) Apr 9 22:19:26 router klogd: On node 0 totalpages: 4000 Apr 9 22:19:26 router klogd: zone(0): 4000 pages. Apr 9 22:19:26 router klogd: zone(1): 0 pages. Apr 9 22:19:26 router klogd: zone(2): 0 pages. Apr 9 22:19:26 router klogd: Kernel command line: root=/dev/mtdblock0 ro Apr 9 22:19:26 router klogd: bcm_console_setup Apr 9 22:19:26 router klogd: Calibrating delay loop... 255.59 BogoMIPS Apr 9 22:19:26 router klogd: Memory: 14228k/16000k available (1161k kernel code, 1772k reserved, 80k data, 48k init, 0k highmem) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD4DBQFHmn80tTMYHG2NR9URAnFJAJiLhn3dnVCJITog1PW9TnTdiXhRAJ0WgvtG 76OAYfbmsBq2imx43sSNfA== =/FVS -----END PGP SIGNATURE-----