Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add step-by-step network connection debugging script #753

Open
fhunleth opened this issue May 18, 2022 · 0 comments
Open

Add step-by-step network connection debugging script #753

fhunleth opened this issue May 18, 2022 · 0 comments

Comments

@fhunleth
Copy link
Member

fhunleth commented May 18, 2022

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:

  1. Run ifconfig to see that a virtual Ethernet interface shows up
  2. 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
  3. If sshing to nerves.local doesn't work, look for the IP address in ifconfig and subtract 1 from the last IP address digit. Try pinging and sshing to that.
  4. If sshing to the IP address works, log in. Check the mDNS configuration with MdnsLite.Info.dump_records to see what's advertised. Perhaps there's a typo.
  5. If WiFi isn't working, try VintageNet.info
  6. Then try VintageNetWiFi.scan to see if the network you want shows up
  7. Try VintageNetWiFi.quick_configure to try configuring it again. Perhaps there was a typo in the passphrase?
  8. Try ping "google.com" or weather to see if the Internet works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant