I have an issue setting up my wifi adapter. To initally set up my raspberry pi zero w I used an old Wifi Pineapple from Hak5 to give the rpi W access to the internet. The Wifi Pineapple uses internet sharing over usb and the rpi w accepted this as the eth0 connection, so I could use the rpi's built-in wifi to broadcast my captive portal setup. I used the following guides:
Setting up access point: https://pimylifeup.com/raspberry-pi-wireless-access-point/
Configuring Captive Portal with Nodogsplash: https://pimylifeup.com/raspberry-pi-captive-portal/
Now, I am using my Wifi Pineapple for another project and I can't attach it to the rpi w. I bought a wifi dongle to still provide the rpi w with wifi, but all guides show how to setup the wifi dongle as the wlan0 interface. I want to configure the dongle so that the rpi w thinks it as eth0, as wlan0 is reserved for serving the access point and captive portal.
Is this possible and if yes, how?
EDIT: To clarify. The adapter has to appear as eth0 to the rpi zero w, as the captive portal is expecting a bridge from eth0 to wlan0 (the broadcasted network using the rpi's built-in wifi chip). The wifi input (dongle) has to be eth0.