OpenWrt Forum Archive

Topic: Change default Lan Address

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Dear forum

I want to change the (ASUS 500 GU)network configuration so that the router will start with 192.168.1.10 as lan address. I know how to do it after flashing the router. Can someone guide on which files to change so the build itself will setup the lan address correctly. I searched for /etc/config/netwok file in the build_dir but did not find it.
Thanks in advance.

Create a folder structure files/etc/config/ in the toplevel directory of your buildroot (where the README file is located) and copy your /etc/config/network from the router into that directory.

~ JoW

jow wrote:

Create a folder structure files/etc/config/ in the toplevel directory of your buildroot (where the README file is located) and copy your /etc/config/network from the router into that directory.

~ JoW

Can't you just set the options in the menuconfig?

Under ImageConfiguration section.

For this particular option yes.

jow wrote:

For this particular option yes.

I see the option - will try it now. Thanks. Is there anyway to set the password also during make menuconfig?

yaadgiri wrote:

Is there anyway to set the password also during make menuconfig?

Nope.

The discussion might have continued from here.