Report comment

Hi Minh, could you let me know if you are able to connect to the PI's hotspot with ssh or VNC ok. Just to confirm the hotspot to the PI is working ok.

If the hotspot is working fine but you don't get internet when the Network Cable is attached to the LAN port then just check the line in
# Uncomment the next line to enable packet forwarding for IPv4

and /etc/dhcpcd.conf has the line
nohook wpa_supplicant

but as you have checked this all other parts to make the internet work are in the script.

While the pi is on network mode with wifi disabled and the Network cable attached do you get internet access, if so it should also still work in hotspot mode.

If you could give me further info on what happens I will into it further for you.