<div dir="ltr"><div>Hi, All</div><div><br></div><div>I'm using openwrt-14.07.</div><div><br></div><div>I want to modify the default value of /etc/config/network while I build the images for RG100A-AA.</div><div>I tried to modify this file -- package/base-files/files/etc/config/network, but it seems have no effect.</div><div>Which file should I modify?</div><div><br></div><div><br></div><div><span style="background-color:rgb(204,204,204)">Here is my network by default on RG100A-AA.</span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)"># cat /etc/config/network </span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)">config interface 'loopback'</span></div><div><span style="background-color:rgb(204,204,204)"> option ifname 'lo'</span></div><div><span style="background-color:rgb(204,204,204)"> option proto 'static'</span></div><div><span style="background-color:rgb(204,204,204)"> option ipaddr '127.0.0.1'</span></div><div><span style="background-color:rgb(204,204,204)"> option netmask '255.0.0.0'</span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)">config globals 'globals'</span></div><div><span style="background-color:rgb(204,204,204)"> option ula_prefix 'fd4a:ad7a:34c0::/48'</span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)">config interface 'lan'</span></div><div><span style="background-color:rgb(204,204,204)"> option ifname 'eth1'</span></div><div><span style="background-color:rgb(204,204,204)"> option force_link '1'</span></div><div><span style="background-color:rgb(204,204,204)"> option type 'bridge'</span></div><div><span style="background-color:rgb(204,204,204)"> option proto 'static'</span></div><div><span style="background-color:rgb(204,204,204)"> option ipaddr '192.168.1.1'</span></div><div><span style="background-color:rgb(204,204,204)"> option netmask '255.255.255.0'</span></div><div><span style="background-color:rgb(204,204,204)"> option ip6assign '60'</span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)">config interface 'wan'</span></div><div><span style="background-color:rgb(204,204,204)"> option ifname 'eth0'</span></div><div><span style="background-color:rgb(204,204,204)"> option proto 'dhcp'</span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)">config interface 'wan6'</span></div><div><span style="background-color:rgb(204,204,204)"> option ifname '@wan'</span></div><div><span style="background-color:rgb(204,204,204)"> option proto 'dhcpv6'</span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)">config switch</span></div><div><span style="background-color:rgb(204,204,204)"> option name 'eth1'</span></div><div><span style="background-color:rgb(204,204,204)"> option reset '1'</span></div><div><span style="background-color:rgb(204,204,204)"> option enable_vlan '1'</span></div><div><span style="background-color:rgb(204,204,204)"><br></span></div><div><span style="background-color:rgb(204,204,204)">config switch_vlan</span></div><div><span style="background-color:rgb(204,204,204)"> option device 'eth1'</span></div><div><span style="background-color:rgb(204,204,204)"> option vlan '1'</span></div><div><span style="background-color:rgb(204,204,204)"> option ports '0 1 2 3 4 5'</span></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div style="font-family:monospace;color:rgb(255,255,255);background-color:rgb(51,51,51)"><pre><span style="color:rgb(0,0,0);font-family:'Times New Roman';white-space:normal;font-size:medium"><div style="font-family:monospace;color:rgb(255,255,255);background-color:rgb(51,51,51)"><pre style="font-family:monospace;color:rgb(255,255,255);background-color:rgb(51,51,51)"> _ __ _ _
___| |__ ___ _ __ __ _ / _(_)___| |__
|_ / '_ \ / _ \ '_ \ / _` | | |_| / __| '_ \
/ /| | | | __/ | | | (_| | | _| \__ \ | | |
/___|_| |_|\___|_| |_|\__, | |_| |_|___/_| |_|
|___/</pre></div></span></pre></div></div>
</div>