====== USB OTG Ethernet 接続 ====== USB OTG(On-the-Go) Ethernet として Raspberry Pi Zero WH を認識させるには、SD メモリーカードにある cmdline.txt を編集する。\\ console=serial0,115200 console=tty1 root=PARTUUID=067e19d7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh rootwait の後に modules-load=dwc2,g_ether を追記する。\\ console=serial0,115200 console=tty1 root=PARTUUID=067e19d7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet init=/usr/lib/raspi-config/init_resize.sh [[https://caron.ws/wp-content/uploads/telechargement/|Index of /wp-content/uploads/telechargement]] より [[https://caron.ws/wp-content/uploads/telechargement/RPI%20Driver%20OTG.zip|RPI Driver OTG.zip]] をダウンロードする。\\ もしくは、\\ [[https://www.catalog.update.microsoft.com/Search.aspx?q=%09Acer%20Incorporated.%20-%20Other%20hardware%20-%20USB%20Ethernet%2FRNDIS%20Gadget|Acer Incorporated. - Other hardware - USB Ethernet/RNDIS Gadget - Microsoft Update カタログ]] より [[http://download.windowsupdate.com/msdownload/update/driver/drvs/2012/12/20342322_4b9970e3174b23b5cb2371af0837f939a71271ea.cab|Acer Incorporated. - Other hardware - USB Ethernet/RNDIS Gadget]] をダウンロードする。\\ デバイスマネージャーでドライバを更新すると **ssh** 接続出来るようになる。\\ {{hardware:raspberry_pi_usb_otg_ethernet_001.png?340|Raspberry Pi USB OTG Ethernet 001}} {{hardware:raspberry_pi_usb_otg_ethernet_002.png?340|Raspberry Pi USB OTG Ethernet 002}} {{hardware:raspberry_pi_usb_otg_ethernet_003.png?340|Raspberry Pi USB OTG Ethernet 003}} {{hardware:raspberry_pi_usb_otg_ethernet_004.png?340|Raspberry Pi USB OTG Ethernet 004}} {{hardware:raspberry_pi_usb_otg_ethernet_005.png?340|Raspberry Pi USB OTG Ethernet 005}} {{hardware:raspberry_pi_usb_otg_ethernet_006.png?340|Raspberry Pi USB OTG Ethernet 006}} {{hardware:raspberry_pi_usb_otg_ethernet_007.png?340|Raspberry Pi USB OTG Ethernet 007}} {{hardware:raspberry_pi_usb_otg_ethernet_008.png?340|Raspberry Pi USB OTG Ethernet 008}}{{hardware:raspberry_pi_usb_otg_ethernet_009.png?340|Raspberry Pi USB OTG Ethernet 009}} Windows の PowerShell より接続する。\\ $ ssh pi@raspberrypi.local 初期ログイン情報: UID: pi、PWD: raspberry\\