2024-01-22, 10:21 PM
(2024-01-22, 08:31 PM)Boatingbaileys Wrote:(2024-01-22, 03:57 PM)MigGat Wrote: In Pi5 Bookworm you just need to left-click on the connection icon > Advanced options > Create Wireless Hotspot. Or if you already have one, Edit connections.
There you can setup the hotspot on wlan0 and share the connection with other networks.
(2024-01-22, 05:53 PM)Boatingbaileys Wrote: Not a problem - I think something strange is going on but I'm not sure its OP related. I think this is in the OS code.
Ok - I've got this working, but on a reboot, the virtual interface disappears and I have to recreate it, so I need to work out how to stop that happening.
Here is what I did:
sudo iw phy0 interface add vap0 type __ap
Then in the network manager, you can see the virtual AP, called vap0. I then set that up as a hotspot, had to force 2.4 GHz, select vap0 in device, create the SSID. I'm using WPA/WAP2/WAP3 as the security type otherwise I can't join it. IPv4 settings - Method Shared to other computers and i've created an IP address range 10.1.1. 24 10.1.1.1 in my case. Then I joined my home network (remember this has to be the same band as the hosted network) so 2.4 in my case, bounced things a couple of times and its working. My phone joined it and I have internet access through the pi.
ifconfig shows ips on both vap0 and wlan0 in the correct networks.
Any chance you can bring the app back
Very nice, that works for me. This might give the persistent answer: https://superuser.com/questions/759542/h...es-with-iw
I'll look at that now.
Mike