Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been struggling today customizing OpenWRT. I checkout the stable using SVN, "make menuconfig" to customize the image, "make" it and run it on a router. Almost all my modifications work, except for the (Seemingly trivial) task of changing the default address.

I tried numerous files (scripts as well as config files) but I can't seem to change it (I can change it for a brief moment after boot using the "preinit" file, but after a few seconds it reverts to default).

I suspect I should be setting it in the /etc/network file, but modifications there seem to be overwritten during boot. Maybe it has something to do with the br-lan interface?

Does anybody have some thoughts on the subject? Thanks!

share|improve this question

migrated from Sep 20 '12 at 21:38

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

So... Found out how the cookie crumbles via the OpenWRT Forum.

You have to make a "files" folder in your build dir eg. "~OpenWRT/trunk/files". You can then add files and folders as is were the root folder of your build.



would enable you to make a custom banner (for telnet or SSH)

Article on OpenWRT Forum

Alternatively you can use the buildroot's menuconfig to set specific configuration options as well under the Image Configuration submenu. Image Configuration

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .