Difference between revisions of "Template:Allwinner-APmode"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(配置WiFi无线热点)
Line 1: Line 1:
 
<!--待翻译为英文-->
 
<!--待翻译为英文-->
===配置WiFi无线热点===
+
===Setup WiFi Hotspot===
如果您使用的开发板带有AP6xxx系列的WiFi芯片,执行以下命令可以进入AP模式:<br />
+
If your board has onboard AP6xxx WiFi IC you can enter AP mode by running the following commands:<br />
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo turn-wifi-into-apmode yes
 
sudo turn-wifi-into-apmode yes
 
</syntaxhighlight>
 
</syntaxhighlight>
这时会提示你输入WiFi热点的名称和密码,按提示操作即可。<br />
+
You will be prompted to enter your WiFi hotspot's name and password. Follow the prompt to proceed.<br />
操作成功后,你可以在电脑/手机上搜索并连接热点,然后通过192.168.8.1这个地址来登录开发板:
+
After it succeeds you will be able to find this hotspot and login to your board at 192.168.8.1:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
ssh root@192.168.8.1
 
ssh root@192.168.8.1
 
</syntaxhighlight>
 
</syntaxhighlight>
在提示输入密码时,输入预设的密码fa,即可登入。<br />
+
The password is fa <br />
 
<br />
 
<br />
为了保证ssh的流畅,我们用以下命令关闭wifi的省电模式:
+
To speed up SSH login you can turn off WiFi by running the following command:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo iwconfig wlan0 power off
 
sudo iwconfig wlan0 power off
 
</syntaxhighlight>
 
</syntaxhighlight>
要切换回普通的Station模式,输入如下命令:<br />
+
To switch back to Station mode run the following command:<br />
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo turn-wifi-into-apmode no
 
sudo turn-wifi-into-apmode no
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 05:21, 29 January 2018

Setup WiFi Hotspot

If your board has onboard AP6xxx WiFi IC you can enter AP mode by running the following commands:

sudo turn-wifi-into-apmode yes

You will be prompted to enter your WiFi hotspot's name and password. Follow the prompt to proceed.
After it succeeds you will be able to find this hotspot and login to your board at 192.168.8.1:

ssh root@192.168.8.1

The password is fa

To speed up SSH login you can turn off WiFi by running the following command:

sudo iwconfig wlan0 power off

To switch back to Station mode run the following command:

sudo turn-wifi-into-apmode no