[AIOT] Set Wi-Fi as a Hotspot for Tinker Board 3

1. Install dnsmasq & hostapd package

sudo apt install dnsmasq hostapd 
 

2. Unzip SoftAP.zip

SoftAP_debian10_20220127.zip

3. Open terminal and go to SoftAP folder, then

chmod 755 Enable_SoftAP.sh Disable_SoftAP.sh 
 

4. Enable SoftAP mode:

./Enable_SoftAP.sh 
default SSID = TinkerSoftAP 
default Password = 87654321 
 

5. Disable SoftAP mode:

 ./Disable_SoftAP.sh 
 

6. You can modify /etc/hostapd/hostapd.conf for your own softap settings.

Ex.
ssid=TinkerSoftAP
wpa_passphrase=87654321
channel=6

# For MAC address access-list 
# 0 = accept unless in deny list, deny_mac_file is used to specify deny list. 
# 1 = deny unless in accept list, accept_mac_file is used to specify accept list. 
macaddr_acl=1
 
# Accept/deny lists are read from separate files (containing list of # MAC addresses, one per line). 
accept_mac_file=/etc/hostapd/hostapd.accept 
deny_mac_file=/etc/hostapd/hostapd.deny 
 

7. After modify hostapd.conf, you need to disable / re-enable softap again.