This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pi Zero Connectivity (g_ether)

I have a PiZero which I want to perform a couple of minor network functions that the UTM doesn't seem to handle (TFTP server and VPN client for instance).

I have therefore built a Jessie Minimal installation and enabled the g_ether module - When I connect to my mac it tries to DHCP, but self allocates (as does the mac) and then I can ssh to raspberry.local (bonjour working well).

When I connect it to my UTM then I get the following from dmesg:

[800929.144047] usb 1-2: new high-speed USB device number 5 using ehci-pci

[800929.500052] usb 2-2: new full-speed USB device number 2 using uhci_hcd

[800930.296056] usb 1-2: new high-speed USB device number 6 using ehci-pci

[800930.429119] usb 1-2: New USB device found, idVendor=0525, idProduct=a4a2

[800930.429127] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[800930.429132] usb 1-2: Product: RNDIS/Ethernet Gadget

[800930.429137] usb 1-2: Manufacturer: Linux 4.4.11+ with 20980000.usb

[800930.913443] cdc_ether 1-2:1.0 usb0: register 'cdc_ether' at usb-0000:00:1d.7-2, CDC Ethernet Device, 2e:e1:ac:a4:37:21

[800930.913497] usbcore: registered new interface driver cdc_ether

All of which looks quite hopeful. I also get the following interface under ip addr:

10: usb0: mtu 1500 qdisc noop state DOWN group default qlen 1000

   link/ether 2e:e1:ac:a4:37:21 brd ff:ff:ff:ff:ff:ff

Which *also* looks hopeful... However in the UI - nothing, not a sausage. It offers me the other unused NICs, but not the USB one.

Do I have to go native, or can I encourage it to appear in the UI somehow...

If I have to go native on it - is there a recognised way of making my changes persistent?



This thread was automatically locked due to age.