[OpenWrt-Devel] Change OpenWrt Wifi default settings

John kerry kerry9842 at gmail.com
Sun Aug 2 12:56:18 EDT 2015


Hi,

so i created directory as below  and copy the following files

root at OpenWrt:/# ls -al files/etc/config/
drwxr-xr-x    2 root     root             0 Jul 30 18:42 .
drwxr-xr-x    3 root     root             0 Jul 30 18:35 ..
-rw-r--r--    1 root     root          4045 Jul 30 18:42 ddns
-rw-r--r--    1 root     root           885 Jul 30 18:41 dhcp
-rw-r--r--    1 root     root          2148 Jul 30 18:41 firewall
-rw-r--r--    1 root     root           763 Jul 30 18:41 network
-rw-r--r--    1 root     root           646 Jul 30 18:42 upnpd
-rw-r--r--    1 root     root           718 Jul 30 18:36 wireless

but how i will link this into building image.




2015-08-03 0:38 GMT+08:00 Weedy <weedy2887 at gmail.com>:

> You seem to be having problems using uci-defaults. So forget that.
>
> Copy the running/working/complete config file from your device into
> files/etc/config/wireless.
> You need to make the files directory. You can put anything in there.
>
> weedy at HAF ~/projects/openwrt $ ls -al files/etc/config/
> total 60
> drwxr-xr-x 2 weedy weedy 4096 Jul 13 23:05 .
> drwxr-xr-x 8 weedy weedy 4096 Jul 31 00:35 ..
> -rw-r--r-- 1 weedy weedy  138 Jul 13 23:05 darkstat
> -rw-r--r-- 1 weedy weedy  441 Jul 13 23:05 ddns
> -rw-r--r-- 1 weedy weedy 1204 Jul 30 22:48 dhcp
> -rw-r--r-- 1 weedy weedy  119 Jul 13 23:05 dropbear
> -rw-r--r-- 1 weedy weedy 4290 Jul 13 23:05 firewall
> -rw-r--r-- 1 weedy weedy   38 Jun 11  2013 netcheck
> -rw-r--r-- 1 weedy weedy 1059 Jul 13 23:05 network
> -rw-r--r-- 1 weedy weedy 1821 Jun 30 21:04 qos
> -rw-r--r-- 1 weedy weedy  761 Jul 13 23:05 system
> -rw-r--r-- 1 weedy weedy 2165 Jul 13 23:05 uhttpd
> -rw-r--r-- 1 weedy weedy  639 Jul 13 23:05 upnpd
> -rw-r--r-- 1 weedy weedy 1353 Jul 13 23:05 wireless
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150803/d164d00a/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list