{"id":122,"date":"2022-04-14T01:21:34","date_gmt":"2022-04-13T17:21:34","guid":{"rendered":"http:\/\/flighhai.cn\/?p=122"},"modified":"2025-02-09T04:55:23","modified_gmt":"2025-02-08T20:55:23","slug":"122","status":"publish","type":"post","link":"https:\/\/flighhai.cn\/?p=122","title":{"rendered":"HUAWEI\u5149\u732b\u5907\u4efd"},"content":{"rendered":"<p>HUAWEI Optical Modem<\/p>\n<p><strong>\u4e00\u3001U\u76d8\u5907\u4efd\u6062\u590d\u65b9\u6cd5<\/strong><br \/>\n1\u3001\u5907\u4efd\u5206\u533a\uff1a\u5c06U\u76d8\uff08\u5269\u4f59\u7a7a\u95f4\u5927\u4e8e1G\uff09\u63d2\u5165\u5149\u732b\u540e\u9762\u7684USB\u53e3<br \/>\nWin+R\u6253\u5f00cmd \uff08\u6309Windows\u5fbd\u6807\u952e\u548cR\u952e\uff0c\u8f93\u5165cmd \u8fdb\u5165\u547d\u4ee4\u7a97\u53e3\uff09<br \/>\ntelnet 192.168.1.1<br \/>\nroot<br \/>\nadminHW<br \/>\nsu<br \/>\nshell<br \/>\nmount \/dev\/sda1 \/mnt\/usb \uff08\u6302\u8f7dU\u76d8\uff09<br \/>\ndd if=\/dev\/mtd0 of=\/mnt\/usb\/0.bin \uff08\u5907\u4efd\u5206\u533a0\u5230U\u76d80.bin\u6587\u4ef6\uff09<br \/>\ndd if=\/dev\/mtd1 of=\/mnt\/usb\/1.bin<br \/>\ndd if=\/dev\/mtd2 of=\/mnt\/usb\/2.bin<br \/>\ndd if=\/dev\/mtd3 of=\/mnt\/usb\/3.bin<br \/>\ndd if=\/dev\/mtd4 of=\/mnt\/usb\/4.bin<br \/>\ndd if=\/dev\/mtd5 of=\/mnt\/usb\/5.bin<br \/>\ndd if=\/dev\/mtd6 of=\/mnt\/usb\/6.bin<br \/>\ndd if=\/dev\/mtd7 of=\/mnt\/usb\/7.bin<br \/>\ndd if=\/dev\/mtd8 of=\/mnt\/usb\/8.bin<br \/>\ndd if=\/dev\/mtd9 of=\/mnt\/usb\/9.bin<br \/>\ndd if=\/dev\/mtd10 of=\/mnt\/usb\/10.bin<br \/>\ndd if=\/dev\/mtd11 of=\/mnt\/usb\/11.bin<br \/>\ndd if=\/dev\/mtd12 of=\/mnt\/usb\/12.bin<\/p>\n<p>\u5355\u72ec\u5907\u4efdjffs2\u548cAPP\uff1a<br \/>\ndd if=\/dev\/mtdblockubi0_9 of=\/mnt\/usb\/0_9.bin<br \/>\ndd if=\/dev\/mtdblockubi0_10 of=\/mnt\/usb\/0_10.bin<\/p>\n<p><strong>2\u3001\u6062\u590d\u5206\u533a:<\/strong><br \/>\n\u5c06\u6240\u6709\u5907\u4efd\u6587\u4ef6\u590d\u5236\u5230U\u76d8\uff0cU\u76d8\u63d2\u5165\u5149\u732b\u7684USB\u53e3<br \/>\ntelnet 192.168.1.1<br \/>\nroot<br \/>\nadminHW<br \/>\nsu<br \/>\nshell<br \/>\nmount \/dev\/sda1 \/mnt\/usb<br \/>\ndd if=\/mnt\/usb\/0.bin of=\/dev\/mtdblock0 \uff08\u6062\u590dU\u76d80.bin\u6587\u4ef6\u5230\u5206\u533a0\uff09<br \/>\ndd if=\/mnt\/usb\/1.bin of=\/dev\/mtdblock1<br \/>\ndd if=\/mnt\/usb\/2.bin of=\/dev\/mtdblock2<br \/>\ndd if=\/mnt\/usb\/3.bin of=\/dev\/mtdblock3<br \/>\ndd if=\/mnt\/usb\/4.bin of=\/dev\/mtdblock4<br \/>\ndd if=\/mnt\/usb\/5.bin of=\/dev\/mtdblock5<br \/>\ndd if=\/mnt\/usb\/6.bin of=\/dev\/mtdblock6<br \/>\ndd if=\/mnt\/usb\/7.bin of=\/dev\/mtdblock7<br \/>\ndd if=\/mnt\/usb\/8.bin of=\/dev\/mtdblock8<br \/>\ndd if=\/mnt\/usb\/9.bin of=\/dev\/mtdblock9<br \/>\ndd if=\/mnt\/usb\/10.bin of=\/dev\/mtdblock10<br \/>\ndd if=\/mnt\/usb\/11.bin of=\/dev\/mtdblock11<br \/>\ndd if=\/mnt\/usb\/12.bin of=\/dev\/mtdblock12<br \/>\n\u4ee5\u4e0a\u547d\u4ee4\u662f\u6062\u590d\u5168\u90e8\u5206\u533a\u3002<\/p>\n<p>\u5355\u72ec\u6062\u590djffs2\u548cAPP\uff1a<br \/>\ndd if=\/mnt\/usb\/0_9.bin of=\/dev\/mtdblockubi0_9<br \/>\ndd if=\/mnt\/usb\/0_10.bin of=\/dev\/mtdblockubi0_10<br \/>\nreboot (\u91cd\u542f\u5149\u732b)<\/p>\n<p>3\u3001\u5907\u4efd jffs2\u6587\u4ef6\u5939 :<br \/>\nU\u76d8\uff08\u5269\u4f59\u7a7a\u95f4\u5927\u4e8e1G\uff09\u63d2\u5165\u5149\u732b\u540e\u9762\u7684USB\u53e3,<br \/>\ntelnet 192.168.1.1<br \/>\nroot<br \/>\nadminHW<br \/>\nsu<br \/>\nshell<br \/>\ncd \/mnt\/ \uff08\u8fdb\u5165\/mnt \u76ee\u5f55\uff09<br \/>\ncp -r jffs2 \/mnt\/usb1_1\/ (\u5907\u4efd\u6574\u4e2a\u6587\u4ef6\u5939\u5230U\u76d8)<\/p>\n<p>4\u3001\u6062\u590d jffs2\u6587\u4ef6\u5939 :<br \/>\n\u5c06\u5907\u4efd\u6587\u4ef6\u5939\u590d\u5236\u5230U\u76d8\uff0cU\u76d8\u63d2\u5165\u5149\u732b\u540e\u9762\u7684USB\u53e3<br \/>\ntelnet 192.168.1.1<br \/>\nroot<br \/>\nadminHW<br \/>\nsu<br \/>\nshell<br \/>\ncd \/mnt\/usb1_1\/<br \/>\ncp -r jffs2 \/mnt\/ (\u590d\u5236jffs2\u6587\u4ef6\u5939\u5230mnt\u76ee\u5f55\u4e0b\uff0c\u66ff\u6362\u539fjffs2\u6587\u4ef6\u5939)<br \/>\nreboot<br \/>\n(PS:\u5220\u9664jffs2\u6587\u4ef6\u5939\u6240\u6709\u6587\u4ef6\uff1arm -rf \/mnt\/jffs2\/* \u5220\u9664jffs2\u6587\u4ef6\u5939\u5185\u6240\u6709\u6587\u4ef6\u548c\u6587\u4ef6\u5939\uff1arm -rf * )<\/p>\n<p>\u4e8c\u3001TFTP\u8f6f\u4ef6\u5907\u4efd\u6062\u590d\u65b9\u6cd5<br \/>\n\u9996\u5148\u8981\u6253\u5f00TFTP\u8f6f\u4ef6\uff0c\u5e76\u8bbe\u7f6e\u597d\u5de5\u4f5c\u76ee\u5f55<br \/>\n1\u3001\u5907\u4efd\u5206\u533a<br \/>\ntelnet 192.168.1.1<br \/>\nroot<br \/>\nadminHW<br \/>\nsu<br \/>\nshell<br \/>\ndd if=\/dev\/mtd0 of=\/dev\/shm\/0.bin<br \/>\ndd if=\/dev\/mtd1 of=\/dev\/shm\/1.bin<br \/>\ndd if=\/dev\/mtd2 of=\/dev\/shm\/2.bin<br \/>\ndd if=\/dev\/mtd3 of=\/dev\/shm\/3.bin<br \/>\ndd if=\/dev\/mtd4 of=\/dev\/shm\/4.bin<br \/>\ndd if=\/dev\/mtd5 of=\/dev\/shm\/5.bin<br \/>\ndd if=\/dev\/mtd6 of=\/dev\/shm\/6.bin<br \/>\ndd if=\/dev\/mtd7 of=\/dev\/shm\/7.bin<br \/>\ndd if=\/dev\/mtd8 of=\/dev\/shm\/8.bin<br \/>\ndd if=\/dev\/mtd9 of=\/dev\/shm\/9.bin<br \/>\ndd if=\/dev\/mtd10 of=\/dev\/shm\/10.bin<br \/>\ndd if=\/dev\/mtd11 of=\/dev\/shm\/11.bin<br \/>\ndd if=\/dev\/mtd12 of=\/dev\/shm\/12.bin<br \/>\ncd \/dev\/shm<br \/>\ntftp -p -l 0.bin -r 0.bin 192.168.1.3 \uff08\u590d\u5236\u6587\u4ef6\u5230\u7535\u8111TFTP\u76ee\u5f55 192.168.1.3 \u4e3aIP\u5730\u5740\uff09<br \/>\ntftp -p -l 1.bin -r 1.bin 192.168.1.3<br \/>\ntftp -p -l 2.bin -r 2.bin 192.168.1.3<br \/>\ntftp -p -l 3.bin -r 3.bin 192.168.1.3<br \/>\ntftp -p -l 4.bin -r 4.bin 192.168.1.3<br \/>\ntftp -p -l 5.bin -r 5.bin 192.168.1.3<br \/>\ntftp -p -l 6.bin -r 6.bin 192.168.1.3<br \/>\ntftp -p -l 7.bin -r 7.bin 192.168.1.3<br \/>\ntftp -p -l 8.bin -r 8.bin 192.168.1.3<br \/>\ntftp -p -l 9.bin -r 9.bin 192.168.1.3<br \/>\ntftp -p -l 10.bin -r 10.bin 192.168.1.3<br \/>\ntftp -p -l 11.bin -r 11.bin 192.168.1.3<br \/>\ntftp -p -l 12.bin -r 12.bin 192.168.1.3<br \/>\nrm -rf * (\u5220\u9664\u5907\u4efd\u6587\u4ef6\uff0c\u5426\u5219\u7a7a\u95f4\u4e0d\u591f)<br \/>\ndd if=\/dev\/mtdblockubi0_9 of=\/dev\/shm\/0_9.bin<br \/>\ndd if=\/dev\/mtdblockubi0_10 of=\/dev\/shm\/0_10.bin<br \/>\ntftp -p -l 0_9.bin -r 0_9.bin 192.168.1.3<br \/>\ntftp -p -l 0_10.bin -r 0_10.bin 192.168.1.3<br \/>\nrm -rf *<\/p>\n<p>2\u3001\u6062\u590d\u5206\u533a<br \/>\ntelnet 192.168.1.1<br \/>\nsu<br \/>\nshell<br \/>\ncd \/dev\/shm<br \/>\ntftp -g -l 0.bin -r 0.bin 192.168.1.3 (\u5c06\u7535\u8111TFTP\u76ee\u5f55\u6587\u4ef6\u4e0a\u4f20\u5230\u5149\u732b\/dev\/shm\uff09<br \/>\ntftp -g -l 1.bin -r 1.bin 192.168.1.3<br \/>\ntftp -g -l 2.bin -r 2.bin 192.168.1.3<br \/>\ntftp -g -l 3.bin -r 3.bin 192.168.1.3<br \/>\ntftp -g -l 4.bin -r 4.bin 192.168.1.3<br \/>\ntftp -g -l 5.bin -r 5.bin 192.168.1.3<br \/>\ntftp -g -l 6.bin -r 6.bin 192.168.1.3<br \/>\ntftp -g -l 7.bin -r 7.bin 192.168.1.3<br \/>\ntftp -g -l 8.bin -r 8.bin 192.168.1.3<br \/>\ntftp -g -l 9.bin -r 9.bin 192.168.1.3<br \/>\ntftp -g -l 10.bin -r 10.bin 192.168.1.3<br \/>\ntftp -g -l 11.bin -r 11.bin 192.168.1.3<br \/>\ntftp -g -l 12.bin -r 12.bin 192.168.1.3<br \/>\ndd if=\/dev\/shm\/0.bin of=\/dev\/mtdblock0<br \/>\ndd if=\/dev\/shm\/1.bin of=\/dev\/mtdblock1<br \/>\ndd if=\/dev\/shm\/2.bin of=\/dev\/mtdblock2<br \/>\ndd if=\/dev\/shm\/3.bin of=\/dev\/mtdblock3<br \/>\ndd if=\/dev\/shm\/4.bin of=\/dev\/mtdblock4<br \/>\ndd if=\/dev\/shm\/5.bin of=\/dev\/mtdblock5<br \/>\ndd if=\/dev\/shm\/6.bin of=\/dev\/mtdblock6<br \/>\ndd if=\/dev\/shm\/7.bin of=\/dev\/mtdblock7<br \/>\ndd if=\/dev\/shm\/8.bin of=\/dev\/mtdblock8<br \/>\ndd if=\/dev\/shm\/9.bin of=\/dev\/mtdblock9<br \/>\ndd if=\/dev\/shm\/10.bin of=\/dev\/mtdblock10<br \/>\ndd if=\/dev\/shm\/11.bin of=\/dev\/mtdblock11<br \/>\ndd if=\/dev\/shm\/12.bin of=\/dev\/mtdblock12<br \/>\nrm -rf *<br \/>\ntftp -g -l 0_9.bin -r 0_9.bin 192.168.1.3<br \/>\ntftp -g -l 0_10.bin -r 0_10.bin 192.168.1.3<br \/>\ndd if=\/dev\/shm\/0_9.bin of=\/dev\/mtdblockubi0_9<br \/>\ndd if=\/dev\/shm\/0_10.bin of=\/dev\/mtdblockubi0_10<br \/>\nrm -rf *<br \/>\nreboot<\/p>\n<p>3\u3001\u5907\u4efd jffs2\u6587\u4ef6\u5939:<br \/>\ntelnet 192.168.1.1<br \/>\nroot<br \/>\nadminHW<br \/>\nsu<br \/>\nshell<br \/>\ncd \/mnt\/jffs2<br \/>\ntar -czf jffs2bak.tar.gz * (\u538b\u7f29jffs2\u6587\u4ef6\u5939\u4e3a jffs2bak.tar.gz)<br \/>\nmv \/mnt\/jffs2\/jffs2bak.tar.gz \/tmp \uff08\u526a\u5207jffs2bak.tar.gz\u6587\u4ef6\u5230 \/tmp\u6587\u4ef6\u5939\uff09<br \/>\ncd \/tmp6<br \/>\ntftp -p -l jffs2bak.tar.gz -r jffs2bak.tar.gz 192.168.1.3<br \/>\n4\u3001\u6062\u590d jffs2<br \/>\ntelnet 192.168.1.1<br \/>\nroot<br \/>\nadminHW<br \/>\nsu<br \/>\nshell<br \/>\ncd \/mnt\/jffs2<br \/>\nrm -rf \/mnt\/jffs2\/* \uff08\u5220\u9664jffs2\u6587\u4ef6\u5939\u5185\u6240\u6709\u6587\u4ef6\uff09<br \/>\ntftp -g -l jffs2bak.tar.gz -r jffs2bak.tar.gz 192.168.1.3<br \/>\ntar -xvf jffs2bak.tar.gz\uff08\u89e3\u538b\u5907\u4efd\u6587\u4ef6\u5230\u5f53\u524d\u6587\u4ef6\u5939\uff09<br \/>\nrm -rf jffs2bak.tar.gz<br \/>\nreboot<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HUAWEI Optical Modem \u4e00\u3001U\u76d8\u5907\u4efd\u6062\u590d\u65b9 &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts\/122"}],"collection":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=122"}],"version-history":[{"count":5,"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/flighhai.cn\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flighhai.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}