The Raspberry Pi Zero support USB On The Go
The new USB-C connector on the 2018 iPad Pro’s opens a new way to communicate with RPi’s: Ethernet over USB, including powering a Pi Zero.

Access the micro SD card from the command line

###Step 1.  Enable ssh
touch /Volumes/boot/ssh

###Step 2. Edit /Volumes/boot/config.txt
#Append this line to the bottom of it:
dtoverlay=dwc2

###Step 3. Edit /Volumes/boot/cmdline.txt
#After rootwait, append this text leaving only one space:
modules-load=dwc2,g_ether

Boot the Pi Zero W

Put the SD card into the Pi Zero W
Plug a Micro-USB power cable into the power port

Connect via ssh (using Termius app from Ipad)

### check local  hostname from /etc/host or connect with ip  

### check raspberry ip from Ipad: 

Install vnc server

###Step 4. Install/enable vncserver
sudo apt-get install realvnc-vnc-server

#Enable vnc navigate to Interfacing Options > VNC and select Yes.
sudo raspi-config, 

#To change the resolution 
#navigate to Advanced Options > Resolution, and choose an option.
sudo raspi-config, 


# You can operate VNC Server via SSH:
##To start VNC Server now: 
sudo systemctl start vncserver-x11-serviced.service
##To start VNC Server at next boot, and every subsequent boot: 
sudo systemctl enable vncserver-x11-serviced.service
##To stop VNC Server: 
sudo systemctl stop vncserver-x11-serviced.service
## To prevent VNC Server starting at boot: 
sudo systemctl disable vncserver-x11-serviced.service

Connect from Ipad with VNC Viewer

© 2021. All Rights Reserved.

Ghostium Theme by @oswaldoacauan

published with Ghost

Privacy Policy