I am aware that the question is asked here already, e.g.
- Can RPi4 run simultaneously on dual band (WiFi 2.4GHz / 5GHz)?
- Is it possible to use Raspberry Pi 3 B+ Dual Band WiFi Simultaneously?
But I have several problems with it. The sudo iw list
lists:
--- snip ---
valid interface combinations:
* #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
total <= 3, #channels <= 2
* #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
total <= 4, #channels <= 1
--- snip ---
Than I can use either a P2P-device
or a AP
device. But honestly I have no clue what is the main difference between them. Does it mean I cannot use any longer RaspAP
?
Beside the theoretical issue I have no clue how to set up the Raspberry serving on these different bands. The instructions of link1 failed. Issuing a sudo wpa_cli
I get
wpa_cli v2.8-devel
Copyright (c) 2004-2019, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'p2p-dev-wlan0'
Interactive mode
<3>CTRL-EVENT-SCAN-RESULTS
<3>CTRL-EVENT-SCAN-RESULTS
<3>CTRL-EVENT-SCAN-RESULTS
> p2p_group_add freq=5
FAIL
<5>P2P: Failed to add group interface
Any ideas how to continue with a proper config?
P2P-device
is a device which directly connects with the Raspberrry(RB). But I don't understand what's the diff to connection asAP
? Clients (e.g. mobiles, vaccum cleaner) can connect as well. ForP2P-device
does it mean that I need to configure it directly on the RB? From what I understand in your response and the follow-up link than I cannot set up a DHCP-server since this requires aP2P-GO
but this won't be available if running on dual band. Am I correct? – LeO Sep 24 '20 at 17:46AP
is just another WiFi connection method and protocol than aWi-Fi direct
connection. There are other methods/protocols e.g. pure peer to peer using IBSS. To understand its differences you have to know how they work. I cannot explain its specifications here because it fills pages. Look at Wikipedia and for details at the RFCs (technical specification) of the protocols. If you want to have aP2P-device
you have to configure it on the RasPi. I don't believe that it is supported byRasAP
. – Ingo Sep 24 '20 at 19:39AP
together with aP2P-GO
. When running aP2P-GO
without anAP
(not possible) you can use two bands, e.g. amanaged
client connection to a remote access point with a channel on the 2.4 GHz band and aP2P-GO
with a channel on the 5 GHz band. This is not a classic dual band connection with two client connections. It is one client uplink connection and one active "server" connection that you can connect. – Ingo Sep 24 '20 at 19:39AP
vsP2P-device
. Yeah they are different and running one channel. Beside your great answers for clarification I than still have to implement it. I guess I'll buy a 2.4GHZ USB stick which costs around 10€ and this would save a lot of headaches. Well despite that I need to configure it ;-) – LeO Sep 25 '20 at 06:33