網路城邦
上一篇 回創作列表 下一篇   字體:
change ap / station / repeart mode by uci
2021/12/27 17:27:36瀏覽127|回應0|推薦0
-------------------------------

#sta mode

uci set dhcp.lan.ignore='0' &&\

uci set network.lan.proto='static' &&\

uci set wireless.radio0.linkit_mode='' &&\

uci set wireless.ap.ssid='xxxxxxxxx' &&\

uci set wireless.ap.key='xxxxxxxxx' &&\

uci set wireless.ap.encryption='' &&\

uci set wireless.sta.disable=0 &&\

uci set wireless.sta.network='wan' &&\

uci set wireless.sta.ssid=greatcat3 &&\

uci set wireless.sta.key=aaabbbccc &&\

uci set wireless.sta.encryption=psk2 &&\

uci commit 


wifi_mode sta

-------------------------------

#ap mode

uci set dhcp.lan.ignore='0' &&\

uci set network.lan.proto='static' &&\

uci set wireless.radio0.linkit_mode='ap' &&\

uci set wireless.ap.ssid='LinkIt_Smart_7688_1C1497a' &&\

uci set wireless.ap.key='123456aaa' &&\

uci set wireless.ap.encryption='psk2' &&\

uci set wireless.sta.disable=1 &&\

uci set wireless.sta.network=''  &&\

uci set wireless.sta.ssid='xxxxxxxxx' &&\

uci set wireless.sta.key='xxxxxxxxx' &&\

uci set wireless.sta.encryption='' &&\

uci commit 


wifi_mode ap

-------------------------------

#repeater mode

uci set dhcp.lan.ignore='1'  &&\

uci set network.lan.proto='dhcp'  &&\

uci set wireless.radio0.linkit_mode='apsta'  &&\

uci set wireless.ap.ssid='LinkIt_Smart_7688_1C1497r' &&\

uci set wireless.ap.key='123456rrr' &&\

uci set wireless.ap.encryption='psk2' &&\

uci set wireless.sta.disable=0 &&\

uci set wireless.sta.network='lan'  &&\

uci set wireless.sta.ssid='greatcat3' &&\

uci set wireless.sta.key='aaabbbccc' &&\

uci set wireless.sta.encryption='psk2' &&\

uci commit


wifi_mode apsta
( 不分類不分類 )
回應 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=greatcat&aid=171009288