garywill / linux-router

Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers 🛰️ (也欢迎关注B站 https://space.bilibili.com/2123686105 )
GNU Lesser General Public License v2.1
1.71k stars 152 forks source link

Unable to create wifi-hotspot as adapter does not support AP (master) mode #26

Open shivamnaik39 opened 2 years ago

shivamnaik39 commented 2 years ago

this was the tool i was using.... sudo lnxrouter --ap wlo1 MyAccessPoint -p MyPassPhrase ERROR: Your adapter does not support AP (master) mode

the output of iw list also clearly states that this does not support AP mode but on windows I am able to create wifi-hotspot. so is there any way I can achieve this on linux, do I need to install some special dependency or different version of particular dependency?

garywill commented 2 years ago

the output of iw list also clearly states that this does not support AP mode but on windows I am able to create wifi-hotspot.

That's somewhat Linux not as good as Windows, for some wireless device models. Unluckily that's our Linux.

Sorry but I don't have a good knowledge about wifi drivers. So leaving this open for waiting for qualified answers. You can try asking at create_ap (must with your model name ) or Googling about it. As I remember, some people said 1. changing driver 2. modifying Linux kernel code may do.

shivamnaik39 commented 2 years ago

the output of iw list also clearly states that this does not support AP mode but on windows I am able to create wifi-hotspot.

That's somewhat Linux not as good as Windows, for some wireless device models. Unluckily that's our Linux.

Sorry but I don't have a good knowledge about wifi drivers. So leaving this open for waiting for qualified answers. You can try asking at create_ap (must with your model name ) or Googling about it. As I remember, some people said 1. changing driver 2. modifying Linux kernel code may do.

The main reason I'm asking is, on my old laptop , I was getting same error but , I did some tweaks (which i don't remember now) and it worked somehow

till now I've only tried it with Linux-lts and latest linux kernel, create_ap also gives same error. As far as drivers are considered, only rtw89 works well with this adapter thanks to the dev, wifi and Bluetooth works very well (as good as windows).