What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

how to change default router setting when compile firmware from source?

consatan

New Around Here
Hi all,

I want to auto turn on "Enable Web Access from WAN" and "Allow only specified IP address" when I flashed meilin firmware.

If it can I also want to auto turn on DDNS, my RT-N66U already registered asus DDNS.
 
Hi all,

I want to auto turn on "Enable Web Access from WAN" and "Allow only specified IP address" when I flashed meilin firmware.

If it can I also want to auto turn on DDNS, my RT-N66U already registered asus DDNS.

Default values are in router/shared/defaults.c.

You will need of course to do a factory default to apply new default values, otherwise whatever values are currently stored in nvram will remain in use. Default values are just that - default values used until you actually change them.
 
Default values are in router/shared/defaults.c.

You will need of course to do a factory default to apply new default values, otherwise whatever values are currently stored in nvram will remain in use. Default values are just that - default values used until you actually change them.

Thanks!

BTW, where is the init script path? I want add a startup bash script to the firmware.
 
Thanks!

BTW, where is the init script path? I want add a startup bash script to the firmware.

There is no init scripts - the firmware isn't based on SysV init scripts, but on a custom init process (rc).

The earliest you can execute anything using the built-in script support is in init-start. See the Wiki for more info on user scripts.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top