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.
This website seems to explain what I need to do, as does this post.
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:
- 192.168.0.X
- 192.168.42.X
- 10.0.2.X
- 10.0.0.X
How can I make this set-up work without knowing any of the DHCP information beforehand?
Thank you for any responses.