<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>See that i created files in console, <br><br></div>The main source code there is path :<br><br>package/base-files/files/etc/config/<br><br></div>under this now already two files are there, but if i see in console under /etc/config it shows <br>rwxrwxr-x 1 root root 0 Jan 1 1970 .<br>drwxrwxr-x 1 root root 0 Jul 30 18:33 ..<br>-rw-rw-r-- 1 root root 4045 Jul 30 16:47 ddns<br>-rw-r--r-- 1 root root 885 Jul 30 18:08 dhcp<br>-rw-r--r-- 1 root root 1642 Jul 30 2015 dhcp6c<br>-rw-r--r-- 1 root root 134 Jul 30 18:09 dropbear<br>-rw-r--r-- 1 root root 2148 Jul 30 18:33 firewall<br>-rw-r--r-- 1 root root 645 Jul 30 18:33 luci<br>-rw-r--r-- 1 root root 131 Jul 30 18:44 mcproxy<br>-rw-r--r-- 1 root root 763 Jul 30 18:33 network<br>-rw-rw-r-- 1 root root 89 Jul 30 16:47 pppoe<br>-rw-rw-r-- 1 root root 1773 Jul 30 16:47 qos<br>-rw-r--r-- 1 root root 652 Jul 30 18:49 radvd<br>-rw-r--r-- 1 root root 324 Jul 30 18:49 ripd<br>-rw-r--r-- 1 root root 0 Jul 30 18:33 sound<br>-rw-rw-r-- 1 root root 407 Jul 30 18:33 system<br>-rw-r--r-- 1 root root 128 Jul 30 18:33 ubootenv<br>-rw-r--r-- 1 root root 680 Jul 30 18:33 ucitrack<br>-rw-r--r-- 1 root root 2408 Jul 30 18:23 uhttpd<br>-rw-r--r-- 1 root root 646 Jul 30 18:33 upnpd<br><br></div>I am not getting where to create new directory and add this files.<br><br></div><div>Sorry I am totally new in this, It may be silly question please guide me.<br></div><div><br></div>Thanks,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 3, 2015 at 12:58 AM, Weedy <span dir="ltr"><<a href="mailto:weedy2887@gmail.com" target="_blank">weedy2887@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">make<br>
<div class="HOEnZb"><div class="h5"><br>
On Sun, Aug 2, 2015 at 12:56 PM, John kerry <<a href="mailto:kerry9842@gmail.com">kerry9842@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> so i created directory as below and copy the following files<br>
><br>
> root@OpenWrt:/# ls -al files/etc/config/<br>
> drwxr-xr-x 2 root root 0 Jul 30 18:42 .<br>
> drwxr-xr-x 3 root root 0 Jul 30 18:35 ..<br>
> -rw-r--r-- 1 root root 4045 Jul 30 18:42 ddns<br>
> -rw-r--r-- 1 root root 885 Jul 30 18:41 dhcp<br>
> -rw-r--r-- 1 root root 2148 Jul 30 18:41 firewall<br>
> -rw-r--r-- 1 root root 763 Jul 30 18:41 network<br>
> -rw-r--r-- 1 root root 646 Jul 30 18:42 upnpd<br>
> -rw-r--r-- 1 root root 718 Jul 30 18:36 wireless<br>
><br>
> but how i will link this into building image.<br>
><br>
><br>
><br>
><br>
> 2015-08-03 0:38 GMT+08:00 Weedy <<a href="mailto:weedy2887@gmail.com">weedy2887@gmail.com</a>>:<br>
>><br>
>> You seem to be having problems using uci-defaults. So forget that.<br>
>><br>
>> Copy the running/working/complete config file from your device into<br>
>> files/etc/config/wireless.<br>
>> You need to make the files directory. You can put anything in there.<br>
>><br>
>> weedy@HAF ~/projects/openwrt $ ls -al files/etc/config/<br>
>> total 60<br>
>> drwxr-xr-x 2 weedy weedy 4096 Jul 13 23:05 .<br>
>> drwxr-xr-x 8 weedy weedy 4096 Jul 31 00:35 ..<br>
>> -rw-r--r-- 1 weedy weedy 138 Jul 13 23:05 darkstat<br>
>> -rw-r--r-- 1 weedy weedy 441 Jul 13 23:05 ddns<br>
>> -rw-r--r-- 1 weedy weedy 1204 Jul 30 22:48 dhcp<br>
>> -rw-r--r-- 1 weedy weedy 119 Jul 13 23:05 dropbear<br>
>> -rw-r--r-- 1 weedy weedy 4290 Jul 13 23:05 firewall<br>
>> -rw-r--r-- 1 weedy weedy 38 Jun 11 2013 netcheck<br>
>> -rw-r--r-- 1 weedy weedy 1059 Jul 13 23:05 network<br>
>> -rw-r--r-- 1 weedy weedy 1821 Jun 30 21:04 qos<br>
>> -rw-r--r-- 1 weedy weedy 761 Jul 13 23:05 system<br>
>> -rw-r--r-- 1 weedy weedy 2165 Jul 13 23:05 uhttpd<br>
>> -rw-r--r-- 1 weedy weedy 639 Jul 13 23:05 upnpd<br>
>> -rw-r--r-- 1 weedy weedy 1353 Jul 13 23:05 wireless<br>
><br>
><br>
</div></div></blockquote></div><br></div>