kyle, The latest images use systemd as the default init daemon. So probably use systemd services to load gadget driver at boot. I honestly know very little about systemd so have never got this to work myself.
What I've always done, and do not necessarily recommend that you do the same - If you care to run systemd. Is disable systemd in uEnv.txt, and just place g_ether in /etc/modules. No need to install / use udhcpdin this case. Ofcourse the g_ether device would then have to be set statically in /etc/network/interfaces The above is for Wheezy. For Jessie one would have to install the required sysv packages, and then either disable or uninstall systemd . . . plenty of instruction on the web about this. As it seems many people do not care for systemd . . . Anyway, just a heads up, in case it proves useful for you. Also, I've never seen that script before . . .heh. No surprise though. On Wed, Jul 29, 2015 at 10:00 AM, <[email protected]> wrote: > #In a single partition setup, dont load g_multi, as we could trash the > linux file system... > > if [ "x${root_drive}" = "x/dev/mmcblk0p1" ] || [ "x${root_drive}" = > "x/dev/mmcblk1p1" ] ; then > > if [ -f /usr/sbin/udhcpd ] || [ -f /usr/sbin/dnsmasq ] ; then > > #Make sure (# CONFIG_USB_ETH_EEM is not set), otherwise this shows up as > "usb0" instead of ethX on host pc.. > > modprobe g_ether ${g_network} || true > > else > > #serial: > > modprobe g_serial || true > > fi > > else > > boot_drive="${root_drive%?}1" > > modprobe g_multi file=${boot_drive} cdrom=0 ro=0 stall=0 removable=1 > nofua=1 ${g_network} || true > > fi > > > > Found the relevant section above. It appears that I did not have udhcpd > installed so it falls through to g_serial. I added that via apt-get and > the interface showed up but did not assign an IP on the PC side and I now > lost the serial interface too. Got back in via the physical ethernet > port. This is becoming a rabbit-hole I'm not interested in following. I > removed udhcpd and rebooted and recovered the serial console. I can make > do with the physical ethernet interface + usb serial. > > > I also discovered that I had to install acpid in order for the power > button to become operational as well. > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
