Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop on ./all about Selected interface #115

Open
tijavo opened this issue Jun 5, 2023 · 4 comments
Open

Loop on ./all about Selected interface #115

tijavo opened this issue Jun 5, 2023 · 4 comments

Comments

@tijavo
Copy link

tijavo commented Jun 5, 2023

I try to install it on a Raspberry Pi 3B+. And did every step, but when I start the all.sh File, it loops with

Selected interface 'p2p-dev-wlan0' Available interfaces: p2p-dev-wlan0 wlan0

I looked in the code and it seems that it fails at the line 61
result=$(sudo wpa_cli p2p_group_add -i$p2pdevinterface persistent$perstr $wlanfreq)
I tried doing it manual outside of the script, but it also failed.

I tried looking in old issues of this and other projects which are related. But I cant seem to find find any solution.
If someone could help me, it would be very appreciated.

@homeworkc
Copy link
Owner

Hi, what is the OS version on your Raspberry Pi 3B+? I used Raspberry Pi 3B+ as my main platform until recently so it should work. On older OS (and potentially on older Raspberry Pi), it might be preferable to install NetworkManager because the built-in WiFi management tools will mess with the creation of the p2p interface. (Installing NetworkManager might cause disconnection so you should use a spare SD card if you are not familar with the process.) The main purpose of all.sh is basically making sure that a p2p interface is set up properly.

@privatedev11
Copy link

I had this issue, turns out it was an issue with ethernet, and it was fixed by connecting via WLAN. Are you using ethernet? If so connect via WLAN and let me know the results.

@ThePrimeDev
Copy link

Hi, what is the OS version on your Raspberry Pi 3B+? I used Raspberry Pi 3B+ as my main platform until recently so it should work. On older OS (and potentially on older Raspberry Pi), it might be preferable to install NetworkManager because the built-in WiFi management tools will mess with the creation of the p2p interface. (Installing NetworkManager might cause disconnection so you should use a spare SD card if you are not familar with the process.) The main purpose of all.sh is basically making sure that a p2p interface is set up properly.

I have same issue on raspberry Pi 3 Model B V1.2... Raspbian Bullseye

@ThePrimeDev
Copy link

@homeworkc I installed networkmanager, enabled it, but same issue, altough that when I do nmcli device show then I get the wlan0 and p2p-dev-wlan0 both as disconnected(30) so the networkmanager sees them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants