Difference between revisions of "Template:Allwinner-APmode"
From FriendlyELEC WiKi
(updated by API) |
(→配置WiFi无线热点) |
||
Line 1: | Line 1: | ||
<!--待翻译为英文--> | <!--待翻译为英文--> | ||
− | === | + | ===Setup WiFi Hotspot=== |
− | + | 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> | ||
− | + | You will be prompted to enter your WiFi hotspot's name and password. Follow the prompt to proceed.<br /> | |
− | + | 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> | ||
− | + | The password is fa <br /> | |
<br /> | <br /> | ||
− | + | 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> | ||
− | + | 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