Closed ashah7 closed 3 years ago
There is no automatic provision for that right now. You would get the desired effect if you removed the dongle. Or, you could probably get this by disabling the comitup service and restarting.
Yeah, I do have the same problem. I need to attach a wifi-dongle as the raspberry is mounted inside a housing thus the internal antennas range is dramatically reduced.
See enable_appliance_mode and set_primary_device in comitup.conf.
I haven't tried this.
That's getting a bit strange now. wlan0 has a connection to a network. wlan1 doesn't. With "primary_wifi_device: wlan1" Comitup goes to HOTSPOT Mode with wlan1 but a connection fails from the Smartphone.
That suggests either that the software is not respecting the appliance mode/primary device settings correctly, or this may be due to the NetworkManager race bug that lead to the previous long startup delay.
I just tried this. It worked fine for me.
It actually solved a problem. The second (wifi) adapter (an RTL8188CUS) was getting the wlan0 assignment, but did not respond well to being assigned hotspot responsibility. With wlan1 set to the primary device, it now works fine with either appliance mode setting.
Hi Very good project, been looking for a while for something like this, not sure why finding this has taken so long.
I'm using a wifi dongle and wanted to know if its possible to disable the hotsport on wlan0 when a connection has been established? Rather than leaving it running. I'm just need a connection on wlan1 (dongle). Because there is no authentication for connecting to the hotspot I fear this might be a security issue if always left advertised.
thanks