Hi Folks,
I have a Rosewill RNX-GX4. It's got a BCM5354 Broadcom chip with 4MB of serial flash. I'm currently running Openwrt version 10.3.
I have a system that I want to back up. My plan is to create a .trx image and then use that to burn other routers. My process seems to work fine, except when I restore the image to a new router, I've noticed that the image has overwritten the MAC address on the new unit. I then end up with multiple units with the same MAC address, which is not good. I do know how to reprogram the MAC using nvram set, and nvram commit commands, but I would prefer not to do this. Is there a way to prevent this? In other words, create a .trx image without including the nvram area.
Thanks
Shawn
Here is my flash information:
dmesg:
Creating 5 MTD partitions on "sflash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x0009c000-0x00230000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary --
force read-only
0x003f0000-0x00400000 : "nvram"
0x00230000-0x003f0000 : "rootfs_data"
Command that I'm using to create the .trx image on a remote machine:
ssh -l root 192.168.2.109 -C 'mount -o remount,ro /dev/mtdblock/4
/overlay ; dd if=/dev/mtdblock/3 ; mount -o remount,rw /dev/mtdblock/4
/overlay' > backup.trx