[OpenWrt-Devel] Few question about compiling your own firmware images

Claudio Thomas ct at xmodus-systems.de
Wed Jun 25 03:59:56 EDT 2014


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
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140625/c9856d11/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list