More informationSequence of events
I can no longer resolve raspberrypi.local
from the Macintosh. The output of arp -a
shows no sign of it:
➜ ~ arp -a
dsldevice.lan (192.168.1.1) at c4:ea:1d:6c:bd:ae on en0 ifscope [ethernet]
danieles-mbp.lan (192.168.1.137) at b8:e8:56:34:97:12 on en0 ifscope permanent [ethernet]
? (192.168.1.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (224.6.7.8) at 1:0:5e:6:7:8 on en0 ifscope permanent [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]
broadcasthost (255.255.255.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
I think it would have been on a 192.168.2.x address - either way, after restarting it I find it on a 169.254.x.x address. So the networking that previously worked, no longer does. I am not able to resolve Internet addresses from the Pi.
However, raspberrypi.local
resolves correctly from the Macintosh.
I know that the Pi hasn't crashed or stop working, because it has three servos connected to it and they went on doing what they were supposed to until they had finished ten or so minutes later.
The Pi remained powered up over USB, and apparently fully working in every respect except for the networking I need to communicate with it.
What could have disrupted the local OTG network connection?
MacBook: Internet Sharing was on (as it has been for weeks).
Pi SD card was configured appropriately.
I connected the Pi via USB to the MacBook.
I immediately was able to
ssh [email protected]
.I don't know what IP address the Pi had (I think the Mac gave it a 192.168.2.x address), but it was able to reach the Internet.
While on the Pi, I installed various packages using apt and pip.
I connected the servos and started using my Python application I downloaded from GitHub.
While executing the program, which was producing output in the terminal, the Pi appeared to lose all network connectivity to the MacBook.
The Pi continued for several minutes more until the program finished running.
While trying to reconnect, I could no longer resolve
raspberrypi.local
from the Macintosh.The output of
arp -a
showed no sign of it:➜ ~ arp -a dsldevice.lan (192.168.1.1) at c4:ea:1d:6c:bd:ae on en0 ifscope [ethernet] danieles-mbp.lan (192.168.1.137) at b8:e8:56:34:97:12 on en0 ifscope permanent [ethernet] ? (192.168.1.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet] ? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet] ? (224.6.7.8) at 1:0:5e:6:7:8 on en0 ifscope permanent [ethernet] ? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet] broadcasthost (255.255.255.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
After rebooting the Pi by disconnecting the power, I was once again able to reach it at
raspberrypi.local
.However, the Pi now has a 169.254.x.x address and cannot resolve host names, nor can it reach remote IP addresses.
The Macintosh Network system preferences shows an RNDIS/Ethernet gadget attached, on a 169.254.x.x (not the one of the Pi - this is the address of that interface of the Mac).