RaspberryConnect / AutoHotspot-Installer

For the RaspberryPi computers. Allows switching between a Raspberry Pi Access Point and Wifi Network connection without a reboot.
GNU General Public License v3.0
67 stars 24 forks source link

Make use of dual AP/client capabilities #12

Open wighawag opened 1 year ago

wighawag commented 1 year ago

Hey, thanks for your script. Not an issue, more like a feature request:

The script currently requires you to choose whether you want to have an AP or if the PI connect to an existing network.

Some of the raspberry PIs supports dual mode where the PI can be both an AP and a wifi client to another AP.

It would be great if the script offered the option to use this capability.

RaspberryConnect commented 1 year ago

Hi, I have looked at that in the past, I don't think it is that easy to implement. This issue is for the next PiOS (Bookworm, probably due out in June 23), they are changing the way wifi works so that means this script will no longer work for that.

I will be creating a new script for bookworm onwards, so I will keep your request in mind once I have a comparable script working and then start on further development.

mats-nk commented 6 months ago

Bookworm has switched to NetworkManager so the old way is now gone. nmcli is the way to configure network Eth and WiFi.

RaspberryConnect commented 6 months ago

Hi Mats-nk

Its a bit of a pain having to rewrite the whole thing but the Bookworm version is available on my website. With the Network Manager GUI allowing Access Point selection, it is easier but the script is still useful for those with headerless setups as NM doesn't deactivate the AP when a Wifi network is in range.

https://www.raspberryconnect.com/projects/65-raspberrypi-hotspot-accesspoints/203-automated-switching-accesspoint-wifi-network

I will be adding it to Git once I have done some further work on it.