How to configure an Ethernet connection between iPad and RaspberryPi with USB-C
9 comments
·October 26, 2024terhechte
This is kind of the best way to do software development using an iPad. You can SSH or VNC into the Pi and then use all the tools available to the system. I've thought more than once about gluing a Pi to the back of my iPad so I can just take one device on longer travels and not have to take the iPad and the Mac (reason for the bringing the iPad is that all big streaming services typically have an iPad app that allows downloads, but no macOS app. I like having downloads for no / bad wifi situations).
skydhash
While I like the iPad's screen (pretty great for reading pdfs), I'd much prefer something like the Starlite [0] for a more versatile usage. The iPad has nice app, but they're too constrained both by the platform and Apple's policy.
wpm
This looks great but god I cringe anytime I seed micro-HDMI being used for anything but a case study of a pointless, terrible port. I’d rather not have any display-out at all vs a port that is probably going to fail right when I need it to, if I can remember the stupid adapter.
Should’ve just been another USB-C port. Let me break it out to what I need, since I’m gonna need a dongle anyways.
terhechte
but that doesn't run the official Netflix, Disney+, Apple+ etc apps, does it? Or via something like Waydroid?
amelius
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)
ajb
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
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.
moffkalast
Pretty interesting. The Turtlebot 4 educational robot also uses this approach to power/ethernet interface the Pi 4 and the microROS controllers that run on the roomba. Before seeing that a while back I would've never imagined it possible.
This is thanks to USB On-The-Go support, really handy feature - can also use it to get a serial connection: https://trac.gateworks.com/wiki/linux/OTG