Skip to content

Comment on How to configure an Ethernet connection between iPad and RaspberryPi with USB-C

Comments

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)

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.)

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.

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

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.