Asus RT-AC66U -Howto BackUP CFE from Stock firmware?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Sun Jun 09, 2013 16:24    Post subject: Reply with quote
Hello, yes i feel alot better now, i have 3 confirm questions;

1 - can u confirm that the filename and checksum are same as urs?
dd-wrt-21676-Asus_RT-AC66U.trx

md5= E7B5A47764160D32A05D7B57FA45AF8C (all was checked unzipped)
sha1= 74CDD09B0780FF95E059A9562DAC3C765981445F

2 - is the SSH on port 22 working on the dd-wrt version 21676 ?

3 - is the firewall log management working on the dd-wrt version 21676? the accept/drop/reject logging?
Sponsor
jtrosky
DD-WRT Guru


Joined: 17 Apr 2009
Posts: 627
Location: Philadelphia, PA

PostPosted: Sun Jun 09, 2013 16:34    Post subject: Reply with quote
gekko2013 wrote:
Hello, yes i feel alot better now, i have 3 confirm questions;

1 - can u confirm that the filename and checksum are same as urs?
dd-wrt-21676-Asus_RT-AC66U.trx

md5= E7B5A47764160D32A05D7B57FA45AF8C (all was checked unzipped)
sha1= 74CDD09B0780FF95E059A9562DAC3C765981445F

2 - is the SSH on port 22 working on the dd-wrt version 21676 ?

3 - is the firewall log management working on the dd-wrt version 21676? the accept/drop/reject logging?


1. Yes - verified.
2. Yes - verified.
3. Not sure - don't use the firewall (using in wireless bridge mode)...

You should be fine....

_________________
1 x Linksys WRT160n v3
1 x Linksys WRT310n v1
1 x Linksys WRT600n v1.1
1 x Linksys WRT610n v1
1 x Linksys E2500
1 x Netgear WNDR3300
1 x Dlink DIR-825 v1
2 x Asus RT-AC66U
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Sun Jun 09, 2013 17:50    Post subject: Reply with quote
i found out that this command from Brainslayer makes a cfe backup in bin format; cat /dev/mtdblock0 > /tmp/cfebackup.bin but i dont know how to copy it to my usbstick sda1? ive tried cp cfebackup.bin /tmp/mnt/sda1 and i tried cp cfebackup.bin /tmp/mnt/sda_part1

Any ideas?Btw thanks for all the help so far most of it was very helpfull thnx!

1. Yes - verified.
2. Yes - verified.
3. Yes - verified. log management works!


Last edited by gekko2013 on Mon Jun 10, 2013 20:27; edited 1 time in total
jtrosky
DD-WRT Guru


Joined: 17 Apr 2009
Posts: 627
Location: Philadelphia, PA

PostPosted: Sun Jun 09, 2013 18:12    Post subject: Reply with quote
gekko2013 wrote:
i found out that this command from Brainslayer makes a cfe backup in bin format; cat /dev/mtdblock0 > /tmp/cfebackup.bin but i dont know how to copy it to my usbstick sda1? ive tried cp cfebackup.bin /tmp/mnt/sda1 and i tried cp cfebackup.bin /tmp/mnt/sda_part1

Any ideas?Btw thanks for all the help so far most of it was very helpfull thnx!


What happens when you do the cp? Do you get an error or are you just not seeing it on the USB stick?

No problem, by the way, glad to help where I can.

_________________
1 x Linksys WRT160n v3
1 x Linksys WRT310n v1
1 x Linksys WRT600n v1.1
1 x Linksys WRT610n v1
1 x Linksys E2500
1 x Netgear WNDR3300
1 x Dlink DIR-825 v1
2 x Asus RT-AC66U
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Sun Jun 09, 2013 18:36    Post subject: Reply with quote
jtrosky wrote:
gekko2013 wrote:
i found out that this command from Brainslayer makes a cfe backup in bin format; cat /dev/mtdblock0 > /tmp/cfebackup.bin but i dont know how to copy it to my usbstick sda1? ive tried cp cfebackup.bin /tmp/mnt/sda1 and i tried cp cfebackup.bin /tmp/mnt/sda_part1

Any ideas?Btw thanks for all the help so far most of it was very helpfull thnx!


What happens when you do the cp? Do you get an error or are you just not seeing it on the USB stick?

No problem, by the way, glad to help where I can.
cp cfebackup /tmp/mnt/sda_part1
cp: can't stat 'cfe.original': No such file or directory
cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfe.original.bin /tmp/mnt/sda_part1
cp: can't stat 'cfe.original.bin': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup /tmp/mnt/sda_part1
cp: can't stat 'cfebackup': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfe.original /tmp/mnt/sda1
cp: can't stat 'cfe.original': No such file or directory
admin@RT-AC66U:/tmp# cp cfe.original.bin /tmp/mnt/sda1
cp: can't stat 'cfe.original.bin': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup /tmp/mnt/sda1
cp: can't stat 'cfebackup': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfe.original /tmp/mnt/sda1
cp: can't stat 'cfe.original': No such file or directory
admin@RT-AC66U:/tmp# cp
BusyBox v1.17.4 (2012-11-06 22:54:45 CST) multi-call binary.

Usage: cp [OPTIONS] SOURCE DEST

Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY

Options:
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
Btw, does the dd-wrt version 21676 the one u use now have a working 5Ghz WIFI?

Anyway the only differents between the two ac66u i have i saw is the stock firmware version, the one am testing in now is this version 3.0.0.4.260 and the other one is this 3.0.0.4.266 version but i dont think that is the problem.
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Sun Jun 09, 2013 18:48    Post subject: Reply with quote
could anyone who not use bridgemode please check this Firewall Log Management accept/drop/reject ip/port etc for me 3. Not sure - don't use the firewall (using in wireless bridge mode)...if u use the dd-wrt version 21676 that is.

Last edited by gekko2013 on Sun Jun 09, 2013 18:57; edited 1 time in total
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Sun Jun 09, 2013 18:53    Post subject: Reply with quote
I allready mailed the developers of asus-wrt if they could make SSH in the next firmware version, i not fully remember if i asked for a CFE backup posibility but i will ask them to add it somehow.
Also mailed alot other ideas to them but thats offtopic.

U guys think that if they would enable SSH in asus-wrt that than we could use WinSCP or SFTP to download the CFE backup binary file to our PC? would that be usefull or?
jtrosky
DD-WRT Guru


Joined: 17 Apr 2009
Posts: 627
Location: Philadelphia, PA

PostPosted: Sun Jun 09, 2013 19:36    Post subject: Reply with quote
gekko2013 wrote:
jtrosky wrote:
gekko2013 wrote:
i found out that this command from Brainslayer makes a cfe backup in bin format; cat /dev/mtdblock0 > /tmp/cfebackup.bin but i dont know how to copy it to my usbstick sda1? ive tried cp cfebackup.bin /tmp/mnt/sda1 and i tried cp cfebackup.bin /tmp/mnt/sda_part1

Any ideas?Btw thanks for all the help so far most of it was very helpfull thnx!


What happens when you do the cp? Do you get an error or are you just not seeing it on the USB stick?

No problem, by the way, glad to help where I can.
cp cfebackup /tmp/mnt/sda_part1
cp: can't stat 'cfe.original': No such file or directory
cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfe.original.bin /tmp/mnt/sda_part1
cp: can't stat 'cfe.original.bin': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup /tmp/mnt/sda_part1
cp: can't stat 'cfebackup': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfe.original /tmp/mnt/sda1
cp: can't stat 'cfe.original': No such file or directory
admin@RT-AC66U:/tmp# cp cfe.original.bin /tmp/mnt/sda1
cp: can't stat 'cfe.original.bin': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup /tmp/mnt/sda1
cp: can't stat 'cfebackup': No such file or directory
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp cfe.original /tmp/mnt/sda1
cp: can't stat 'cfe.original': No such file or directory
admin@RT-AC66U:/tmp# cp
BusyBox v1.17.4 (2012-11-06 22:54:45 CST) multi-call binary.

Usage: cp [OPTIONS] SOURCE DEST

Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY

Options:
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
Btw, does the dd-wrt version 21676 the one u use now have a working 5Ghz WIFI?

Anyway the only differents between the two ac66u i have i saw is the stock firmware version, the one am testing in now is this version 3.0.0.4.260 and the other one is this 3.0.0.4.266 version but i dont think that is the problem.


It looks like the command above worked (the "cp cfebackup.bin /tmp/mnt/sda_part1" command). If the command is successful, it will not print any result.

To make sure the file is there, type this:

Code:

ls -l /tmp/mnt/sda_part1/cfebackup.bin


and it should show the file.

Really though, you'll be fine... Smile

You can always revert back to stock if you don't like DD-WRT... I've done it already - it works.

_________________
1 x Linksys WRT160n v3
1 x Linksys WRT310n v1
1 x Linksys WRT600n v1.1
1 x Linksys WRT610n v1
1 x Linksys E2500
1 x Netgear WNDR3300
1 x Dlink DIR-825 v1
2 x Asus RT-AC66U
jtrosky
DD-WRT Guru


Joined: 17 Apr 2009
Posts: 627
Location: Philadelphia, PA

PostPosted: Sun Jun 09, 2013 22:46    Post subject: Reply with quote
@gekko2013 - so, did you ever "pull the trigger" and flash DD-WRT on your AC66U?

Just curious how you made out...

Thanks.

_________________
1 x Linksys WRT160n v3
1 x Linksys WRT310n v1
1 x Linksys WRT600n v1.1
1 x Linksys WRT610n v1
1 x Linksys E2500
1 x Netgear WNDR3300
1 x Dlink DIR-825 v1
2 x Asus RT-AC66U
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Mon Jun 10, 2013 6:00    Post subject: Reply with quote
Well not yet, i want to be sure i have the bin version also, i also was becoming a bit lightheaded with all the info and i needed a good knight sleep but today i will try to get the cfebackup.bin file again and than .i will flash one of the router with the dd-wrt firmware
I also still need to know if 5Ghz wifi works? and i also need the log managent to work in v21676.
jtrosky
DD-WRT Guru


Joined: 17 Apr 2009
Posts: 627
Location: Philadelphia, PA

PostPosted: Mon Jun 10, 2013 9:12    Post subject: Reply with quote
gekko2013 wrote:
Well not yet, i want to be sure i have the bin version also, i also was becoming a bit lightheaded with all the info and i needed a good knight sleep but today i will try to get the cfebackup.bin file again and than .i will flash one of the router with the dd-wrt firmware
I also still need to know if 5Ghz wifi works? and i also need the log managent to work in v21676.


Yes, both 5Ghz and log management work fine in 21676. 5Ghz is what I use most (wireless bridge between two AC-RT66U's via 5Ghz wireless-AC). I've had no stability issues whatsoever.

Although, to be honest, I'm really not using a lot of the DD-WRT features (mainly use it for the wireless bridge functionality), so I can't guarantee *everything* works.

For the "cp" stuff, just type in the filenames exactly as they appear in "ls -l" and I don't see how it could fail.

Code:

cp /tmp/cfebackup.bin /tmp/mnt/sda_part1


Like I said, when the cp command works, it won't output anything at all. Then to verify that the file was copied:

Code:

ls -l /tmp/mnt/sda_part1/cfebackup.bin


Hope that helps.

_________________
1 x Linksys WRT160n v3
1 x Linksys WRT310n v1
1 x Linksys WRT600n v1.1
1 x Linksys WRT610n v1
1 x Linksys E2500
1 x Netgear WNDR3300
1 x Dlink DIR-825 v1
2 x Asus RT-AC66U
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Mon Jun 10, 2013 9:48    Post subject: Reply with quote
Hello, yes i will try it out thanks

And this is the crap i did to see if it would work, not understanding what i did but i have the backup of the second router now to, wich means the .260 or 266 firmware asus-wrt version didnt matter, but heres the outcome of it and i will explain what i did first;

i did some DIR switching to /tmp and than i did ls- l to see if the cfebackup was stil their, it was gone wth? well so i used the command from brainslayer to make the backup again in BIN format wich worked;

ASUSWRT RT-AC66U_3.0.0.4 Tue Nov 6 14:54:47 UTC 2012
admin@RT-AC66U:/tmp/home/root# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /tmp/mnt/sda1 type ufsd (rw,nodev,noatime,nls=utf8,fmask=0,dmask=0,force)
admin@RT-AC66U:/tmp/home/root# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: No such file or directory
admin@RT-AC66U:/tmp/home/root# ls -l /tmp/mnt/sda1/cfebackup.bin
ls: /tmp/mnt/sda1/cfebackup.bin: No such file or directory
admin@RT-AC66U:/tmp/home/root# cd /tmp
admin@RT-AC66U:/tmp# ls -l
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore0
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore1
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore2
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore3
drwxr-xr-x 3 admin root 620 Dec 31 12:02 etc
-rw-rw-rw- 1 admin root 785 Dec 31 12:00 filter.default
drwxr-xr-x 3 admin root 60 Dec 31 1969 home
drwxrwxrwx 3 admin root 60 Dec 31 12:02 mnt
drwxrwxrwx 3 admin root 140 Dec 31 12:00 ppp
-rw-rw-rw- 1 admin root 297 Dec 31 12:00 redirect_rules
-rw-rw-rw- 1 admin root 0 Dec 31 12:00 resolv.conf
-rw-r--r-- 1 admin root 0 Dec 31 1969 settings
drwxr-xr-x 2 admin root 40 Dec 31 1969 share
-rw-rw-rw- 1 admin root 14318 Dec 31 12:03 syslog.log
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 udhcpc -> /sbin/rc
-rw-rw-rw- 1 admin root 10 Dec 31 12:00 udhcpc0.expires
-rw-rw-rw- 1 admin root 917 Dec 31 12:02 usb.log
drwxr-xr-x 11 admin root 260 Dec 31 12:02 var
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 wpa_cli -> /sbin/rc
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 zcip -> /sbin/rc
admin@RT-AC66U:/tmp# cat /dev/mtdblock0 > /tmp/cfebackup.bin
admin@RT-AC66U:/tmp# ls -l
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore0
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore1
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore2
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore3
-rw-rw-rw- 1 admin root 262144 Dec 31 12:05 cfebackup.bin
drwxr-xr-x 3 admin root 620 Dec 31 12:02 etc
-rw-rw-rw- 1 admin root 785 Dec 31 12:00 filter.default
drwxr-xr-x 3 admin root 60 Dec 31 1969 home
drwxrwxrwx 3 admin root 60 Dec 31 12:02 mnt
drwxrwxrwx 3 admin root 140 Dec 31 12:00 ppp
-rw-rw-rw- 1 admin root 297 Dec 31 12:00 redirect_rules
-rw-rw-rw- 1 admin root 0 Dec 31 12:00 resolv.conf
-rw-r--r-- 1 admin root 0 Dec 31 1969 settings
drwxr-xr-x 2 admin root 40 Dec 31 1969 share
-rw-rw-rw- 1 admin root 14318 Dec 31 12:03 syslog.log
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 udhcpc -> /sbin/rc
-rw-rw-rw- 1 admin root 10 Dec 31 12:00 udhcpc0.expires
-rw-rw-rw- 1 admin root 917 Dec 31 12:02 usb.log
drwxr-xr-x 11 admin root 260 Dec 31 12:02 var
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 wpa_cli -> /sbin/rc
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 zcip -> /sbin/rc
admin@RT-AC66U:/tmp# cd /
admin@RT-AC66U:/# cat /dev/mtdblock0 > /tmp/cfebackup.bin
admin@RT-AC66U:/# cd /tmp/home/root
admin@RT-AC66U:/tmp/home/root# cat /dev/mtdblock0 > /tmp/cfebackup.bin
admin@RT-AC66U:/tmp/home/root# ls -l
admin@RT-AC66U:/tmp/home/root# cd /tmp
admin@RT-AC66U:/tmp# ls -l
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore0
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore1
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore2
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore3
-rw-rw-rw- 1 admin root 262144 Dec 31 12:06 cfebackup.bin
drwxr-xr-x 3 admin root 620 Dec 31 12:02 etc
-rw-rw-rw- 1 admin root 785 Dec 31 12:00 filter.default
drwxr-xr-x 3 admin root 60 Dec 31 1969 home
drwxrwxrwx 3 admin root 60 Dec 31 12:02 mnt
drwxrwxrwx 3 admin root 140 Dec 31 12:00 ppp
-rw-rw-rw- 1 admin root 297 Dec 31 12:00 redirect_rules
-rw-rw-rw- 1 admin root 0 Dec 31 12:00 resolv.conf
-rw-r--r-- 1 admin root 0 Dec 31 1969 settings
drwxr-xr-x 2 admin root 40 Dec 31 1969 share
-rw-rw-rw- 1 admin root 14318 Dec 31 12:03 syslog.log
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 udhcpc -> /sbin/rc
-rw-rw-rw- 1 admin root 10 Dec 31 12:00 udhcpc0.expires
-rw-rw-rw- 1 admin root 917 Dec 31 12:02 usb.log
drwxr-xr-x 11 admin root 260 Dec 31 12:02 var
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 wpa_cli -> /sbin/rc
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 zcip -> /sbin/rc
admin@RT-AC66U:/tmp# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: No such file or directory
admin@RT-AC66U:/tmp# cd /
admin@RT-AC66U:/# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: No such file or directory
admin@RT-AC66U:/# ls -l /tmp/mnt/sda/cfebackup.bin
ls: /tmp/mnt/sda/cfebackup.bin: No such file or directory
admin@RT-AC66U:/# ls -l /tmp/mnt/sda1/cfebackup.bin
ls: /tmp/mnt/sda1/cfebackup.bin: No such file or directory
admin@RT-AC66U:/# cp /tmp/cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/# cp
BusyBox v1.17.4 (2012-11-06 22:54:45 CST) multi-call binary.

Usage: cp [OPTIONS] SOURCE DEST

Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY

Options:
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links

admin@RT-AC66U:/# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: Not a directory
admin@RT-AC66U:/# cd /tmp
admin@RT-AC66U:/tmp# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: Not a directory
admin@RT-AC66U:/tmp# cd /tmp/home/root
admin@RT-AC66U:/tmp/home/root# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: Not a directory
admin@RT-AC66U:/tmp/home/root# ls -l /tmp/mnt/sda1/cfebackup.bin
ls: /tmp/mnt/sda1/cfebackup.bin: No such file or directory
admin@RT-AC66U:/tmp/home/root# dd if=/dev/mtd/0 of=/tmp/cfe.bin
dd: can't open '/dev/mtd/0': No such file or directory
admin@RT-AC66U:/tmp/home/root# dd if=/dev/mtd/0 of=/tmp/cfe.bin
dd: can't open '/dev/mtd/0': No such file or directory
admin@RT-AC66U:/tmp/home/root# cd /tmp
admin@RT-AC66U:/tmp# dd if=/dev/mtd/0 of=/tmp/cfe.bin
dd: can't open '/dev/mtd/0': No such file or directory
admin@RT-AC66U:/tmp# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /tmp/mnt/sda1 type ufsd (rw,nodev,noatime,nls=utf8,fmask=0,dmask=0,force)
admin@RT-AC66U:/tmp# ls -l
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore0
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore1
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore2
prw-r--r-- 1 admin root 0 Dec 31 1969 Semaphore3
-rw-rw-rw- 1 admin root 262144 Dec 31 12:06 cfebackup.bin
drwxr-xr-x 3 admin root 620 Dec 31 12:02 etc
-rw-rw-rw- 1 admin root 785 Dec 31 12:00 filter.default
-rw-rw-rw- 1 admin root 1237 Dec 31 12:10 filter_rules
drwxr-xr-x 3 admin root 60 Dec 31 1969 home
drwxrwxrwx 3 admin root 80 Dec 31 12:07 mnt
-rw-rw-rw- 1 admin root 310 Dec 31 12:10 nat_rules
drwxrwxrwx 3 admin root 140 Dec 31 12:00 ppp
-rw-rw-rw- 1 admin root 491 Dec 31 12:10 redirect_rules
-rw-rw-rw- 1 admin root 25 Dec 31 12:10 resolv.conf
-rw-r--r-- 1 admin root 0 Dec 31 1969 settings
drwxr-xr-x 2 admin root 40 Dec 31 1969 share
-rw-rw-rw- 1 admin root 16115 Dec 31 12:14 syslog.log
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 udhcpc -> /sbin/rc
-rw-rw-rw- 1 admin root 10 Dec 31 12:10 udhcpc0.expires
-rw-rw-rw- 1 admin root 917 Dec 31 12:02 usb.log
drwxr-xr-x 11 admin root 260 Dec 31 12:02 var
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 wpa_cli -> /sbin/rc
lrwxrwxrwx 1 admin root 8 Dec 31 12:00 zcip -> /sbin/rc
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: Not a directory
admin@RT-AC66U:/tmp# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
admin@RT-AC66U:/tmp# mount /tmp
mount: can't find /tmp in /etc/fstab
admin@RT-AC66U:/tmp# ls -l /tmp/mnt/sda_part1/cfebackup.bin
ls: /tmp/mnt/sda_part1/cfebackup.bin: Not a directory
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda0
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda1
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda1
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda_part1
admin@RT-AC66U:/tmp# cp /tmp/cfebackup.bin /tmp/mnt/sda1
admin@RT-AC66U:/tmp#

Well adventually i had to switch the usb stick to the other usb port, dont as kwhy i dunno but that in combination with changing this;

cp /tmp/cfebackup.bin /tmp/mnt/sda_part1

to
cp /tmp/cfebackup.bin /tmp/mnt/sda1 this worked i guess thats a asus-wrt thingy.and now i have to test the ls -l thing again to see if the checking commandline works. brb...

and so i changed also the command;
ls -l /tmp/mnt/sda_part1/cfebackup.bin
TO->
ls -l /tmp/mnt/sda1/cfebackup.bin

admin@RT-AC66U:/tmp# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
admin@RT-AC66U:/tmp# ls -l /tmp/mnt/sda1/cfebackup.bin
-rwxrwxrwx 1 admin root 262144 Dec 31 12:18 /tmp/mnt/sda1/cfebackup .bin
I guess now see above the checking worked?
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Mon Jun 10, 2013 15:42    Post subject: Reply with quote
At this moment i have installed and running the dd-wrt v21676 for now all looks ok ,i got most things working now and now i am gonna make CFE backups again, maby not needed but i will do it anyway so i wont forget it Embarassed
gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Mon Jun 10, 2013 20:03    Post subject: Reply with quote
Well making a backup of the CFE is in dd-wrt slightly different,i have used these commandline to make backups, please correct me if am wrong.

The biggest differents i saw was the file size the asus-wrt has cfe of 256kb and the dd-wrt has one of 2048kb Question anyway these are the commands ive used in dd-wrt;

to make copy of both CFE;

dd if=/dev/mtd0 of=/tmp/cfe.original
dd if=/dev/mtd0 of=/tmp/cfebackup.bin
OR->
cat /dev/mtdblock0 > /tmp/cfebackup.bin
cat /dev/mtdblock0 > /tmp/cfe.original


works for copy on dd-wrt
cp cfebackup.bin /tmp/mnt/sda_part1
cp cfe.original /tmp/mnt/sda_part1

if u think this was an error please contact me with PM or leave a comment here Shocked esspecially with the attachements?? Mad



dd-wrt-21676-Asus_RT-AC66U.trx
 Description:
The DD_WRT version21676 we use, spoken and handled in this topic,dont forget to do a checksum after downloading;

dd-wrt-21676-Asus_RT-AC66U.trx:
md5= E7B5A47764160D32A05D7B57FA45AF8C (all was checked unzipped)
sha1= 74CDD09B0780FF95E059A9562DAC3C76598144

Download
 Filename:  dd-wrt-21676-Asus_RT-AC66U.trx
 Filesize:  17.78 MB
 Downloaded:  418 Time(s)


cfebackup.bin
 Description:
Asus rt-ac66u asus-wrt original firmware CFE backup bin file, u can use it when u have a brick and forgot to make the backup before firmware update.
(also BL v1.0.1.4)

256kb - cfebackup.bin
MD5 19465DBCA2FB4AAFF16A0BACA905AA1A
SHA1 93D070440BE3F9AADA834

Download
 Filename:  cfebackup.bin
 Filesize:  256 KB
 Downloaded:  480 Time(s)


cfebackup.bin
 Description:
my asus rt-ac66u CFE backup bin file BL v1.0.1.4 file made in dd-wrt, everyone can use it if something went wrong flashing firmware of dd-wrt

2048kb - cfebackup.bin
MD5 D129977CD9F0046F08A7C8062DB09D57
SHA1 4CDDE6039C324A960800E071166A3B59ACA7FECB

Download
 Filename:  cfebackup.bin
 Filesize:  2 MB
 Downloaded:  487 Time(s)

gekko2013
DD-WRT Novice


Joined: 24 May 2013
Posts: 32

PostPosted: Mon Jun 10, 2013 20:48    Post subject: Reply with quote
The way i flashed the ac66u was i did an hardreset bij using a 30-30-30 at WPS button, than i started the asus router builtin recovery mode, turnof router press reset, turnon wait 15 sec until the powerled flickers very slowly, than go to 192.168.1.1 and dont forget to set an static internal ip first.
Upload the trx dd-wrt file, wait at least 15 minutes
than repeat the hard reset step 30-30-30 and i also did an factory reset but that was more a buggy test, now u can have fun with the DD_WRT enabled Asus router Wink

To prevent network issues i recommend everyone who uses my CFE files to use mac address clone function in the setup page, this works ok.just use the mac address that is behind the back of ur router, for wifi u could use a begin octet of 02:00:00:xx:xx:xx
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum