[OpenWrt-Devel] How am I supposed to change settings in /etc/config/network of default root file system of OpenWRT?

Jeonghum Joh oosaprogrammer at gmail.com
Mon May 18 23:57:21 EDT 2020


Hello Moritz Warning

Thank you very much!
I can continue investigating by your hints.

Thank you.
Jeonghum

2020년 5월 19일 (화) 오전 11:37, Moritz Warning <moritzwarning at web.de>님이 작성:

> On 5/19/20 3:49 AM, Jeonghum Joh wrote:
> > I know how to do this for /etc/config/firewall.
> > It is package/network/config/firewall/files/firewall.config
> >
> > But I cannot find /etc/config/network for default root file system.
> >
> > Where can I find it?
> > How am I supposed to change settings in /etc/config/network of default
> root
> > file system of OpenWRT?
> >
> > Thank you in advance!
> >
> > Jeonghum
> >
> >
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel at lists.openwrt.org
> > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> >
>
> In your OpenWrt build root, create a file "files/etc/config/firewall".
> When you build OpenWrt, the file will be included in the image (and not
> overwritten).
>
> Btw., /etc/config/network is generated by a script on first boot and that
> is then deleted.
> But it is still accessible in /rom/etc/uci_defaults/02_network (not quite
> sure on the script name).
>
> - mwarning
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200519/665d329a/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list