1

I'm trying to run Raspberry Pi 3B+ in headless mode: I'm doing this by placing ssh and wpa_supplicant.conf files in the root of the boot SD card folder.

What I can do if something went wrong?

Is there any logs left on the SD cards boot folder to track back the problems if they are any using a Windows machine and a card reader?

  • Everything is logged in /var/log/syslog and /var/log/messages. Kernel messages (including messages from the WiFi driver) are logged in /var/log/kern.log or can be seen in real-time with a dmesg command. I run a script (from cron every three minutes) that pings 8.8.8.8 and restarts networking if the ping fails. – Dougie Oct 22 '19 at 6:36
  • @Dougie, are these logs available from the SD card on a Windows machine? – Roman Matveev Oct 22 '19 at 6:38
  • No. You can read them on ANY Linux system. Windows doesn't understand EXT4 filesystems (due to not invented here). – Dougie Oct 22 '19 at 10:03
  • You can boot a Linux Live CD (maybe from Debian or Ubuntu or any other). Raspberry Pi is about to get an entry into the linux world. – Ingo Oct 22 '19 at 10:27
  • @Dougie, Windows does not understand. That's clear. But there is a boot folder which can be used to tell RPi about WiFi settings. So there is a way to have a feedback via exactly this folder. – Roman Matveev Oct 22 '19 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.