I flashed the pb2 board with the latest image using the Beagle Board Imaging Utility:
pocketbeagle2-debian-13.5-base-v6.12-arm64-2026-05-19-8gb.img.xz on MacOS Tahoe 26.5.
The connection is possbile via USB Serial console, but the connection via local network over usb fails.
Apparently the assigned IP is prefixed with 192.168… and it appears with a yellow dot (as opposed to a green dot) in the network devices overview.
The same board with a Debian 12 Image for Bela Gem is working and connecting flawless.
Looking forward for error replications and your expertise!
So there is a new flag in bb-imager-rs, enable-usb-dhcp… Please try with that enabled… As long as you have Internet connection sharing enabled, the USB port should get an IP address from your Mac.. (it takes 3 reboots to resize and setup first user, so give it a minute or two on boot up)
Thanks for the quick reply. The flag was set and I waited 5- 10 minutes and did several reboots of the board. The bela Denian 12 worked, so might it be related to some changes in Debian 13 regarding the usb networking?
I’m so confused, it should be up.. On Mac there should be a usb-serial interface that comes up with the board on bootup.. Using a serial terminal can you login into the PB2 run, sudo ifconfig -a so we can we what ip address have gotten from your Mac..
That looks like a local assignment from Mac… Do you have Internet connections sharing or tether enabled? I’m away from home and my Mac mini, will double check later tonight
As already mentioned I have an identical pb2 with a Bela Gem Stereo Head and it works out of the box with my local Mac (and the Debian 12 based bela image). So I guess the origin of the problem lies with the pb2 board rather than the mac.
The Debian 13 Image for the pb2 (without bela header) was configured with enabled usb dhcp and disabled shared internet. Should be good, right?
Are there MacOS users that can reproduce the error using the latest PocketBeagle2 Firmware with DHCP checkbox on? I am kind of lost what to do, or if I should just create a startup script that binds the address with the commands from my previous post, but it looks not very sunstainable and needs to be done after each install of the firmware …
You should be able to follow the procedure outlined here:
You’ll know it works when the little “led” on MacOS turns green…
The issue arrises because there can be two DHCP server offers,
so if the card picks the wrong one, it won’t work.
The important bit are the two commands at the end of the MacOS instructions:
Those will make the board “click into place”…
Ah yes - the gateway bit only works if you set the address as 192.168.7.2/30 then the only valid address are 192.168.7.1 and 192.168.7.2 (0 and 3 have special meaning). This means when the DHCP server runs - it can only ever give one number, and that machine must be the gateway.
and by setting /30 we are doing really the same thing, but actually forcing the network to 2 usable ip’s vs /24 which was 254 (even thou we lock it to 1 other with dhcp (poolsize)..
yeah i like /30 lock better..
looking more at:
[Route]
Gateway=192.168.7.1
If any device had wifi, this would then force usb0 the default route..
This is the optimized version: (if wifi or eth0 could exist..)
Yes if the device can have other internet connections they are almost certainly better that USB OTG, which is far from a complete connection (e.g. the host machine needs to forward).
This said this was my solution on BBB PB and PB2 none of which have any connection other than the USB OTG.
on am335x, we use a unified image, so pb and bbb boot on the same image, that’ll default to usb0-DHCPServer.network i need to work with @ayush1325 to find a way to make this selectable..
On PB2 it’ll be usb0-only-DHCPServer.network by default, BBAI64, Play, and BeagleY-AI it’ll be usb0-DHCPServer.network
Its been several years since I read how to set network in systemd. IIRC you switch on the DHCPServer in [Network] and configure it in [DHCPServer]. I’ll have to look up PoolSize - I can guess what it does, but it wasn’t something I set.
Thank you all for your answers and solution proposals.
If I use the BeagleBone2 together with Bela Gen Audio Header and their Debian 12 based Image, usb-c tethering works out of the box.
On the same Macbook Pro with the Debian 13 image on thecBeaglebone2, it doesn’t. So something had changed for the worse in the new Debian 13 image for BB2.