mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Merge pull request #3061 from holta/iiab-diagnostics_lspci
Add 'lspci -nn' to iiab-diagnostics, and remove iiab-gen-iptables that's no longer useful
This commit is contained in:
commit
453ca1d741
2 changed files with 3 additions and 2 deletions
|
@ -211,12 +211,13 @@ cat_cmd 'systemctl status hostapd' 'Downstream Wi-Fi: Is hostapd running?'
|
|||
cat_cmd 'ls -l /etc/wpa_supplicant' 'Upstream Wi-Fi'
|
||||
cat_cmd 'ps -AH' 'Process hierarchy: staging of hostapd & wpa_supplicant?'
|
||||
cat_cmd 'dmesg | grep brcm' 'Diagnostic messages: RPi Wi-Fi firmware'
|
||||
cat_cmd 'lspci -nn' 'Devices on PCI bus'
|
||||
cat_cmd 'env' 'Environment variables'
|
||||
#cat_cmd 'ansible localhost -m setup 2>/dev/null' 'All Ansible facts' # For cleaner scraping of Ansible vars, consider "./runrole all-vars /tmp/all-ansible-vars" 27-31 lines above?
|
||||
|
||||
echo -e "\n 5. Firewall Rules:\n"
|
||||
echo -e "\n\n\n\n5. FIREWALL RULES\n" >> $outfile
|
||||
cat_file /usr/bin/iiab-gen-iptables
|
||||
#cat_file /usr/bin/iiab-gen-iptables
|
||||
cat_cmd 'sudo iptables-save' 'Firewall rules'
|
||||
|
||||
echo -e "\n 6. Log Files: (last 100 lines of each)\n"
|
||||
|
|
|
@ -62,4 +62,4 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things:
|
|||
|
||||
## Source Code
|
||||
|
||||
Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 110-230 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible.
|
||||
Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 110-231 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible.
|
||||
|
|
Loading…
Reference in a new issue