This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Enable wlan1 by default

Other Parts Discussed in Thread: WL1835

Hi admin,

Now. I'm developing the WiLink Wifi + bluetooth module WL1835 with openWRT. I read the demo at  http://processors.wiki.ti.com/index.php/WiLink8_WLAN_Demo:_Linux to show that we can enable wlan1 with command: "iw phy0 interface add wlan1 type managed". I have a question that we can enable wlan1 by default in codes or dts file ? I need it to integrate with uci network and uci wireless of openWRT. If you have any concerns, please let me know.

P/s: I'm using the driver for WL1835 module from compat-wireless-2014-11-04 version that we can download from here:http://mirror2.openwrt.org/sources/compat-wireless-2014-11-04.tar.bz2


  • Hi admin,
    Now I can do this task with modify the /etc/config/wireless as below:

    config wifi-device radio0
    option type mac80211
    option channel 11
    option hwmode 11g
    option path 'ocp/481d8000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:2/wl18xx.2.auto'
    #option htmode HT40+
    # REMOVE THIS LINE TO ENABLE WIFI:
    option disabled 0

    config wifi-iface
    option device radio0
    option network 'wlan'
    option mode ap
    option ssid OpenWrt
    option encryption none

    config wifi-iface
    option device radio0
    option mode sta

    Best regards.