Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:applications:wifi-sta-ap-mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim4:applications:wifi-sta-ap-mode [2023/02/15 23:08]
nick
products:sbc:vim4:applications:wifi-sta-ap-mode [2023/02/17 11:08] (current)
hyphop
Line 1: Line 1:
 ====== VIM4 Wi-Fi STA/AP Mode ====== ====== VIM4 Wi-Fi STA/AP Mode ======
  
-===== Introduction ===== +How to setup the Wi-Fi working on STA+AP mode at the same time.
- +
-This documentation will introduce how to setup the Wi-Fi working on STA+AP mode in the same time. +
- +
-==== Configuration Instructions ====+
  
 Configure ''wlan0'' to ''STA'' mode, and ''wlan1'' to ''AP'' mode. Configure ''wlan0'' to ''STA'' mode, and ''wlan1'' to ''AP'' mode.
  
  
-=== Setup Wlan1 as a Hotspot ===+===== Setup Wlan1 as a Hotspot =====
  
 Setup ''wlan1'' as a hotspot. Setup ''wlan1'' as a hotspot.
  
-== 2.4 GHz Frequency ==+==== 2.4 GHz Frequency ====
  
 For example, the following commands will create AP configuration named ''Hostspot'' on interface ''wlan1'', with SSID ''khadas_ap_2.4G'', ''2.4GHz'' band, ''channel 1'', ''WPA2-PSK'' security, ''CCMP encryption'' and passphrase ''12345678''. For example, the following commands will create AP configuration named ''Hostspot'' on interface ''wlan1'', with SSID ''khadas_ap_2.4G'', ''2.4GHz'' band, ''channel 1'', ''WPA2-PSK'' security, ''CCMP encryption'' and passphrase ''12345678''.
Line 32: Line 28:
 ``` ```
  
-== 5 GHz Frequency ==+==== 5 GHz Frequency ====
  
 For example, the following commands will create AP configuration named ''Hostspot'' on interface ''wlan1'', with SSID ''khadas_ap_5G'', ''5GHz'' band, ''channel 149'', ''WPA2-PSK'' security, ''CCMP encryption'' and passphrase ''12345678''. For example, the following commands will create AP configuration named ''Hostspot'' on interface ''wlan1'', with SSID ''khadas_ap_5G'', ''5GHz'' band, ''channel 149'', ''WPA2-PSK'' security, ''CCMP encryption'' and passphrase ''12345678''.
Line 76: Line 72:
 ===== Go Online! ===== ===== Go Online! =====
  
 +Verify that ''wlan0'' has a working internet connection:
  
-Verify that wlan0 has a working internet connection: 
 <WRAP info > <WRAP info >
 You need to connect Wi-Fi first. You need to connect Wi-Fi first.
 </WRAP> </WRAP>
 +
 ```shell ```shell
 khadas@Khadas:~$ sudo ping -I wlan0 www.khadas.com khadas@Khadas:~$ sudo ping -I wlan0 www.khadas.com
Last modified: 2023/02/15 23:08 by nick