OpenWrt Forum Archive

Topic: change default configuration ( password , ip , firewall ) during build

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

hi guys,
newbie here. any idea which file i need to modify in before building openWRT image so that it gets a different default ip , root password etc ?

Make a directory files/ in the toplevel dir and put preconfigured settings there, e.g.

files/etc/passwd
files/etc/shadow
files/etc/config/network
...

perfect..working. thx

The discussion might have continued from here.