このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン | |
hardware:raspberry_pi:usb_otg_ethernet_connection [2021/01/01 19:48] – ともやん | hardware:raspberry_pi:usb_otg_ethernet_connection [2021/01/01 20:22] (現在) – ともやん |
---|
====== USB OTG Ethernet 接続 ====== | ====== USB OTG Ethernet 接続 ====== |
USB OTG(On-the-Go) Ethernet として Raspberry Pi Zero WH を認識させるには、SD メモリーカードにある <html><code>cmdline.txt</html></code> を編集する。\\ | USB OTG(On-the-Go) Ethernet として Raspberry Pi Zero WH を認識させるには、SD メモリーカードにある <html><code>cmdline.txt</code></html> を編集する。\\ |
<WRAP prewrap 100% #mincode> | <WRAP prewrap 100% #mincode> |
<code autoconf /boot/cmdline.txt> | <code autoconf /boot/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 | 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 |
</code> | </code> |
<html><code>rootwait</html></code> の後に <html><code>modules-load=dwc2,g_ether</html></code> を追記する。\\ | <html><code>rootwait</code></html> の後に <html><code>modules-load=dwc2,g_ether</code></html> を追記する。\\ |
<code autoconf /boot/cmdline.txt> | <code autoconf /boot/cmdline.txt> |
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 | 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 |