OpenWrt Forum Archive

Topic: how to make custom build for WA840G?

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

How do I make a custom build for a WA840G? I could not get any of my custom images to load, but an image I downloaded from this site works (but does not support WPA).

A friend of mine (Brittany Benzaia) just explained how to get it working.
Modify motorola-bin.c in {OpenWRT path}/target/utils/src/ by changing line 95 to "firmware->flags = ntohl(0x10577040);"(find the 5 in the number and change it to a 4). Then go back to the OpenWRT path and run make again.

Now I got the firmware on the AP and it seems to run, but the configuration is incorrect so it doesn't work right. (The AP's serial port has failed such that I could monitor what's going on but cannot enter commands, so I couldn't change the configuration using that method.)

The discussion might have continued from here.