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.36k stars 309 forks source link

Hotspot too slow #286

Open Antonio05200 opened 1 year ago

Antonio05200 commented 1 year ago

Hello, my laptop is connected to a 100MB/s connection. When I activate the hotspot on Windows I get on my phone about 60MB/s download speed, on linux the maximum value that I get is 10MB/s. Are there some fixes for this? Thanks in advance

ShatteredSkies commented 1 year ago

Getting the same issue here

jamesrbarker commented 1 year ago

same here

Luciogi commented 1 year ago

same here

NightFlexer commented 1 year ago

I also have slow speed.

Luciogi commented 1 year ago

I doubt , this is more of hostapd issue

History-exe commented 1 year ago

Try this #113

In my opinion, the speed relate to the hardware and software settings.

You should try to enable IEEE 80211n, IEEE 80211ac. 图片

For me in 5Ghz. Test results are as below: 图片

afzl-wtu commented 1 year ago

Same here. When I turn on my mobile hotspot of 5 GHz I can transfer files through Mixplorer server at 40 MB/s. But When I turn on Linux-wifi-hotspot on 5GHz at cheannel 149 or 165 which are3 heavy duty channels, I get transfer speed of of only 300KB/s.

afzl-wtu commented 1 year ago

Try this #113

In my opinion, the speed relate to the hardware and software settings.

You should try to enable IEEE 80211n, IEEE 80211ac. 图片

For me in 5Ghz. Test results are as below: 图片

Enabling IEEE option only boost my hotspot speed to 15 MB/s. But It should be atleast 36MB/s.

ryuheechul commented 3 weeks ago

Checking all IEEE options (in my case, IEEE80211n, IEEE80211ac, IEEE80211ax) like suggested above worked for me.

before enabling any of them was about 10 Mbits/sec after enabling all was about 110 Mbits/sec and enabling subset of them were in between (depends on which one and how many) And I also found a way to increase it even further which is enabling TPM (in my particular setup, I followed https://nixos.wiki/wiki/TPM) After enabling TPM, it increased to ~140 Mbits/sec

Another thing I noticed that enabling hotspot makes the speed of the connection to the (upstream) router less than half (from ~520 Mbits/sec to ~220 Mbits/sec). So I can infer that bandwidth are split between the upstream and downstream (even when there are no active transmissions).