Hotspot and Internet access together — why not?

If I try to set up a hotspot in GNOME, I get the following message:

If you have a connection to the Internet other than wireless, you can use it to share your internet connection with others.

Switching on the wireless hotspot will disconnect you from <network name>.

It is not possible to access the internet through your wireless while the hotspot is active.

What are the technical reasons why I can’t set up an Hotspot and be connected to the Internet at the same time?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

  1. Uses the same antenna.
  2. Currently most software doesn’t allow to be in client and AP mode at the same time.
  3. Wireless is a half-duplex protocol, except for some really new bleeding edge stuff. The radio can only transmit or receive at one time, it cannot do both at the same time.

Going with point 3, if any software was developed to allow both client and AP mode simultaneously the radio would first need to communicate like a client and then pass the data along as an AP. The latency would be undesirable, and the most likely cause that no one has made software to run both client and AP mode at the same time.

Method 2

it is very possible to use hotspot and browse the internet with the same wifi card at the same time (simultaneously).i have been using it for sometime now.ideapad 100s 141br with card intel dualband 3160,ubuntu.

the most simplest way i found was to use an app called create_ap in github. it works perfectly.

first you need these installed; util-linux, bash, procps or procps-ng, hostapd, iproute2, iw, iwconfig,haveged, dnsmasq, iptables.

install them with:

sudo apt install hostapd iproute2 iw haveged dnsmasq iptables
procps bash util-linux

. if they are already installed the terminal would inform you, if not it downloads them automatically.

install the app from terminal:

git clone https://github.com/oblique/create_ap
cd create_ap
sudo make install

after it has installed successfully, i created hotspot first before connecting to internet. You can create a hotspot with :

sudo create_ap wlp2s0 wlp2s0 MyAccessPoint

an open AP , where wlp2s0 is my physical wireless card, MyAccessPoint is my hotspot name. The first wlp2s0 is where you want to supply with internet, and the second wlp2s0 is the card connected to the internet (in this case it is the same card). The command would be running it the terminal so tuck it
into the launcher. You can stop the hotspot from terminal with ctrl+c

there is a readme in the installation dir home/create_ap check to out to find out the various hotspots you can create or simply type create_ap in terminal for help.

regards.

source https://github.com/oblique/create_ap


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x