Open cloud4every1 opened 1 month ago
Hello @cloud4every1
please follow the steps to set up the Wi-Fi hotspot:
Enable SoftAP mode: ./Enable_SoftAP.sh
default SSID = TinkerSoftAP
default Password = 87654321
Disable SoftAP mode:
./Disable_SoftAP.sh
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
After modify hostapd.conf, you need to disable / re-enable softap again.
reference: Tinker Board S R2.0 & R2.0, Tinker Board & S · TinkerBoard/TinkerBoard Wiki (github.com) (1.11 How to set WIFI as a Hotspot)
Hello ASUSIOT
Many thanks for this very helpful description and sorry for the long delay of response.
I tested it and it works as described.
Problem seems that it works fine until I reboot the board. After this the WLAN access point is gone and I have to disable and re enable SoftAP.
Is there a way to make this configuration persistent??
Many thanks for your help!!
Gerold :-)
On 22.05.2024, at 08:36, asusiot @.***> wrote:
Hello @cloud4every1 https://github.com/cloud4every1 please follow the steps to set up the Wi-Fi hotspot:
Update packages and then install dnsmasq & hostapd package: sudo apt-get update sudo apt install dnsmasq hostapd Unzip SoftAP.zip: For Tinker Board (S) SoftAP_debian10_20220127.zip https://github.com/TinkerBoard/TinkerBoard/files/8107749/SoftAP_debian10_20220127.zip Open terminal and go to SoftAP folder, then execute the command line: chmod 755 Enable_SoftAP.sh Disable_SoftAP.sh Enable SoftAP mode: ./Enable_SoftAP.sh default SSID = TinkerSoftAP
default Password = 87654321
Disable SoftAP mode:
./Disable_SoftAP.sh
- You can modify /etc/hostapd/hostapd.conf for your own softap settings. For example:
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
After modify hostapd.conf, you need to disable / re-enable softap again.
reference: Tinker Board S R2.0 & R2.0, Tinker Board & S · TinkerBoard/TinkerBoard Wiki (github.com) https://github.com/TinkerBoard/TinkerBoard/wiki/Tinker-Board-S-R2.0-&-R2.0,-Tinker-Board-&-S#111-how-to-set-wifi-as-a-hotspot (1.11 How to set WIFI as a Hotspot)
— Reply to this email directly, view it on GitHub https://github.com/TinkerBoard/tinkerboard.github.io/issues/1#issuecomment-2123981372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJU2MU45RYJHBHPSKBNAUDZDQ4IDAVCNFSM6AAAAABICBMA6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTHE4DCMZXGI. You are receiving this because you were mentioned.
hello @cloud4every1
you will need to re-execute the script each time after reboot for the settings to come effective; or you can either add the .sh to rc.local or add it as a service so the configs are kept after reboot
Tried several versions of Tinker_board-Devian-Buster-v3.0.(27,23,6) but on non of them I can create a Hotspot that a device can connect to.
journal shows when I try to connect to the Tinkerboard (cell phone, tablet):
And yes it is right, there is no hostapd.conf file
The corresponding configuration file looks like:
How can this be fixed on the R2 boards?? boardinfo shows:
Many thanks for your help!