I have a device I would like to connect to a wireless network but it does not have a wireless adapter. The device does not have a console or monitor output so I can not log into the device. I need to use the Raspberry Pi to log into the wireless network and then connect my device to the ethernet port on the Raspberry Pi. Does anyone know how to do this?
Update with info from comment:
The device is a "Sharkrf open spot". It is used in ameatur radio to connect a radio in the ameatur band to the internet. It has an rf port for the ameatur radio input, but only a wired ethernet port pointing to the internet. I can log into the sharkrf once it is connencted to the internet. I can not directly access the sharkrf to before it is connected to the internet. So I need something for when I am traveling that will be able to log into a motel network that is password protected and then allow the sharkrf to connect to it.
I am using a Raspberry Pi 3 B. I have it programed now as a wireless router with the wired ethernet connecting to a wired switch and the wireless side accepting connections. However, I need to switch the ports. I need the wireless side to connect to a a wireless network and be able to connect wired device (sharkrf open spot) to the wired ethernet port. This port must also act as a router and provide dhcp services. I have the PI working, I just need to reverse the ports. I do not know how to do that.