Add step-by-step network connection debugging script
fhunleth opened this issue · 0 comments
fhunleth commented
There's a set of steps that many of us are used to typing that would be good to document. It depends on the device and your host computer, though. For example, on a Mac and a Raspberry Pi Zero connected using gadget mode, we do:
- Run
ifconfig
to see that a virtual Ethernet interface shows up - If it doesn't show up, check that you're plugged into the middle USB port on the Pi rather than the power-only port
- If
ssh
ing tonerves.local
doesn't work, look for the IP address inifconfig
and subtract 1 from the last IP address digit. Try pinging andssh
ing to that. - If
ssh
ing to the IP address works, log in. Check the mDNS configuration withMdnsLite.Info.dump_records
to see what's advertised. Perhaps there's a typo. - If WiFi isn't working, try
VintageNet.info
- Then try
VintageNetWiFi.scan
to see if the network you want shows up - Try
VintageNetWiFi.quick_configure
to try configuring it again. Perhaps there was a typo in the passphrase? - Try
ping "google.com"
orweather
to see if the Internet works