So I am using a raspberry pi zero W as an ethernet gadget. I got ssh working and the RNDIS/Ethernet Gadget thing working so I can log into the pi using email@example.com. I even got VNC to work so that I can work remotely.
However, the problem is that when I plug in the rpi into my laptop, it says that I'm connected to the wifi but I have no connection when I search something on my browser. So I can't access youtube while connected nor apt-get anything which kind of ruins the whole remote access capability. Same on the rpi, I am connected to wifi but I can't use chromium for anything.
I'm living in a hotel right now so I can't create a static ip address and ssh into it (already tried but failed with some connection unreachable issue with the router and I can't change the port to something else). Is there any way possible that I can get wifi while still connected to my rpi as ethernet gadget?