transfer settings between 2 different routers

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
jayt
Posts: 14
Joined: Wed Jul 27, 2011 8:44 pm

transfer settings between 2 different routers

Post by jayt »

I have a Buffalo WZR-HP-G300NH and a Linksys WRT400N, both are running 1.3.16. The Buffalo is running great so far (3 days) but I haven't tried the WRT400N. So I was wondering if it is possible to transfer settings between 2 different routers with the same firmware. Can I just restore the settings?

Thank you for your comments and to all the people who contributed to the project, thanks for this great firmware!
Buffalo WZR-HP-G300NH 1.9.0

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: transfer settings between 2 different routers

Post by DoesItMatter »

No... No... and Unless you want to serial recover - NO!

Never restore a different router config to another router.

It will not brick, but will almost definitely be in a state where you
cannot access the web GUI and possibly not be able to either
Telnet or SSH in, meaning you will have to serial recover the router.

Besides, WZR-HP-G300NH is a single band router and the
WRT400N is a dual band router - very big difference right there.

Only restore configs for the exact same model router.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

jayt
Posts: 14
Joined: Wed Jul 27, 2011 8:44 pm

Re: transfer settings between 2 different routers

Post by jayt »

Thanks for your reply!
Is there a way to copy just the QOS setting from one router to another? With Tomato you could go to Tools | commands and run "nvram get qos_orules=" and paste the output into a different router running same firmware with "nvram set qos_orules=".

Thanks again.
Buffalo WZR-HP-G300NH 1.9.0

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: transfer settings between 2 different routers

Post by DoesItMatter »

Yes, there should be.

I don't know the config file, but you can do this.

Backup your current working config and save it somewhere.

Download 7-Zip - freeware archiver - VERY good

Use 7-zip to extract the config files to a folder and make sure you
keep the directory structure intact.

One of those will have QOS.

Backup the config of the other router somewhere else, and also
extract that file to a separate folder.

Replace the QOS file in that one, then re-compress with 7-zip.

It's a TAR first, then gzipped next.

You should be able to restore that.

Other option - download and use WINSCP to copy the file over.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

jayt
Posts: 14
Joined: Wed Jul 27, 2011 8:44 pm

Re: transfer settings between 2 different routers

Post by jayt »

Thank you so much!!! The structure was backup\etc\config\qos_gargoyle.

Other files located in the folder:
dhcp
dropbear
firewall
gargoyle
httpd_gargoyle
network
ntpclient
qos_gargoyle
system
timeserver
upnpd
webmon_gargoyle
wireless
wol
Buffalo WZR-HP-G300NH 1.9.0

Post Reply