I'm attempting to get the g_multi mode to work on:
Raspberry Pi Zero W running a Fresh install of Raspbian Jessie (April 2017 kernel 4.4)
The goal is to have the device run as a g_mass_storage pointing to a local bootable ISO, and be able to SSH into the device using the g_ether mode.
So far, Ive been able to get g_multi up and running without error. The mass_storage system is recognized and is bootable as expected, however when I try to SSH in, the connection hangs. There is no timeout, or any other IP related error. It just sits there for over 5 minutes without status.
My setup:
cmdline.txt (after rootwait)
modules-load=dwc2
config.txt (at the end)
dtoverlay=dwc2
/etc/modules
dwc2
g_multi
Then i created a new modules config file
/etc/modprobe.d/multigadget.conf
options g_multi file=/bootable.iso
and on the first boot, i created an empty "ssh" file in the root of the boot partition
When the modules load at boot I get a nice happy Multifunction Composite Gadget initialized message, no errors. Open SSH is set up and working properly, and functions as expected when I drop the config down to just g_ether.
- When doing a net stat and monitoring ports on the Pi there are zero incoming connections shown.
- When doing an ssh -v(erbose) on the client side, there is zero errors or activity.
- I'm using a USB A to micro B OTG cable
- I've tried using the raspberrypi.local bonjour hostname, the internal IP it sets on boot, and configuring a static ip for the usb0 interface.
- I've tried to connect it to my Mac Laptop, Windows Laptop and Unix desktop, all with exact same results.
I'm stuck. Thoughts?