The problem: I am trying to create an AP on a Raspberry Pi 3B (want to later try on a Zero W, too) running buster. I also want to have Internet connectivity to the Pi using my Wi-Fi. I have studied several tutorials such as:
and others and successfully implemented a solution using eth0. However, what I want is that instead of eth0 the Pi should use wlan1. To this end I looked up various ways of doing using dual Wi-Fi:
I even followed this: https://www.raspberrypi.org/forums/viewtopic.php?t=191453
but I am unable to achieve my objective. Here’s what my files look like
interface wlan0 static ip_address=192.168.1.11/24 denyinterfaces eth0 denyinterfaces wlan0
interface=wlan0 bridge=br0 hw_mode=g channel=7 wmm_enabled=0 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=2 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP ssid=Hello123 wpa_passphrase=asdasdasd
auto lo iface lo inet loopback #iface eth0 inet dhcp auto wlan1 iface wlan1 inet dhcp wpa-ssid Hello123 wpa-psk asdasdasd
I cannot connect to the net (cannot browse or ping) and ifconfig doesn’t show wlan1 at all.
So, what am I doing wrong? And is it even possible for wlan0 and wlan1 to coexist in this fashion? All the examples using hostapd only show eth0 bridges. In fact, I am OK even if the bridging doesn't happen - I just need the ability to connect to the Pi through AP mode and the Pi should be able to contact a website for data.