From 76da87b75c6a4017f35a68ac70a61541b5b887ea Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Mon, 29 May 2017 03:38:46 -0400 Subject: [PATCH] Enable wifi by default w/ default password --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.25.1