Top
Best
New

Posted by andreagrandi 10/26/2024

How to configure an Ethernet connection between iPad and RaspberryPi with USB-C(www.andreagrandi.it)
95 points | 39 commentspage 2
jeroenhd 10/26/2024|
I don't really get the iPad + RPi combo. I see it a lot, but why not simply run a web server on the iPad itself? Do that many people use the Pi's GPIO pins in combination with web dev?
walterbell 10/26/2024|
Apple doesn't allow much beyond static web pages on iOS.
amelius 10/26/2024||
Nice. Is there a user-friendly way to open a webpage that is running on the RPi? (I.e. without bothering the user with IP-addresses and such)
suralind 10/26/2024||
I have all my devices in a Tailscale network with MagicDNS enabled. This way you can just open http://RPI:8080 and that should just work.

(I am not affiliated with Tailscale in any way.)

amelius 10/26/2024||
I should have been more specific. I mean user-friendly in the sense that I give my RPi to a family member, they take it home, attach it to their iPad and open the web-page.
ajb 10/26/2024||
Raspberrypi.local normally works; (using the bonjour/avahi protocol for local DNS on both sides, which is set up by default on raspbian). Might be more tricky to get a proper certificate for https
Uehreka 10/26/2024||
mkcert can help with this! https://github.com/FiloSottile/mkcert

As one-time-setup you’ll need to serve the ROOTCA.pem from the Pi and download and install it on the iPad, but once you’ve done this once, any certs you generate on the Pi will be accepted by the iPad.

mkcert has enabled so many crazy setups and workflows for me over the years, it’s truly fantastic.

Pinus 10/27/2024|
Wait a minute. I thought the USB-C port on the Raspberry Pi 4 was only for power input. Is it also useable as a data port?