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
2 жыл бұрын
Brilliant overview as always Rob, cheers.
@roripocket6273
Жыл бұрын
WOW, very detailed, now I will try it!
@roripocket6273
3 ай бұрын
It worked !!!
@Tandy625
2 жыл бұрын
Rob, as requested, thank you. This video is appreciated! Can’t wait to play around with this.
@ioannis69k
2 жыл бұрын
Nice ! Thanks ! Great to see a use of a different than /24 subnet !
@MapSurfer
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
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.
@x0rZ15t
2 жыл бұрын
Awesome, can't wait to try this out on my new RPi4!!!
@roripocket6273
Ай бұрын
I setup a Raspberry PI 2W and is working fine as a LAMP Server, but I couldn’t access internet from inside Raspberry… Even Thought I have enabled WiFi. When the RB is inserted on the IPAD AIR 5 and I am in the house wifi, the RB obtains 2 addresses 10.55.0.1 and other from the home router. Maybe they are conflicting.
@x-bravedz7328
2 ай бұрын
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.
@jammies701
8 ай бұрын
Nice vid mate
@daviddidas4266
2 жыл бұрын
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
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.
@BobDenny
4 ай бұрын
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'.
@premdale
2 жыл бұрын
nice one Rob - thanks
@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?
@maddogman529
2 жыл бұрын
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
2 жыл бұрын
I'm using tigervnc with Jump Desktop - video on that very soon.
@juri14111996
2 жыл бұрын
just search vor a vnc toutorial. the usb-c is now just a normal network interface.
@markrob3
Ай бұрын
I’m probably not qualified to comment. However, when a video claims to be “Simplified”, I hoped for something simple and understandable. That bit where you added lines to cmdline.txt and config.txt and then booted the Raspberry and waited for “Ethernet” to appear in the iPad settings (it didn’t) lost me. What am I missing?
@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
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
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)
@winsleyvanderhooft3850
9 ай бұрын
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?
@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
2 жыл бұрын
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
2 жыл бұрын
@@tech_craft thanks mate
@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
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.
@prabeshbajracharya99
8 ай бұрын
will it work in raspberry pi 5?
@tigerding8418
5 ай бұрын
Does this work for bookworm (Debian 12)?
@brendanmurphy1827
2 жыл бұрын
Thanks Rob. Any idea how transferable this is to an android tablet with USB-C?
@tech_craft
2 жыл бұрын
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
2 жыл бұрын
it works to. the pi just acts as a usb network adapter.
@Andreasytac
2 жыл бұрын
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
2 жыл бұрын
@@Andreasytac hm? Author clearly used in this video dhcp server, Andoid is perfectly fine with that.
@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
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
@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
Жыл бұрын
The same setup works on my MacBook Pro without any changes.
@CaptZenPetabyte
2 жыл бұрын
Im guessing if your android tablet it usb c then it should be pretty much the same setup?
@tech_craft
2 жыл бұрын
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.
@BastianInukChristensen
2 жыл бұрын
Are you filming interlaced, or is there something in my setup that makes some sort of flickering?
@tech_craft
2 жыл бұрын
I didn't, just plain 4K30fps
@BastianInukChristensen
2 жыл бұрын
@@tech_craft interesting, this was the only video of yours I saw it also
@joshsticko
2 жыл бұрын
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
2 жыл бұрын
I'm having the same issue
@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
2 жыл бұрын
@@tech_craft Hi i downloadd the arm64 lite
@tech_craft
2 жыл бұрын
I’ll check today. Out of interest, did you customise the image with hostname, user and password?
@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.
@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
2 жыл бұрын
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
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?
@dnldnl4880
2 жыл бұрын
I’m having problem with my terminal on ipad what software are you using>?
@tech_craft
2 жыл бұрын
I'm using Blink Shell - blink.sh/
@HyperionBadger
Жыл бұрын
2:45 you said "usbc0" but typed "usb0". Does this matter at all?
@tech_craft
Жыл бұрын
It should be `usb0`.
@ErikTaraldsen
2 жыл бұрын
waving hands seems to have interlace effects?
@tech_craft
2 жыл бұрын
Not sure where that's come from - will double check my settings.
@ErikTaraldsen
2 жыл бұрын
@@tech_craft Good. :) Interlacing is a relic I'd like to not make a comeback like vinyl has had.
@jugnu361
2 жыл бұрын
Looking for a 100 MB headless Linux on PI4
@alessandrospedito8091
2 жыл бұрын
Hi, can the same be done with an Asus Tinker board or other sbc?
@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.
@Andreasytac
2 жыл бұрын
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
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
2 жыл бұрын
@@tech_craft KZitem 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
2 жыл бұрын
I’ll give this a try as soon as I can. Would certainly be a big improvement to the process.
@Andreasytac
2 жыл бұрын
@@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
2 жыл бұрын
Sounds great. You can get me on rob@techcraft.co
@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?
@SomeYouTubeGuy
2 жыл бұрын
Check his previous videos
@patryk888888
Жыл бұрын
It’s driving me crazy. Can I access blink In iPad files app without Wi-Fi just by using usbc ?
@tech_craft
Жыл бұрын
That's how I have in configured to work. Is it not working for you?
@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.
@dineshnandanwar5138
2 жыл бұрын
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
2 жыл бұрын
Certainly. Ubuntu Server has a different networking setup - it uses Netplan. I have a dedicated video on that topic here: kzitem.info/news/bejne/s4Z41K13f3xnmoY
@eduitguy9016
2 жыл бұрын
I'm really curious about your Ubuntu setup!
@eduitguy9016
2 жыл бұрын
Will you keep the GUI enabled? Or Ubuntu Server?
@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
2 жыл бұрын
@Tech Craft Awesome! I like using my Pi for more wireless work… and I’ve just found that easier with Ubuntu. Cheers.
@mediatechtube
2 жыл бұрын
Hello, how about getting the pi to work with an Android tablet
@juri14111996
2 жыл бұрын
the same: android support usb network adapter since many years
@tech_craft
2 жыл бұрын
I bought an Android tablet recently to start exploring the setup. Will report back when I have more information.
@kragrrr
2 жыл бұрын
Can one run sudo raspi-config to see the GUI?
@tech_craft
2 жыл бұрын
You'll need VNC to access the GUI. I have a video coming up on that exact topic very soon.
@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?
@rashie
2 жыл бұрын
👍👍
@rashie
2 жыл бұрын
🙂🙂
@Powergeek2011
2 жыл бұрын
I tried with my Kali Linux installation and it didn’t work.
@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.
@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 :(((
@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
2 жыл бұрын
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
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
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
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
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.
@shadow.banned
2 жыл бұрын
If you can even find one in 2022...
@tech_craft
2 жыл бұрын
The best option I have for now is to track RPi Locator: rpilocator.com/
@nebulousJames12345
2 жыл бұрын
You forgot to explain wtf you were doing....
@tech_craft
2 жыл бұрын
I explained it in the linked videos. Starting from scratch in every single video would lead to a lot of duplication.
@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!
Пікірлер: 126