The information at Connect to your Pwnagotchi is insufficient for MacOS users.
It took me quite a while to figure this out. I finally found the right information on a forum for a different project.
I think it’s a good idea to add a seperate MacOS section, just like there is a seperate Linux section.
These are the steps to follow on MacOS:
Make sure internet sharing is enabled and your Mac will act as a gateway (This is probably only interesting for Host connection sharing).
Go to Settings. Open the Sharing panel. Check the Internet Sharing checkbox.
Go to Settings again. Open the Network panel. Find the “RNDIS/Ethernet Gadget” in the left column.
If there is no “RNDIS/Ethernet Gadget”, click the “+” at the bottom, select “RNDIS/Ethernet Gadget” and create it.
In the Network panel, there will be an item “RNDIS/Ethernet Gadget”. Select it. Chose manual configuration and enter:
IP address: 10.0.0.1
Subnet Mask: 255.255.255.0
Now you can continue with the generic configuration, start a shell with Terminal or iTerm and ping the device:
And ssh into the device: