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

Peer-Peer or WiFi Access point #30

Closed
sdeep211 opened this issue May 7, 2022 · 4 comments
Closed

Peer-Peer or WiFi Access point #30

sdeep211 opened this issue May 7, 2022 · 4 comments

Comments

@sdeep211
Copy link

sdeep211 commented May 7, 2022

I would like to use your image with a Pi Zero but connect to the Pi without using a router - Peer-Peer by using WiFi Access point
From https://github.com/FD-/RPiPlay/issues/9
I could set up the pi zero as a WiFi access point.
Is this possible with your image or should I build using rpiplay?

I am already using balena-rpiplay with a Pi4 and as a teacher I really like your image for dedicated mirroring with my ipad.

@rahul-thakoor
Copy link
Owner

I don't see any reason why it wouldn't work. As long as the pi and ipad are on the same network it should be good.

How are you deploying the image?
Are you using balenaOS?

Thanks

@sdeep211
Copy link
Author

sdeep211 commented May 9, 2022

Yes I would like to use balenaOS and deploy using the balena open or cloud fleet though using the pi in this way means it would have no internet connection.
I guess this will then work by using the balenaOS hotspot option: https://www.balena.io/docs/reference/OS/network/2.x/#creating-a-hotspot

I will give it a try and post my results and close this issue once I have.

Thanks!

@sdeep211
Copy link
Author

I did try to get this working with Balena OS and a Pi Zero W (1st Gen) but could not push the dockerfile using Balena-CLI

Resolving services with [raspberry-pi|rpi]
Could not parse FROM command on line 31
DockerfileParseError: Could not parse FROM command on line 31
at Dockerfile.parse (/snapshot/versioned-source/node_modules/livepush/build/dockerfile.js:120:31)

that line being 'FROM --platform=linux/arm/v6 busybox:stable'

I also tried to deploy the Development version of Balena Cloud OS and built and pushed balena-rpiplay via the cloud but the rpiplay service would not start.

Next I tried the regular cloud version which I could not ssh into.
Then the cloud development version which I can ssh into, no logo but I can cast.

Now to try the hotspot.

@sdeep211
Copy link
Author

I configured the hotspot using the NetworkManager example from here https://www.balena.io/docs/reference/OS/network/#creating-a-hotspot
This did not work with screen mirroring.
The ipad I was using showed "weak security" so I added ccmp to pairwise and group.
This got rid of the "weak security" on the ipad when connected to the hotspot.
Unfortunately this did not work and no screen mirroring.
I am going to use a wifi router with the pi zero instead.

I don't have a pi4 to try the hotspot on and cannot think of anything else to try, so closing this issue.

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

2 participants