Difference between revisions of "Template:Allwinner-APmode"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--待翻译为英文-->
+
===Setup Wi-Fi Hotspot===
===配置WiFi无线热点===
+
Run the following command to enter AP mode:<br />
如果您使用的开发板带有AP6xxx系列的WiFi芯片,执行以下命令可以进入AP模式:<br />
+
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo turn-wifi-into-apmode yes
+
$ su root
 +
$ turn-wifi-into-apmode yes
 
</syntaxhighlight>
 
</syntaxhighlight>
这时会提示你输入WiFi热点的名称和密码,按提示操作即可。<br />
+
You will be prompted to type your WiFi hotspot's name and password and then proceed with default prompts.<br />
操作成功后,你可以在电脑/手机上搜索并连接热点,然后通过192.168.8.1这个地址来登录开发板:
+
After this is done you will be able to find this hotspot in a neadby cell phone or PC. You can login to this 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 />
+
When asked to type a password you can type "fa".<br />
 
<br />
 
<br />
为了保证ssh的流畅,我们用以下命令关闭wifi的省电模式:
+
To speed up your ssh login you can turn off your wifi by running the following command:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo iwconfig wlan0 power off
+
$ 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
+
$ turn-wifi-into-apmode no
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 08:20, 9 October 2018

Setup Wi-Fi Hotspot

Run the following command to enter AP mode:

$ su root
$ turn-wifi-into-apmode yes

You will be prompted to type your WiFi hotspot's name and password and then proceed with default prompts.
After this is done you will be able to find this hotspot in a neadby cell phone or PC. You can login to this board at 192.168.8.1:

$ ssh root@192.168.8.1

When asked to type a password you can type "fa".

To speed up your ssh login you can turn off your wifi by running the following command:

$ iwconfig wlan0 power off

To switch back to Station mode run the following command:

$ turn-wifi-into-apmode no