On Tue, Jun 26, 2018 at 1:47 PM, <tu...@posteo.de> wrote: > Hi, > > short question: > > I want to access my Raspberry Pi Zero W via Ethernet-over-USB > via ssh. > On the Raspberry I have to include a module called g_ether. > After rebooting I can see a new interface whith an IP assigned > via ifconfig. > On my PC I see a new inteface and dmesg tells me, that > usb0 was renamed to a hillarious cryoted other name > and this <name> also shows up when using ifconfig. > But it has a complete different IP assigned, > > But I cannot ssh into the SoC even if the IP > address is corrected manually. > > What modules do I need loaded exactlu on the PC > and on the SoC? > > > Thanks for any help in advance! > Cheers > Meino >
I haven't poked a pi zero yet with the usb ethernet gadget stuff, but I know the beaglebone side sets up its own dhcp server for the process, as per this in their getting started docs: "If connected via USB, a network adapter should show up on your computer. Your Beagle should be running a DHCP server that will provide your computer with an IP address of either 192.168.7.1 or 192.168.6.1, depending on the type of USB network adapter supported by your computer's operating system. Your Beagle will reserve 192.168.7.2 or 192.168.6.2 for itself." What IP/subnet are you seeing on the pi and your desktop/laptop it's connected to for the USB interfaces? -- Poison [BLX] Joshua M. Murphy