Recently on the Wi-Fi hotspot driver, the startup parameters have been debugged, verify that the data can be connected to transfer.
First, plug in the WiFi driver in the system startup script, configure the IP of the Wlan0
insmod/system/vendor/modules/192.168. 201.1 255.255. 255.0/etc/softat-server Start &
Get a start stop script for the WiFi AP today.
#!/bin/sh## It isNot safe to startifWe don't have a default configuration ...#echo"/etc/init.d/dhcp-server not yet configured!-aborting ..."#exit1; test-F/USR/SBIN/HOSTAPD | | Exit0Test-f/etc/hostapd.conf | | Exit0Test-F/USR/SBIN/DHCPD | | Exit0Test-f/etc/dhcpd.conf | | Exit0 Case " $" inchstart) echo-N"starting SoftAp server:"Test-D/var/lib/dhcp/| | Mkdir-p/var/lib/dhcp/Test-F/var/lib/dhcp/dhcpd.leases | | Touch/var/lib/dhcp/dhcpd.leases Start-stop-daemon-s-x/usr/sbin/hostapd/etc/hostapd.conf-b Start-stop-daemon-s-x/usr/sbin/dhcpd;; Stop) Echo-N"stopping SoftAp server"Start-stop-daemon-k-x/usr/sbin/dhcpd Start-stop-daemon-k-x/usr/sbin/HOSTAPD;; Restart| force-Reload) $0Stop Sleep2 $0Startif["$?"!="0" ]; Then Exit1fi;; *) echo"Usage:/etc/softp-server {start|stop|restart|force-reload}"Exit1Esacexit0~
Tested the above script is available.
Linux WiFi hotspot startup script