Actually shouldn't matter.  If using right config option (under Image
options IRC) then there will be an uci-defaults file that runs on
firstboot to set the ipaddr, which should occur after the defconfig
configuration.  At least that's the intended design; if the order of
scripts is wrong then that's a bug.

Regards,

Daniel

On 29/11/2012 5:21 PM, Hannu Nyman wrote:
> You mentioned later in the thread that you are building for wndr3800.
> That is the key info here.
>
> Due to complex switch port LED defintions, WNDR3700/3800 has a
> dedicated network file template that will be used:
> https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network
>
>
> It has the section:
> config interface lan
>         option ifname   eth0.1
>         option type     bridge
>         option proto    static
>         option ipaddr   192.168.1.1
>         option netmask  255.255.255.0
>
>
> On 29.11.2012 1:38, John Lauro wrote:
>> Is there a place to change the default IP for a firmware build?
>>
>> I tried setting under Image configuration -> Preinit configuration
>> options -> IP address for preinit network messages, but that  doesn't
>> seem to work (not that I expected to, but it's the only config
>> options I could find related to an IP address).  Doing a search of my
>> build tree, 192.168.1.1 seems to be embedded in several spots.
>>
>>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

-- 
Daniel Dickinson PowerCloud Systems, Palo Alto, CA Senior Firmware
Engineer (In Canada: Senior Firmware Analyst)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to