lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.04k stars 282 forks source link

Wifi speed significantly reduced with hotspot enabled #343

Open roundoutandabout opened 10 months ago

roundoutandabout commented 10 months ago

Describe the bug After enabling the hotspot with the same wifi adapter that is used for the internet connection, the network speed is significantly reduced.

To reproduce Steps to reproduce the behavior:

  1. Connect a system to the internet with a wifi adapter (e.g. wlp8s0)
  2. Create a wifi hotspot with the same wifi adapter using a command: $ sudo create_ap --ieee80211n --ieee80211ac --freq-band 2.4 wlp8s0 wlp8s0 My-Hotspot P@ssw0rd
  3. Check the network speed on the same system (e.g. with Speedtest)

Expected behavior Network speed is comparabe with the hotspot enabled and disabled.

Actual behavior Network speed with the hotspot enabled is significantly slower.

Desktop:

Additional context If you know some hotspot settings to improve the network speed, I would be glad to try it out. This migh very well be the hardware/driver limitation. If you think this is the case, you can close the issue.

As can be seen, I'm already using the options --ieee80211n --ieee80211ac but that doesn't have much effect. With the different channel (-c 2) the situation is the same.

I'm using --freq-band 2.4, because otherwise I get:

ERROR: Your adapter can not transmit to channel 1, frequency band 5GHz.

Same with the channel 2.

Related issues: #286

CyberBishop commented 8 months ago

I am experiencing the same thing, have you been able to resolve it, my network is totally unusable when hotspot is connected

roundoutandabout commented 8 months ago

I am experiencing the same thing, have you been able to resolve it, my network is totally unusable when hotspot is connected

Unfortunately not.

CyberBishop commented 8 months ago

Someone needs to figure out how windows does it

cccaballero commented 3 months ago

Same problem using version 4.7.1, Ubuntu 22.04 and a Thinkpad T14 gen2. The created hotspot network speed is about 4 Mbps