Apple iPad Pro: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 16: Line 16:
</source>
</source>


==Raspberry Pi Imager==
==Raspberry Pi02W Config==
<source lang="bash">
<source lang="bash">
sed -z "s|rootwait|modules-load=dwc2,g_ether rootwait|" -i /media/${USER}/system-boot/cmdline.txt
sed -z "s|rootwait|modules-load=dwc2,g_ether rootwait|" -i /media/${USER}/system-boot/cmdline.txt
Line 26: Line 26:
     link-local: [ ipv4 ]
     link-local: [ ipv4 ]
EOF
EOF
</source>
For this case '''Type-C » Micro-USB''' cable required. In this case please connect '''Micro-USB''' port '''2nd Micro-USB''' female port instead of power port as because '''2nd Micro-USB''' is an '''OTG Micro-USB'''.
<source lang="bash">
sudo apt install net-tools
ifconfig -v usb0|grep inet
arp -a -i  usb0
</source>
</source>



Revision as of 22:32, 29 November 2023

iPad Pro for web developers

Textastic ($9.99)
Working copy (Free — $15.99 for pro version) √
Terminus (Free — $6.99/montly for Pro features) √
Blink Shell($19.99) √
Prompt 2 ($15.99)

Raspberry Pi Imager

wget -cq https://downloads.raspberrypi.org/imager/imager_1.8.1_amd64.deb -P ${HOME}/Downloads
sudo apt install ${HOME}/Downloads/imager_1.8.1_amd64.deb
rm  -rf          ${HOME}/Downloads/imager_1.8.1_amd64.deb
sudo apt --fix-broken install
sudo apt install -f

Raspberry Pi02W Config

sed -z "s|rootwait|modules-load=dwc2,g_ether rootwait|" -i /media/${USER}/system-boot/cmdline.txt
echo 'dtoverlay=dwc2,dr_mode=peripheral'                >> /media/${USER}/system-boot/config.txt

tee -a /media/${USER}/system-boot/network-config >/dev/null <<EOF
ethernets:
  usb0:
    link-local: [ ipv4 ]
EOF

For this case Type-C » Micro-USB cable required. In this case please connect Micro-USB port 2nd Micro-USB female port instead of power port as because 2nd Micro-USB is an OTG Micro-USB.

sudo apt install net-tools
ifconfig -v usb0|grep inet
arp -a -i   usb0

Playground

df -h | grep /media
sudo umount  /media/<user-id>/<disk-id>
sudo eject   /dev/sda

udisksctl unmount -f -p /dev/sda1
udisksctl unmount    -b /dev/sda1
sudo eject              /dev/sda
udisksctl power-off  -b /dev/sda

References