Template:Allwinner-APmode

From FriendlyARM WiKi
Revision as of 09:34, 25 January 2018 by Tzs (Talk | contribs) (updated by API)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

配置WiFi无线热点

如果您使用的开发板带有AP6xxx系列的WiFi芯片,执行以下命令可以进入AP模式:

sudo turn-wifi-into-apmode yes

这时会提示你输入WiFi热点的名称和密码,按提示操作即可。
操作成功后,你可以在电脑/手机上搜索并连接热点,然后通过192.168.8.1这个地址来登录开发板:

ssh root@192.168.8.1

在提示输入密码时,输入预设的密码fa,即可登入。

为了保证ssh的流畅,我们用以下命令关闭wifi的省电模式:

sudo iwconfig wlan0 power off

要切换回普通的Station模式,输入如下命令:

sudo turn-wifi-into-apmode no