Hi, John.

> I tried preinit and also
> .../trunk/package/base-files/files/etc/config/network
> .../trunk/target/linux/ar7/base-files/etc/config/network
> 
> and it still comes out as 192.168.1.1.   (building for a wndr3800)
> 
> Seems to be lots of network files.  I guess I could have the wrong one?
>  The bin comes out under ar711x.
Two alternative ways to do that:

1. target/linux/ar71xx/base-files.mk
Comment out that rm -f $(1)/etc/config/network and place your desired
network config file at the target/linux/ar71xx/base-files/etc/config

2. change 192.168.1.1 to ip of your choice at the
package/base-files/files/lib/functions/uci-defaults.sh
This will make /etc/config/network file generated with proper ip.

Have nice day,
George


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

Reply via email to