Building OpenWRT with wireless enabled by default

To build OpenWRT image with wireless interface enabled by default you need after cloning OpenWRT (Carambola2) repository to your computer, updating feeds and installing packages right before you want to run “make” you must find the file in your OpenWRT directory:

package/mac80211/files/lib/wifi/mac80211.sh

Open it with the editor and find lines:

    # REMOVE THIS LINE TO ENABLE WIFI:
    option disabled 1

and comment out the line:

    # REMOVE THIS LINE TO ENABLE WIFI:
    ## option disabled 1

Now run make (or make -j 4 to speedup things ) in your OpenWRT directory.