I’m a Linux blockhead.
I just got a BeagleBone Black.
I’m working with it from a Windows10 computer using Putty and WinSCP.
In trying to set a static eth0 IP, (successful) and getting it to use 126.96.36.199 as DNS, I managed to lock myself out of it completely. (Long story, involving adding and deleting things in files, adjusting write permissions in folders, removing connman and so forth).
So now I cannot log in to the BBB with any profile. Not it’s default 192.168.7.1 through USB, or anything else which worked previously. (I had deleted the ethernet static IP previously anyway)…
Network error: Connection refused
I did not make a backup of whatever it had on it’s eMMC beforehand.
Putty does not work with any IP address
WinSCP does not work with any IP address
The Browser interface does not work with any IP address
I can ping 192.168.7.1
With the BBB plugged into a USB port, I have access to the “BeagleBone Getting Started” drive in Windows File Explorer.
So naturally I’m trying to get the thing working again. So would this work?
I buy some sort of “USB to microSD” device. Something like this:
I download some Ubuntu image from somewhere onto my Windows laptop. (I decided that I might as well go to UBUNTU rather than the Debian it has, while I’m at it).
I write this image out to the microSD through USB.
I stick the microSD into the BBB and push some button to get it booting from the microSD.
So once I get it working again, I can transfer the UBUNTU image from the microSD to the eMMC.