Hotspot and Internet access together — why not?

  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.


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