TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

95 pointsby andreagrandi7 months ago

13 comments

ssmmiles7 months ago
This is thanks to USB On-The-Go support, really handy feature - can also use it to get a serial connection: <a href="https:&#x2F;&#x2F;trac.gateworks.com&#x2F;wiki&#x2F;linux&#x2F;OTG" rel="nofollow">https:&#x2F;&#x2F;trac.gateworks.com&#x2F;wiki&#x2F;linux&#x2F;OTG</a>
评论 #41957425 未加载
MBCook7 months ago
Not what the author is doing here, but you can also connect them over standard Ethernet. Any standard USB-C to Ethernet adapter will work with the iPad automatically.<p>Came as a surprise to me a few years ago when I first ran a that it.<p>Makes sense, I had simply never considered it.
评论 #41957155 未加载
评论 #41957695 未加载
评论 #41959721 未加载
eqvinox7 months ago
Nice article on how to configure a RasPi into USB Ethernet gadget mode… doesn&#x27;t really have anything to do with iPads. I guess it&#x27;s good to know it works with iPads? It&#x27;ll also work with Android devices, and plain old PCs… anything that accepts USB CDC Ethernet…
gorkish7 months ago
This article doesn&#x27;t really focus on the details of the power, but I&#x27;ll mention that the power requirements of Raspberry Pi 5 are a bit weird and this can have some implications when powering one from a limited current source.<p>Ideally the Pi5 wants 5V@5A, which is out of the capabilities of almost every USB PD supply and certainly not something that any iPad or any other computer can supply directly.<p>By default the firmware is configured for a 15W power budget so normally will work fine with a 5V@3A.<p>Only Thunderbolt iPads can supply this 15W; older USB-C ipads are limited to 7.5W and should not be used in this application without a power splitter. Pi zero 2W or similar would be a better fit if anyone wants to do this on older iPads or any other tablet that has limites current source capability.<p>Also this entire process probably also applies on lightning iOS devices using the camera connection kit and a power splitter as lightning can only source a couple of watts.
rahimnathwani7 months ago
In case you&#x27;re like me and were wondering how IP addresses are being assigned, apparently the NetworkManager&#x27;s &#x27;shared&#x27; IPv4 method starts dnsmasq, which acts as a DHCP server.<p>(It also enables masquerading (NAT) and IP forwarding, but of course that&#x27;s not relevant in this context.)
hcfman7 months ago
This is super cool! The only down side I see is that USB inherently is less stable than ethernet I think. You more easily get USB disconnects, when that happens how would you fix it? Normally this involves a power cycle, or often more than a power cycle as the power has to disappear on the USB.<p>My potential use case however was pi to pi for remote deployed locations, likely battery for wildlife use cases.
coin7 months ago
Tech Craft: My Favourite iPad Pro Accessory: The Raspberry Pi 4 (November 2019) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=IR6sDcKo3V8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=IR6sDcKo3V8</a>
terhechte7 months ago
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&#x27;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 &#x2F; bad wifi situations).
评论 #41956729 未加载
评论 #41959869 未加载
rcarmo7 months ago
I’ve done this for years via Bluetooth PAN or USB Ethernet. Notes here for both methods: <a href="https:&#x2F;&#x2F;taoofmac.com&#x2F;space&#x2F;blog&#x2F;2023&#x2F;09&#x2F;09&#x2F;1820" rel="nofollow">https:&#x2F;&#x2F;taoofmac.com&#x2F;space&#x2F;blog&#x2F;2023&#x2F;09&#x2F;09&#x2F;1820</a>
moffkalast7 months ago
Pretty interesting. The Turtlebot 4 educational robot also uses this approach to power&#x2F;ethernet interface the Pi 4 and the microROS controllers that run on the roomba. Before seeing that a while back I would&#x27;ve never imagined it possible.
评论 #41957062 未加载
jeroenhd7 months ago
I don&#x27;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&#x27;s GPIO pins in combination with web dev?
评论 #41957876 未加载
amelius7 months ago
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)
评论 #41957552 未加载
评论 #41956368 未加载
Pinus7 months ago
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?