Without going into details, the machine I use connects to a wireless network to get Internet access. Other devices aren't allowed on this network. Also, I do not have administrator access.
I can already run a wireless hotspot using NetworkManager, and switch to my Internet connection and back, but I can't do the two at the same time.
I want to create a wireless hotspot simultaneously with my wireless Internet connection (single adapter). I'm pretty sure this is possible, since I have a Qualcomm/Atheros card.
I'm very familiar with Linux commands so I have no problem getting directions involving use of iptables
, route
, etc.
Best Answer
Iptables and manual routing aren't necessary when using Ubuntu's provided defaults.
You would need two Network Interface Adapters to provide a Hotspot via Ubuntu.
NIC #1
This will be used for your connection to the internet. While both NICs could be wireless, this NIC (the connection NIC) is usually a wired NIC. For your particular case, I used a wireless NIC for testing these steps.
NIC#2
The second NIC (in the case of your question details, a Wireless adapter) will be used for configuring as a Hotspot to share the connection (the Hotspot NIC).
Configuring one NIC won't affect the other.
You can setup your Ubuntu Hotspot connection using three parts:
Create the Hotspot Network
Edit/Configure the new Hotspot network
(Important:
To make changes to the Hotspot configuration, the Hotspot has to be turned off first in Part 1)
Activate the Hotspot
Your new network will now show availability in the list of wireless networks. These connections are handled by your Hotspot and are invisible to your original provider. I tested the steps on an internet Hotspot that has a web interface for the computer connection. The Ubuntu Hotspot provides access without having to connect to the Web interface.
To turn off your Ubuntu Hotspot perform Part 1... click the ON/OFF button to OFF