I know how to create a hotspot when connected to a wired network, but when I am using internet from a WiFi connection, this disconnects the wireless connection the moment I activate the hotspot.
In Windows I can use Connectify Hotspot, which enables me to share the internet connection from the same wireless adapter as I am creating an access point on. As you can read on the technology overview page:
Access Point mode allows you to create a hotspot using the same Wi-Fi card that you are using to access the Internet.
How do I do this on Ubuntu?