On reboot command router resets Openwrt Caos Calmer 15.05

徘徊边缘 提交于 2019-12-05 08:06:43

问题


I m using tplink wr841n v11 and made bin(CC-15.05) file for it using source code, but the issue is I m running 1 script, which downloads file and edits chilli file and then I wrote reboot after all happens. After reboot everything changes to default router(like router is reset to default) and when I comment to reboot command, then it changes in files, but then I manually reboots router it automatically resets, all the settings like ssid, lan ip, pppoe settings etc. changes to default one. Plz, help me in this situation Thanks in advance.


回答1:


Take a look here, /etc is read only and so cannot be modified. What you need to do is create a partition in /overlay which should be writable and save your configuration there and then have a script copy your config to /etc during boot time.




回答2:


Hi and thanks for ur response amine ahd, I got my answer and I found what was the problem. Basically, I had made own luci and there was to many files in /www/cg-bin/ there was no space left and thats why after any command from my gui or manually it works and edit also but when u reboots, it resets router. After deleting files from cgi-bin folder and build again, now it works superb. At a time of building openwrt I gave permission to /etc/ to 777, so no issues for read only file system.



来源:https://stackoverflow.com/questions/42689880/on-reboot-command-router-resets-openwrt-caos-calmer-15-05

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!