I am going to be staying in a hotel in the future, and I need to be able to use Ethernet devices there. The hotel provides free WiFi, however it has no way of providing Ethernet.
I have the idea of connecting to the free WiFi using a Raspberry Pi, and then pushing the internet connection out of the Ethernet port on the Pi.
Everything seems fine here, apart from the bind addresses for the WiFi adapter. I don't know what IP addresses will be available on the WiFi network, and although I could put in a random ip address like 192.168.0.239, I don't know what range the network runs on either. It could be X.X.X.X, for example:
How can I make this set-up work without knowing any of the DHCP information beforehand?
Thank you for any responses.