| 
 | 
 
 Edited by AllenChristophe at 2021-6-11 22:10  
 
Has anyone had success with gaining internet through hotspot with Orange Pi Zero 2? I have tried with ethernet and an addition USB wifi dongle (RTL8188CUS). 
I started with using the hotspot create option in orangepi-config. 
 
Hotspot with onboard wifi does work (I can connect), hostapd.conf seems okay. 
 
DNSMasq also seems to be configured correctly: 
interface=wlan1                       # Use interface wlan1 
listen-address=172.24.1.1         # Explicitly specify the address to listen on 
bind-interfaces                         # Bind to the interface to make sure we aren't sending things elsewhere 
server=8.8.8.8                         # Forward DNS requests to Google DNS 
domain-needed                        # Don't forward short names 
bogus-priv                              # Never forward addresses in the non-routed address spaces 
dhcp-range=172.24.1.3,172.24.1.254,infinite   # Assign IP addresses between 172.24.1.50 and 172.24.1.150 with a 12 hour lease time 
 
 
iptables -S also seems to show a proper configuration: 
 
-P INPUT ACCEPT 
-P FORWARD ACCEPT 
-P OUTPUT ACCEPT 
-A FORWARD -i wlan0 -o wlan1 -m state --state RELATED,ESTABLISHED -j ACCEPT 
-A FORWARD -i wlan1 -o wlan0 -j ACCEPT 
 
Does anyone have thoughts/insight? 
 
 |   
 
 
 
 |