To help resolve my lack of connectivity issue (pi-star dashboard won't come up) I have moved the mmdvm hat to a Pi3B connected up to screen, keyboard and can access the underlying linux distribution from the command line/shell.
Is there any step by step debugging/testing I can perform at this level to figure out why it aint working, eg what processes should I see when using ps aux - that kind of thing.
Debugging using command line
Re: Debugging using command line
For starters, you can simply check the connection status:
And check to see what IP and routing addresses are assigned:
And then scan the logs for more info:
and check available access points:
Those will tell you what your HS is seeing and what issues it's having connecting; the messages as such aren't that clear or detailed enough, but you can figure out far into the process it's getting and then go from there.
Code: Select all
iwconfig
ifconfig
Code: Select all
hostname -I
netstat -r
Code: Select all
grep -shie "wpa_supp\|dhcpcd\|wlan0\|ifup" {/var/log/syslog.1,/var/log/syslog}
Code: Select all
wpa_cli scan -i wlan0
sleep 8
wpa_cli scan_results -i wlan0