From: RISCi_ATOM Date: Mon, 29 May 2017 07:38:46 +0000 (-0400) Subject: Enable wifi by default w/ default password X-Git-Tag: v1.4.1-final~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76da87b75c6a4017f35a68ac70a61541b5b887ea;p=librecmc%2Flibrecmc.git Enable wifi by default w/ default password --- diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index 3d1299d7da..f87723c180 100644 --- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh +++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh @@ -116,14 +116,15 @@ detect_mac80211() { set wireless.radio${devidx}.hwmode=11${mode_band} ${dev_id} ${ht_capab} - set wireless.radio${devidx}.disabled=1 + set wireless.radio${devidx}.disabled=0 set wireless.default_radio${devidx}=wifi-iface set wireless.default_radio${devidx}.device=radio${devidx} set wireless.default_radio${devidx}.network=lan set wireless.default_radio${devidx}.mode=ap set wireless.default_radio${devidx}.ssid=libreCMC - set wireless.default_radio${devidx}.encryption=none + set wireless.default_radio${devidx}.encryption=psk + set wireless.default_radio${devidx}.key=librecmc EOF uci -q commit wireless