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
iface lo inet loopback
#iface eth0 inet dhcp
iface wlan1 inet dhcp
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.