Raspberry Pi iPad Pro Setup Explained

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • In this video I'll take you through all the steps needed to connect your Raspberry Pi to your iPad over USB-C and I'll explain each step in detail.
    CHAPTERS
    =========
    00:00 - Start
    01:12 - Configure Ethernet Over USB-C
    02:35 - USB-C Network
    03:32 - Handing Out IP Addresses
    GEAR
    =====
    * iPad Pro 11" - geni.us/H0qJ
    * Apple Magic Keyboard - geni.us/8uBg
    * Anker Thunderbolt 3 Cable - geni.us/BTOsQ
    * Aluminium Armour Case - geni.us/M5ph
    LINKS
    =====
    * Pre-built images - github.com/techcraftco/rpi-us...
    SUPPORT THE CHANNEL
    =====================
    * Buy me a coffee - www.buymeacoffee.com/techcrafted
    AFFILIATE LINKS
    ==============
    Tech Craft is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk
  • Фільми й анімація

КОМЕНТАРІ • 124

  • @DavidJohnson-zv5ir
    @DavidJohnson-zv5ir 2 роки тому +5

    Thanks Rob! Straightforward and concise as usual!

  • @BobDenny
    @BobDenny 2 роки тому +3

    Brilliant!! I have mindlessly applied the changes for the USB gadget that you posted a while back. I was able to remove most of that and get down to the simplest. And thank you very much for explaining each piece. It is exactly what I was looking for.

  • @zestynotions
    @zestynotions 2 роки тому +6

    Brilliant overview as always Rob, cheers.

  • @Tandy625
    @Tandy625 2 роки тому

    Rob, as requested, thank you. This video is appreciated!
    Can’t wait to play around with this.

  • @ioannis69k
    @ioannis69k 2 роки тому

    Nice ! Thanks !
    Great to see a use of a different than /24 subnet !

  • @x0rZ15t
    @x0rZ15t 2 роки тому

    Awesome, can't wait to try this out on my new RPi4!!!

  • @premdale
    @premdale 2 роки тому

    nice one Rob - thanks

  • @roripocket6273
    @roripocket6273 11 місяців тому +1

    WOW, very detailed, now I will try it!

  • @jammies701
    @jammies701 6 місяців тому

    Nice vid mate

  • @MapSurfer
    @MapSurfer 2 роки тому +2

    Thanks, Rob. You packed a lot of useful material in this 6-minute video! I noticed a few differences here vs the configs on your pre-built images. Any reason why? For example, in /boot/cmdline.txt -prebuilt: rootwait modules-load=dwc2 -this tutorial: modules-load=dwc2,g_ether rootwait

    • @tech_craft
      @tech_craft  2 роки тому +2

      The earlier versions of the images used a different mechanism for setting up the OTG ethernet. That mechanism allows for more OTG features to be enabled but I found that pretty pointless in this setup, so I've switched this simpler setup.
      I'm going to change all the pre-built images to use this approach too.

  • @sfuoncall
    @sfuoncall 2 роки тому

    Thank you. I am looking into to something similar using FreeBSD. Currently, I don't see how to do the same when it comes to using USB as an network interface. Thank you for explaining. I will look into see if the same is possible using FreeBSD.

    • @Andreasytac
      @Andreasytac 2 роки тому

      The technical term for it is USB gadget mode. It's a core linux feature, so it could be possible, but I imagine the kernel would need to have it implemented.

    • @sfuoncall
      @sfuoncall 2 роки тому

      @@Andreasytac Understood. I know that the Wifi chip is currently not support in FreeBSD so I am using an external Wifi device to have network access (the router is sitting behind the TV so it makes it awkward to connect a hardwire)

  • @ManuelCastillo-kq3xy
    @ManuelCastillo-kq3xy Рік тому

    hello. For the initial setup, is it still necessary to have a keyboard, mouse, and monitor, or can you do it with the iPad connected?

  • @DoctorAtomTNT
    @DoctorAtomTNT 2 роки тому

    I have followed this and its dead easy to do, thanks a lot. One thing: apart from my ipad, my main phone is an android (Galaxy Fold 3). Is there a way to get the Rpi to work with both iPad Pro and with Android?

    • @tech_craft
      @tech_craft  2 роки тому +1

      There's a few options for Android - I just got my Android tablet and I'm working through the different options. I'll drop a video soon.

    • @DoctorAtomTNT
      @DoctorAtomTNT 2 роки тому

      @@tech_craft thanks mate

  • @avihayl7911
    @avihayl7911 2 роки тому

    What do you think should be the minimal size of a tablet with this kind of setup? Is 10-11 inch too small?

    • @tech_craft
      @tech_craft  2 роки тому

      I've been using the 11" iPad Pro for years now. For me it's absolutely the right size. My wife has the 12.9" which is an excellent device - she's an illustrator - but I prefer the compact setup.

  • @rashie
    @rashie 2 роки тому

    👍👍

  • @BobDenny
    @BobDenny 2 місяці тому

    I burned out with loads of Old Wives' tales trying to get this going on the RPi5 (Debian 12 with nmcli/NetworkManager, no dhcpcd, etc.). Just could not get past usb0 being listed as 'unmanaged'.

  • @maddogman529
    @maddogman529 2 роки тому +1

    How do you set up VNC so you can use the iPad as a monitor of sorts for your Raspberry Pi? Over USB C of course

    • @tech_craft
      @tech_craft  2 роки тому +2

      I'm using tigervnc with Jump Desktop - video on that very soon.

    • @juri14111996
      @juri14111996 2 роки тому

      just search vor a vnc toutorial. the usb-c is now just a normal network interface.

  • @jyvben1520
    @jyvben1520 2 роки тому

    does it need usb-c wire, or usb wire with usb-c connector, or plain usb3 (male to male, pi to pc device) ?
    could pi as access point do the same, device client uses 2.4 to connect and uses 5Ghz to connect to internet

    • @tech_craft
      @tech_craft  2 роки тому

      You'll need to use USB-C to be able deliver power reliably. There are some configurations for using the Pi as the access point with RaspAp

  • @winsleyvanderhooft3850
    @winsleyvanderhooft3850 7 місяців тому

    How to prioritize wifi over USB-C? So when I'm at home it just uses wifi and when i'm on the road it uses the usb-c?

  • @dnldnl4880
    @dnldnl4880 2 роки тому

    I’m having problem with my terminal on ipad what software are you using>?

    • @tech_craft
      @tech_craft  2 роки тому

      I'm using Blink Shell - blink.sh/

  • @daviddidas4266
    @daviddidas4266 2 роки тому +1

    I do Wonder if it is possible to use the codeserver on the pi to run a tkinter Script… could u tell me, if it is possible?

    • @tech_craft
      @tech_craft  2 роки тому

      I'm not super familiar with tkinter, but I think this should work. You don't even really need code-server. You can trigger the script over SSH, either from an SSH client or from the Shortcuts app.
      You'll need to tell tkinter which virtual display to use, but I imagine it will work just fine.

  • @josephlebo7320
    @josephlebo7320 2 роки тому

    So if this is setup and you're connected to the pi via USB C, can you also connect to the pi via wifi (sans the usb c). Or would I have to have one Pi OS for the usb C way and then another for the wifi way? (not sure if this question makes sense haha)

    • @tech_craft
      @tech_craft  2 роки тому +1

      Makes perfect sense - you can absolutely connect with both options without having a separate Pi. My Pi is configured for Wifi, USB ethernet and standard ethernet. Depending on where I'm I'll use the most appropriate config.

    • @josephlebo7320
      @josephlebo7320 2 роки тому

      @@tech_craft Thanks! Also as a follow-up, if I'm connected to the Pi via the usb c ethernet connection, can I also be connected to wifi on the ipad or does the ipad require one or the other? So i could be working with the pi via a ssh client or vnc client but then maybe try searching the web for something in safari?

  • @prabeshbajracharya99
    @prabeshbajracharya99 7 місяців тому

    will it work in raspberry pi 5?

  • @eduitguy9016
    @eduitguy9016 2 роки тому

    I'm really curious about your Ubuntu setup!

    • @eduitguy9016
      @eduitguy9016 2 роки тому

      Will you keep the GUI enabled? Or Ubuntu Server?

    • @tech_craft
      @tech_craft  2 роки тому

      I’ve done a bit of a mix so far. Adding the GUI on top of server. I’m also playing with the direct Ubuntu Desktop but I’ve had a few issues getting Network Manager to play nicely.

    • @eduitguy9016
      @eduitguy9016 2 роки тому

      @Tech Craft Awesome! I like using my Pi for more wireless work… and I’ve just found that easier with Ubuntu.
      Cheers.

  • @alessandrospedito8091
    @alessandrospedito8091 2 роки тому

    Hi, can the same be done with an Asus Tinker board or other sbc?

    • @tech_craft
      @tech_craft  2 роки тому

      If the board supports USB OTG you’ll be able to get this working. If not, you can use a USB Ethernet adapter to get a similar setup.

  • @txufer12
    @txufer12 2 роки тому

    I don't understand what can be done with a rpi 4 connected by usb to my ipad pro, which do you use it?

  • @CaptZenPetabyte
    @CaptZenPetabyte 2 роки тому

    Im guessing if your android tablet it usb c then it should be pretty much the same setup?

    • @tech_craft
      @tech_craft  2 роки тому +1

      Mine very first test didn't work. I was able to get physically connected and powered, but I couldn't actually get a route from the tablet to the Pi. That said, I spent about ten minutes trying and have yet to find the real time needed to sit down and do a thorough test.

  • @mmikhan
    @mmikhan Рік тому

    👋 Any idea how do I connect the Raspberry Pi using the USB C to my MacBook and control it through SSH without using any power adapter?

    • @tech_craft
      @tech_craft  Рік тому +1

      The same setup works on my MacBook Pro without any changes.

  • @jugnu361
    @jugnu361 2 роки тому

    Looking for a 100 MB headless Linux on PI4

  • @rashie
    @rashie 2 роки тому

    🙂🙂

  • @x-bravedz7328
    @x-bravedz7328 17 днів тому

    Hello, I followed all the steps but it's not working. After connecting my Raspberry Pi with the USB cable to my iPad, I do not see Ethernet appearing on my iPad. I also have a question: does the IP address you used work in all cases? For example, on my local network, IP addresses are like this: 192.168.1.xx.

  • @brendanmurphy1827
    @brendanmurphy1827 2 роки тому +1

    Thanks Rob. Any idea how transferable this is to an android tablet with USB-C?

    • @tech_craft
      @tech_craft  2 роки тому +1

      I have the keyboard for my Samsung S8 turning up in a few days so I plan to put some effort into getting this set up.

    • @juri14111996
      @juri14111996 2 роки тому +1

      it works to. the pi just acts as a usb network adapter.

    • @Andreasytac
      @Andreasytac 2 роки тому +1

      Your biggest problem will be Android not having any support for zeroconf, so hostname variants won't work. You'll have to use a static IP. Even then, Android is so fragmented that it will be hit or miss

    • @s.i.m.c.a
      @s.i.m.c.a 2 роки тому

      @@Andreasytac hm? Author clearly used in this video dhcp server, Andoid is perfectly fine with that.

  • @ErikTaraldsen
    @ErikTaraldsen 2 роки тому

    waving hands seems to have interlace effects?

    • @tech_craft
      @tech_craft  2 роки тому +1

      Not sure where that's come from - will double check my settings.

    • @ErikTaraldsen
      @ErikTaraldsen 2 роки тому

      @@tech_craft Good. :) Interlacing is a relic I'd like to not make a comeback like vinyl has had.

  • @BastianInukChristensen
    @BastianInukChristensen 2 роки тому

    Are you filming interlaced, or is there something in my setup that makes some sort of flickering?

    • @tech_craft
      @tech_craft  2 роки тому

      I didn't, just plain 4K30fps

    • @BastianInukChristensen
      @BastianInukChristensen 2 роки тому

      @@tech_craft interesting, this was the only video of yours I saw it also

  • @dineshnandanwar5138
    @dineshnandanwar5138 Рік тому

    I am trying to do this exact setup on Ubuntu server but stuck at third step as I am not able to find /etc/network/interfaces.d folder. Can you advice?

    • @tech_craft
      @tech_craft  Рік тому

      Certainly. Ubuntu Server has a different networking setup - it uses Netplan. I have a dedicated video on that topic here: ua-cam.com/video/RPBnyAFJ6gQ/v-deo.html

  • @tigerding8418
    @tigerding8418 4 місяці тому

    Does this work for bookworm (Debian 12)?

  • @joshsticko
    @joshsticko 2 роки тому +1

    Hi the ethernet tab in settings does not show up when I connect the pi via USB-C to the iPad. I flashed one of the images off your github release.

    • @Josh-nt5jl
      @Josh-nt5jl 2 роки тому

      I'm having the same issue

    • @tech_craft
      @tech_craft  2 роки тому

      Which image have you downloaded? I’ll check it today and see if there’s an issue that needs fixing.

    • @Josh-nt5jl
      @Josh-nt5jl 2 роки тому

      @@tech_craft Hi i downloadd the arm64 lite

    • @tech_craft
      @tech_craft  2 роки тому

      I’ll check today. Out of interest, did you customise the image with hostname, user and password?

    • @Josh-nt5jl
      @Josh-nt5jl 2 роки тому

      @@tech_craft Yeah I set the hostname to padpi, user to padpi and a password. I selected AU as the LAN country which I'm not sure about - I live in Australia.

  • @kragrrr
    @kragrrr 2 роки тому

    Can one run sudo raspi-config to see the GUI?

    • @tech_craft
      @tech_craft  2 роки тому +1

      You'll need VNC to access the GUI. I have a video coming up on that exact topic very soon.

    • @kragrrr
      @kragrrr 2 роки тому

      @@tech_craft Can one do a similar thing with Jetson Nano connected to the 5V micro USB by a USBC to micro USB cable and VNC into it as in a headless mode?

  • @patryk888888
    @patryk888888 Рік тому

    It’s driving me crazy. Can I access blink In iPad files app without Wi-Fi just by using usbc ?

    • @tech_craft
      @tech_craft  Рік тому

      That's how I have in configured to work. Is it not working for you?

    • @patryk888888
      @patryk888888 Рік тому

      @@tech_craft Hi thx for responding. I’ve still been trying to figure it out but it’s the same. When I turn off Wi-Fi on my iPad and try to access a raspberry folder using blink in the files app I get an error “you’re offline. Check your internet connection, then try again.” But if I connect to any network “it doesn’t have to be the same one as raspberry, it works. FYI if I switch off Wi-Fi on either or both devices everything else works fine over usbc (ssh jumpd etc). Am I missing something ? Is there a way to copy files from raspberry to iPad using the terminal ? I feel like I saw you doing it in one of your vids but I watched all so many times and can’t find it.

  • @AVSTechYT
    @AVSTechYT 2 роки тому

    Hello, how about getting the pi to work with an Android tablet

    • @juri14111996
      @juri14111996 2 роки тому

      the same: android support usb network adapter since many years

    • @tech_craft
      @tech_craft  2 роки тому

      I bought an Android tablet recently to start exploring the setup. Will report back when I have more information.

  • @HyperionBadger
    @HyperionBadger Рік тому

    2:45 you said "usbc0" but typed "usb0". Does this matter at all?

  • @shadow.banned
    @shadow.banned 2 роки тому

    If you can even find one in 2022...

    • @tech_craft
      @tech_craft  2 роки тому

      The best option I have for now is to track RPi Locator: rpilocator.com/

  • @Powergeek2011
    @Powergeek2011 2 роки тому

    I tried with my Kali Linux installation and it didn’t work.

    • @tech_craft
      @tech_craft  2 роки тому

      I’ve been trying a few Kali options myself. Somebody in another comment suggested that the config might be simplified quite a bit and that might work on Kali. I’ll try and report back.

  • @DigiDriftZone
    @DigiDriftZone 2 роки тому

    Question, will the Raspberry Pi be able to get Internet through the iPad's 5G or Wifi? - if not, is there a way to enable that?

    • @tech_craft
      @tech_craft  2 роки тому +1

      There's no return network path over the USB-C, but you can connect the Pi to the hotspot on a cellular iPad. For Wifi-only iPads there's no mechanism for sharing the connection that I'm aware of.

    • @DigiDriftZone
      @DigiDriftZone 2 роки тому

      @@tech_craft That's another area of frustration. While I love my iPad, a second hand M1 MacBook can be had at a lower price than an iPad Pro. Apple silicon laptops run all MacOS and iOS software side by side, battery is literally 3-4x longer for many tasks (like dev). it's also lighter than the iPad + Magic Keyboard and you don't need to bring the RPi.

    • @Andreasytac
      @Andreasytac 2 роки тому

      @@DigiDriftZone If you have a 5G iPad anyways, running a separate hotspot to it isn't a big issue. You can also power the Pi externally and run a USB A to C cable from the Pi's normal USB A ports to the iPad, and enable tethering for a wired tether. You do need to install something on the Pi for this to work - it's a while since I did it, but I think it was "sudo apt-get install usbmuxd". This will work on both iPhones and 5G iPads using whatever USB cable fits between them (A-C or A-Lightning). All the normal stuff like SSH, VNC will still work as well - but connect using hostname.local instead of IP (replace hostname with your actual hostname for the Pi).

    • @DigiDriftZone
      @DigiDriftZone 2 роки тому

      @@Andreasytac None of these things are a "big deal" in isolation but when looking at the whole setup, yes, you can do all that... or.. you can get a device that's lighter, has 3-4x the battery, larger/brighter screen, nicer keyboard and has none of these external dependencies, setup, wire spaghetti, many bugs, glitches and frustrating workarounds like... no escape key... APPLE! :) - I mean it's cool you can do this with the iPad, but M1 Macbook seems like an infinitely more practical, pleasant and even cheaper solution (amazing second hand deals at the moment).
      With all this said, all of this information is useful to use the iPad alongside the Macbook for sure.

    • @Andreasytac
      @Andreasytac 2 роки тому

      @@DigiDriftZone Depends what profession you're in. For me, the Macbook would be a no-go for a number of reasons ranging from the lack of a touch screen and pen to even the lack of a LiDAR that I use at work all the time. I can add a Pi to an iPad easier than I can add all of that to a Mac.

  • @Andreasytac
    @Andreasytac 2 роки тому +6

    Most of this is completely unnecessary. You're enabling a workaround for devices that don't support Avahi/Bonjour/mDNS, which is basically just Android. Once you add the line in config.txt and cmdline.txt, you're done and it works, since you can just use the hostname instead of messing around with IPs. Doesn't matter if the IP is dynamic when you use the hostname anyways.
    I use an rPi with an iPad at work daily, and I've never had any issues relying just on hostnames on iOS. SSH through clients and Shortcuts, SFTP, SMB, node-RED, VNC, even streaming video - all works. You can also add those two lines right as you flash the image, and just connect to the iPad right away.
    I did make the same mistake as you originally though, since the guide you're likely following for this specifically adds the option to not rely on hostnames. But it's essentially redundant.

    • @tech_craft
      @tech_craft  2 роки тому

      Are you sure? Just enabling the ethernet OTG doesn't create any network on that adapter so the iPad and the Pi are not on the same network. Are you sure you're not just picking up the Pi by being on the same wifi network?

    • @Andreasytac
      @Andreasytac 2 роки тому +1

      @@tech_craft UA-cam blocked my original response for including a URL it seems. In any case, yes I'm sure. I've done this dozens of times, including on Pi Zeros, including ones without wifi. I know exact what error you're making because I made the same one originally. Those changes to config and cmdline are all you need to enable Linux's bog standard USB gadget mode. At that point, it will work. You need to either use the dynamic IP you can find in the iPad's settings (under ethernet once connected) or just use the hostname. Everything else you're doing in this video is to give the connection a static IP, which is not necessary on iOS since they can resolve the hostname. A bonus is that you can use the same SSH, VNC, whatever bookmarks and it will work no matter if the Pi is connected via USB C, Ethernet (also works BTW, just use an ethernet adapter on the iPad), wifi on the same network, or hotspot - both wired and wireless.
      This is also why USB C is not necessary here. It allows you to power the Pi, but if you scrap that requirement, you can connect to any iOS device. Just tried on an iPhone to double check a response to another comment.

    • @tech_craft
      @tech_craft  2 роки тому

      I’ll give this a try as soon as I can. Would certainly be a big improvement to the process.

    • @Andreasytac
      @Andreasytac 2 роки тому +1

      @@tech_craft I found your video a year-ish back when I first ventured into this area, which is why I'm subscribed - but have had to chart 98% of what I'm currently doing with this setup myself. I have no interest in being a content creator, but I've always felt a bit bad for all the info I'm current sitting on about Pi-iPads that would blow people's minds. If you want to chat about it, let me know how to hit you up privately. I probably have enough stuff for you to make videos on for the next couple of years, and you're welcome to it.

    • @tech_craft
      @tech_craft  2 роки тому +1

      Sounds great. You can get me on rob@techcraft.co

  • @dietherdave37
    @dietherdave37 2 роки тому

    I bought an rpi first not thinking. I should have bought the keyboard first :( it is just so much expensive and I am looking to buy a the logitech combo touch. but I lost my job and cant afford of it anymore. If you have some spare combo touch for an 11 inch ipad, i would appreciate it :(((

  • @nebulousJames12345
    @nebulousJames12345 2 роки тому

    You forgot to explain wtf you were doing....

    • @tech_craft
      @tech_craft  2 роки тому +1

      I explained it in the linked videos. Starting from scratch in every single video would lead to a lot of duplication.

    • @nebulousJames12345
      @nebulousJames12345 2 роки тому

      @@tech_craft let me suggest that in the beginning you say "In my last video I showed you guys how to XYZ - check it out linked up here and in the description". not start from scratch!

    • @tech_craft
      @tech_craft  2 роки тому

      A fair point!

    • @nebulousJames12345
      @nebulousJames12345 2 роки тому

      @@tech_craft A LIKE FOR YOU