I'm using instructions in https://www.raspberrypi.com/tutorials/h ... i-hotspot/ to create a wifi hotspot, so I can connect the Pi to a wifi network on board a ship which charges per device connected, and then provide a hotspot network that other devices (Windows laptop, Android phones and tablet, iPad) can connect to, sharing access to the ship's network. The Pi 5 (Raspberry PiOS 64 bit) has the built-in wifi adaptor and the external USB wifi adaptor that the article recommends.
The routing aspect works perfectly and the Pi can connect to the ship's network. Some devices (Win10 laptop, Android tablet, one Android phone) can connect to the hotspot network perfectly, using the SSID and WPA key that I defined during configuration described in the article. And then these devices can access the internet via the Pi5 acting as a router, and the ship's network.
However other devices (another Android phone, iPad) cannot connect to the hotspot network. The connection is refused with "Connection failed" (Android status message) which occasionally displays another message for a very brief instant - this may be "incorrect password". Strangely, everything worked when I was at home, when I was connecting the hotspot to my home wifi rather than the ship's wifi. How could the "parent" network affect devices being able to connect to the hotspot network that the Pi is providing?
The output of nmcli show connection is:
> nmcli connection
NAME UUID TYPE DEVICE
Hotspot ee4b4347-af14-40df-abe7-75220e29b07f wifi wlan1
P&OCruises_Guest_WIFI 9d59c247-c99b-4c9a-859d-3384e900ad5f wifi wlan0
lo cfee79c7-0b62-4ef4-b4da-4a3efc3e9e99 loopback lo
gromit_net 96ea462e-df73-41b6-9727-6e9b1c4e4dbf wifi --
where P&OCruises.. is the ship's network, Hotspot is a dummy entry which get created, and gromit_net is the network which the Pi provides and for which I have defined a WPA key.
I am confident that all the devices are connecting with the same password: I have even forgotten and re-added the hotspot network on devices that work, to prove that on those devices, the password is indeed the correct one. And I;ve done likewise on the devices that fail - forget and re-add, typing in the same key.
Is there something which could be allowing some devices to connect and others not to, even though they all use the same password, and even after I have forgotten and re-added the network?
I found an nmcli object connection.multi-connect and changed it from default 0 to 3 ("multiple" or some such wording) for both the ship's network and the hotspot network, and rebooted the Pi and confirmed that the changes persisted.
Any help would be gratefully received.
The routing aspect works perfectly and the Pi can connect to the ship's network. Some devices (Win10 laptop, Android tablet, one Android phone) can connect to the hotspot network perfectly, using the SSID and WPA key that I defined during configuration described in the article. And then these devices can access the internet via the Pi5 acting as a router, and the ship's network.
However other devices (another Android phone, iPad) cannot connect to the hotspot network. The connection is refused with "Connection failed" (Android status message) which occasionally displays another message for a very brief instant - this may be "incorrect password". Strangely, everything worked when I was at home, when I was connecting the hotspot to my home wifi rather than the ship's wifi. How could the "parent" network affect devices being able to connect to the hotspot network that the Pi is providing?
The output of nmcli show connection is:
> nmcli connection
NAME UUID TYPE DEVICE
Hotspot ee4b4347-af14-40df-abe7-75220e29b07f wifi wlan1
P&OCruises_Guest_WIFI 9d59c247-c99b-4c9a-859d-3384e900ad5f wifi wlan0
lo cfee79c7-0b62-4ef4-b4da-4a3efc3e9e99 loopback lo
gromit_net 96ea462e-df73-41b6-9727-6e9b1c4e4dbf wifi --
where P&OCruises.. is the ship's network, Hotspot is a dummy entry which get created, and gromit_net is the network which the Pi provides and for which I have defined a WPA key.
I am confident that all the devices are connecting with the same password: I have even forgotten and re-added the hotspot network on devices that work, to prove that on those devices, the password is indeed the correct one. And I;ve done likewise on the devices that fail - forget and re-add, typing in the same key.
Is there something which could be allowing some devices to connect and others not to, even though they all use the same password, and even after I have forgotten and re-added the network?
I found an nmcli object connection.multi-connect and changed it from default 0 to 3 ("multiple" or some such wording) for both the ship's network and the hotspot network, and rebooted the Pi and confirmed that the changes persisted.
Any help would be gratefully received.
Statistics: Posted by martinu — Sun Dec 29, 2024 5:15 pm