I've been trying to "give" my Pi4 internet through my tethered iPhone. The Pi is headless, so here's what I've tried:
Method 1:
Share Internet Connection from "Apple Ethernet" to "Ethernet" (where the Pi is connected). I then used TFTPD64 to run a DHCP server (since windows wasn't doing it natively) and then once the pi was served an address, log into the Pi and run
Code: Select all
sudo apt updateMethod 2:
Bridge "Apple Ethernet" to "Ethernet", use TFTPD64 to run a DHCP server that matched that of the IP given to the laptop, log into the pi with its assigned IP (that's on the same subnet), and then run the code.
Both times, I get a "failure" resolving 'ports.ubuntu.com' and always failing to fetch from the ubuntu.com repository. Anyone have some ideas or a workaround on this?