<div dir="ltr">Hello Moritz Warning<div><br></div><div>Thank you very much!</div><div>I can continue investigating by your hints.</div><div><br></div><div>Thank you.</div><div>Jeonghum</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020년 5월 19일 (화) 오전 11:37, Moritz Warning <<a href="mailto:moritzwarning@web.de">moritzwarning@web.de</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/19/20 3:49 AM, Jeonghum Joh wrote:<br>
> I know how to do this for /etc/config/firewall.<br>
> It is package/network/config/firewall/files/firewall.config<br>
><br>
> But I cannot find /etc/config/network for default root file system.<br>
><br>
> Where can I find it?<br>
> How am I supposed to change settings in /etc/config/network of default root<br>
> file system of OpenWRT?<br>
><br>
> Thank you in advance!<br>
><br>
> Jeonghum<br>
><br>
><br>
> _______________________________________________<br>
> openwrt-devel mailing list<br>
> <a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
> <a href="https://lists.openwrt.org/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/mailman/listinfo/openwrt-devel</a><br>
><br>
<br>
In your OpenWrt build root, create a file "files/etc/config/firewall".<br>
When you build OpenWrt, the file will be included in the image (and not overwritten).<br>
<br>
Btw., /etc/config/network is generated by a script on first boot and that is then deleted.<br>
But it is still accessible in /rom/etc/uci_defaults/02_network (not quite sure on the script name).<br>
<br>
- mwarning<br>
<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div>