Wi-Fi Hotspot in Linux

I often find myself in a situation where I need to temporarily connect to a certain network with a device that is usually offline. For various reasons, it is advantageous to create a temporary Wi-Fi hotspot for that specific device without granting it direct access to the router. Creating a hotspot using a mobile phone is a quick and easy way, however, sometimes I prefer to use my laptop to do…