Hi folks, I'm working on g_ether and I'm stuck... I've tried g_multi too and that's no better.
As far as I can see, I'm following the proverbial plan.
- I have USB-serial adapter providing communications with my RasPi-0W
- I have the dwc2 and gadget modules in a .tcz file
- I have dwc2 enabled in config.txt, in bootlocal.sh I'm using modprobe to load dwc2
At the CLI I load g_ether
> sudo modprobe g_ether
A call to ifconfig doesn't show the usb0 device yet. So I call ifconfig as follows:
> sudo ifconfig usb0 192.168.4.2
At this point the usb host shows a new network connection, but it's not reachable. Back i the host machine:
> ping 192.168.4.2
> PING 192.168.4.2 (192.168.4.2) 56(84) bytes of data.
^C
--- 192.168.4.2 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
Any ideas will be appreciated, Krista