本帖最后由 Tinker_XwnIbwSU 于 2022-9-26 18:07 编辑
1、安装dnsmasq 和 hostapd
- sudo apt install dnsmasq hostapd
复制代码 2、下载
SoftAP_tinker2_debian10_20220223.zip
(300.34 KB, 下载次数: 3650)
,解压:SoftAP_tinker2_debian10_20220223.zip
3、修改权限:
- chmod 755 Enable_SoftAP.sh Disable_SoftAP.sh
复制代码 4、使能SoftAP
您可以修改/etc/hostapd/hostacd.conf,设置自己的ap
- 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.
复制代码
|