Thanks for sharing this video and your thoughts & insights. I just discovered your channel to I really appreciate all tutorials regarding IPad and Raspberry Pi. I have an old Raspberry Pi 3 which I haven’t used in over 5 years. Earlier today I ordered a Pi 4 kit estimated delivery in a week. Last week I subscribed to MagPi which included Pi Zero W. I have many projects I desire to do but I am recovering from Seizures and Strokes. I’m 76 year retired Systems Engineer with multiple medical issues & surgeries in my future. You have helped me get motivated again. 👍
Single cable solution also works on the Pi zero (2), just use the USB-OTG port on the Pi. Yes you need a different cable (USB-C to µUSB). I use this setup for my sensors to get some enviromental data (temperature, humidity, air flow, etc).
was inspired to get a Pi4 in 2020 & soon to get a PiZero2 & was so excited to learn I'll be able to use an even *lower* power device w my iPadPro & fulfill on the original vision! :)
I was, for awhile trying to use my phone with Andronix and Termux. Now that I have a SteamDeck, the Linux desktop there is vastly superior and cleaner than anything I've installed in the past. I have a portable LED panel, portable accessories and I'm golden. Portable gaming or 1080p gaming and a desktop if I absolutely need one (which I rarely do when I travel anyway)
Yeah I've had a littany of issues with Android devices seeming to get "confused" as to which is the host - I don't remember it on older devices so I can only assumes its a bug in a one of the newest versions of the Android OS as it seems to occur on any of my devices
I’ve been following your videos and they’ve been great! Thank you! I’m using a 12.9 inch M1 iPad with magic keyboard and connecting the Raspberry Pi 4 over USB C. Everything’s working great, except I’m not able to easily share internet from my iPad to my Pi. If I’m at home, I can easily connect both my iPad and Pi to the same WiFi network. If I’m on the road, I have been sharing my iPad’s cellular connection via personal hotspot and connecting the Pi to the iPad’s WiFi network. This gets me internet. I’ve been editing the /etc/netplan files to do this. But if I’m on a plane, I connect my iPad to the plane’s WiFi and there’s no cellular network available. The iPad won’t let me create a personal hotspot when I’m only connected to WiFi. Is it possible to share internet over the same USB C cable that is powering the Pi and that I’m using to ssh into the Pi over ethernet?
Good summary of all the ways I've found myself over the last year+. Sad to see you didn't find a way to make Android do hostnames either, but that was expected. Android is such a pointless OS at times.
In the scenario where the iPad is the host and the Pi is the device, this works perfectly. I've had success with anything 30W+. In the scenario where the Pi is the host and the iPad is the device, you can't get enough power to the iPad regardless of input power - at least with the hubs that I have.
I found this 6-to-1 usb-c adapter for iPad Pro that has HDMI, 3.5mm headphone, USB-C PD and Data (yes, separate usb C ports!) and a couple of USB-A 3.0 ports. Perhaps it can provide similar set up without the expensive Apple keyboard case? Also, if I set up my Pi4B as OTG.. would it prevent Pi4 to use anything on its USB slots? I am thinking about this because this Pi4B will be controlling some lab apparatus with GPIB-to-USB interface. So, Pi4 needs to be a host for this lab machine yet, also needs to be a slave for iPad.
Tried using your config with my Raspberry Pi 5 but I can't seem to get it to work. The ethernet connection wouldn't show up on my 2018 ipad pro. Only attempted to edit the config and cmdline files, since your RPi images are for the RPi4. Would you plan to ever upgrade your setup to use the RPi5 instead of the 4?
I have been struggling with getting my any of my RPi's (4B w/2GB, 4B w/4GB, 4B w/8GB and finally a CM4 w/4GB in a Waveshare board) to work with my new iPad Pro 2022 11inch w/the Apple M2 processor. I can find nothing wrong with the RPi setup in that it works perfectly with both my Apple Macbook Air w/M1 processor and my Dell XPS 13 w/Ubuntu 22.04. When I use an JXMOX USBC to USBC cable from Amazon the RPis power on and suppies a DHCP address to the iPad Pro/Air/XPS. Only the Air and XPS can ssh/ping the address of the RPi. Both blink and prompt on the iPad Pro fail. I thought that it might be the cable in that the cable listed was a Thunderbot/USBC cable so I first tried an Apple Thunderbot cable (because one was available locally) and when that failed I ordered the exact Anker cable from Amazon. In both cases the RPi did not even powerup. Can anyone help? Do I have a defective iPad Pro or is the USBC interface (HW/SW) on this newest iPad Pro different. I wish I had access to an older iPad Pro w/USBC to test.
I am using 2022 IPad Pro with a Pi5, set-up the Ethernet connection, the iPad to hub to pi5 (via usb C to usb A) is working. However i would really want to set-up the Ethernet connection via usb-c to usb-c to down-weight the set-up i need to bring out. I have tested out 2 usb-c cables (one from apple, and one from other suppliers, still not working), do you think there is some requirements on the usb-c to usb-c cables that will affect the result?
If I go with the USB-C hub option, will the standard iPad Pro charging cable and a 30w Apple USB-C charger be enough to both power the RB Pi 4 (8GB) and charge the iPad Pro at the same time or do I need a more powerful USB-C charger and cable?
Thank you so much for your guide. This works so far on my Samsung galaxy tab s6 lite, and the power from the raspberry pi is enough to keep it charging. I don't know much about these kind of technical things, but do you think it is safe to go into developer settings and enabling USB tethering under default USB configuration so you don't have to re-enable tethering every time you reboot the raspberry pi?
Question about the Ethernet cable solution: How does the networking work? Does the Pi and iPad recognize it as a peer to peer connection and therefore use a default IP address? Or some other way?
It's essentially the same as the USB-C connection outlined in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-3UPaI4Hp66Y.html - RPi OS has Zeroconf networking enabled on `eth0` by default and most clients (not Android) will happily participate in that scheme.
@@tech_craft Cool. I want to see if I can Zeroconf to connect the Pi running FreeBSD using Ethernet. mDNSResponder seems to be available and there is a Forum post on how to configure it. Hopefully, I can work on that this weekend.
Does the Apple's USB-C Digital AV Multiport Adapter work aiming to be able to connect the ipad to a monitor via the HDMI port, powering the ipad via the usb c and connecting to the pie via usb a (ethernet)?
I have the following configuration now: wifi-to-Ethernet device gives Internet connectivity to a receiver, and then the receiver has Ethernet switch and share the connection to RPi. I want to get rid of the wifi-to-Ethernet device. Since the receiver has only Ethernet connectivity, I will need Ethernet sharing the Internet from RPi. Is it possible? How?
@techcraft I was thinking about mobile setup as well, but im not sure if this is better then having cloud server for this. Advantage of it is, you can ssh into it with bad internet speed, and on the server you will have much better connectivity for download etc. For setup with iPad - I don't get one, and price is comparable to macbook air with M1, which is also small and lightweight. So why trying this instead of simpler solution?
@@tech_craft The way i was doing it was, connecting to home via VPN, or to DigitalOcean machine etc. Have you considered such solution as well? This is nice especially when you need download for example some docker images, and your mobile network is not always the fastest. I'm thinking about my mobile device and im thinking about foldable keyboard + ipad/iphone, but probably will be connecting via ssh to something.
In the iPad - USB C configuration, how does the Pi get to the Internet? Via the USB-C connection and the iPad internet connection over OTG? Or do you need to configure the Pi with it's own wifi connection?
What should I do when I don’t own a Magic Keyboard for my iPad? I want to use my iPad as monitor and power supply and control the raspberry with an wireless keyboard. Any tips?
In these setups the iPad is acting as a window on to a remote desktop on the Pi. One option that does work is to use something like x11vnc to setup that desktop. This shares the default desktop rather than creating virtual desktop. That way any keyboard/mouse attached to the Pi will work just fine. I showed this vnc setup in my Kali video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yu--0E0uXZE.html
Hi, great video! I have a Pi 4 (v1.1) connected using USB-C to an M1 iPad Pro 12.9”. It works well but whenever the iPad goes into sleep, the Ethernet connection to the Pi dies and the IP disappears from settings. I tried switching to static IPs but it didn’t help. Is this behavior expected or is it possible that my USB-C cable is at fault (especially since my board is pre-v1.2)?
Is there a way to use the pi and iPad combo without having wifi? I have an iPad Pro M1 and a pi4. I want to use this setup to code in VSCode on the go, but as far as I understood it, you can only use this when the iPad and pi are connected to the same wifi?
Perhaps has been answered in other video or I've missed something. How about energy management? I've used this video today and used in my rpi4 and Ipad Pro with initial good results. But when Ipad goes to sleep the rpi4 hangs...I need to halt the rpi4 and I don't like it Only option is to remove the sleep function on ipad?
@@tech_craft thanks. But I work mostly at home. I find your setup interesting for web dev and thinking about apache and a dev env for show project to clients or so. Thanks very much for your efforts, I was years searching to find out something like this. But one more thing: I think I’m not understanding well if the rpi has internet on the go shared with ipad pro 5g (my model) when wifi is not available. Any luck there?
I'm answering myself.Seems that currently internet on pi is via celular ipad tethering, phone tethering or wifi. No internet is shared through usb-c atm.
I haven't tried that but I see no reason why it wouldn't work. The thing to bear in mind is that only the host device will see the SSD from the hub, so you'll either have the iPad as the host or the Pi as the host depending on which of the configurations you choose.
I have an issue I’m running into. All works well if I do not connect to a different network with my iPad. I’m assuming this is due to setting up the network initially on the pi. Is there a way to not have to edit the network details of the pi every time I want to switch networks?
when connected over usb ethernet to the pi, can you also access the internet from the ipad? or are you stuck with only being able to ssh, or search the internet one at a time?
You can access the Internet from the iPad but the Pi does not get Internet from the iPad except in the tethering cases. You can always connect the Pi to whatever WiFi network the iPad is connected to.
My ipad air 4 is a wifi model, i have connected the pi to my wifi router using ethernet cable, and in blink i connected pi enabled ssh, but not able to get access to the code server I need help
I just don't get it what is the purpose of that setup. You can use termux with wifi Hotspot and the pi can be powered by a standard power supply sitting somewhere nearby.
Hi I have a Raspberry Pi 4 and an iPad Mini 2 and am trying to use the iPad as a monitor. I bought all the cables/adapters necessary and I've connected my iPad to the Raspberry Pi via Lightning to USB-A OTG -> USB-A to USB-C Adapter -> USB-C Hub -> USB-C to USB-A wired cable to my Raspberry Pi. Yet, it's not working, not sure what to do from here. Please somebody help me ASAP, would be greatly appreciated
@@PolyMathWannaBe62 I don't know what iPad you have, but for my iPad Mini 2, it didn't work because the USB-C is not able to transmit incoming video. So, I ended up using TeamViewer to connect both screens wirelessly, as VNC nor SSH work IOS 9.3.5. Please let me know if you're able to find a solution.
In this setup, the iPad is really acting as a screen share client rather than a monitor. One common issue is that older Pi 4s - board revision 1.1 or older - need special cables. There’s a list here: www.tomshardware.com/news/raspberry-pi-4-usb-c-cables-that-work,39869.html
Hi, i am a Newbie in terms of Raspberry Pi, though not really in terms of Tech, i just Wished to know if it is possible to run/operate/code a Raspberry Pi Computer Entirely through an iPhone itself, of course through the use of Connectors and Hubs as You have shown in the Video, as well as through some Apps?, or is it that a Standalone Computer is Always needed anywhere at any Time for a few Basic Operations? i am asking this out of a few Visual concerns which don't allow me to use Tablets/Laptops/Desktop Computer Screens. i'll buy a Raspberry Pi only if i get an Affirmative. Please do let me know. Thanks anant
It’s possible, but you’ll need some hub setup that will power the Pi and the iPhone. I’ve tried this setup before and I found it a little difficult to work with. You might like to try accessing another computer remotely from your phone first before investing in the Pi
I have always been concerned about using other than brand name (e.g. Apple) USB C power sources to power an iPad/iPhone. That extends to intercepting that power connection via a no-name hub - I have heard of iPads being killed by the higher voltages available from USB C power units if not handled properly by the hub. You seemed less concerned about this ?
I’ve used a ton of different USB-C power in and out accessories with the iPad Pro since the original one came out. I’ve never had the issue you describe. That said, I’m usually buying hubs from known brands like Anker, Kingston or Satechi.
Well I just install a Linux chroot distro on Android theres no reason to do this on Android as you install the sames programs as rpi and will work better