asami wrote:wh7qq wrote:When you say
unplug and replug
are you talking about the power connection? That is really scary because if you don't remember to go through a proper poweroff sequence (10 green LED flashes) you can screw up the uSD card so that it won't boot properly. If you have no other way of controlling the Pi (headless) get yourself a GPIO-USB serial console adapter cable...no need for ssh with that. They are cheap...less than $10.
That was really the only option I felt I had as a headless setup because after I was able to log in via ssh the connection hung and there wasn't anything else I could do to (such as attempt to shut it down properly through the terminal). Later, connecting the pi to a monitor I could see that it was because the wifi connection was being dropped after a minute. If you have a suggestion for another way to handle that sort of situation though, I'm more than happy to try it.
Here you are, as I suggested:
https://learn.adafruit.com/adafruits-ra ... e/overview You take a considerable risk of loosing the uSD card if you cut power or remove the uSD card without a proper shutdown. It is much like windows punishing you for a disorderly termination...BSOD!
Are the files you posted truly identical? There is a tendency to gloss over some minor point of difference and not see it. If you recall, I suggested posting both here with clear ID as to which is which. If you don't wish to post the files here, for your own sake,
You need to use diff command to display line-by-line difference between two files. The general syntax of diff command as follows:
diff FILE1 FILE2
so give the files a distinguishing name and check it out. To my eye, the files are different...several lines not present in one that exist in the other. Also, compare the /etc/network/interfaces files the same way.
Diff quote from
https://www.cyberciti.biz/faq/how-do-i- ... x-or-unix/
Finally, with regard to the on board wifi on the RPi3, stay close to the router or AP that you are networked to as the tiny antenna on the 3 isn't good at going through walls or over great distances. Also, sources of local interference such as microwave ovens, cordless phones, etc. can screw up a signal as can a neighbor using the same wifi channel.
It is also possible that interference just popped you out of the ssh session and it can still be restarted anew from the other computer's console with the usual ssh command: ssh
yourusername@192.168.1.XX password: yourpasswordhere. Wifi can be flakey...always go with ethernet if possible.