Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4990

Advanced users • Re: [HOWTO] Headless configuration of a Raspberry Pi using USB Ethernet Gadget on Bookworm

$
0
0
I try to connect a Ubuntu 24.04 to Bookworm 64b of a raspberry pi zero2W.

Thanks for replying, glad the guide could be of some use.

Regarding the lack of mDNS resolution: your Ubuntu 24.04 host also uses Network Manager, so suffers from the same issues that the Raspberry Pi OS has of; not configuring USB interfaces by default, and if configured to do so, only attempting DHCP, and then giving up with no link-local addressing in place.

Without additional configuration the Ubuntu host will not behave as you expect (I expect).

If you only want link-local addressing on the hosts USB0 device you can configure Network Manager using the following command on the Ubuntu host:

Code:

nmcli connection add con-name host-usb0-ll ifname usb0 type ethernet ipv4.method link-local

This will create a NM connection that will configure a link-local address on the hosts USB0 device when you plug in a Raspberry Pi OS (configured as the guide describes above). Hopefully that will make the USB0 connection behave as you expect.

Statistics: Posted by phattmatt — Sun Nov 10, 2024 1:29 pm



Viewing all articles
Browse latest Browse all 4990

Trending Articles