{"id":370,"date":"2016-05-06T13:03:45","date_gmt":"2016-05-06T19:03:45","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=370"},"modified":"2016-05-06T13:05:03","modified_gmt":"2016-05-06T19:05:03","slug":"cloning-openwrt-w-rooter","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=370","title":{"rendered":"Cloning OpenWRT w\/ ROOter"},"content":{"rendered":"<p>I&#8217;ve put time into configuring routers and need to be able to quickly\u00a0clone settings to new hardware. I was hoping to take\u00a0a working router configuration, connect it to a\u00a0PC (or device), and open a terminal session to use the following commands:<\/p>\n<pre class=\"code\">cd desktop\r\n\r\nssh \u00a0root@192.168.1.1\r\n\r\ndd if=\/dev\/mtd4 of=\/tmp\/backup20160505.trx\r\n\r\nscp root@192.168.1.1:\/tmp\/backup20160505.trx .\r\nscp backup20160505.trx root@192.168.1.1:\/tmp\r\n\r\nmtd -r write backup20160505.trx art<\/pre>\n<p>But at the final step, my router throws up an error message that includes:<\/p>\n<pre class=\"code\">Could not open mtd device: art\r\nCan't open device for writing! openwrt<\/pre>\n<p>If someone has a suggestion, I&#8217;m all for it. I&#8217;ll report back when I figure this out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve put time into configuring routers and need to be able to quickly\u00a0clone settings to new hardware. I was hoping to take\u00a0a working router configuration, connect it to a\u00a0PC (or device), and open a terminal session to use the following &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=370\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-370","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=370"}],"version-history":[{"count":2,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/370\/revisions"}],"predecessor-version":[{"id":372,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/370\/revisions\/372"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}