Hi John,

I've never done it, but you should change it easy in the menu config:
# make menuconfig
[*] Image configuration
-> [*] Preinit configuration options
---> (10.0.0.1) IP Address for preinit network messages
---> (10.0.0.255) Broadcast address for preinit network messages

An alternative way ist to writing it directly to your config-file
CONFIG_TARGET_PREINIT_IFNAME=""
CONFIG_TARGET_PREINIT_IP="10.0.0.1"
CONFIG_TARGET_PREINIT_NETMASK="255.255.255.0"
CONFIG_TARGET_PREINIT_BROADCAST="10.0.0.255"

As I said, I've never changed the IP, but this should be (theoretically)
the way.

Best regards,
Claudio


On 25.06.2014 01:07, Jonas Liepuonius wrote:
> So I recently decided to compile my own OpenWRT images, and I have a few 
> questions:
>
> 1. Is there a way to preset the default IP address? The default is 
> 192.168.1.1 but I want to change it to something like 10.0.0.1, so that my 
> compiled firmware’s IP address would be that.
>
> 2. Is there a way to pre-include files and folders?
>
> Thanks in advance,
> John
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to