I have a Raspberry without screen/keyboard/mouse that does nothing else than launching a radio stream at startup :
mplayer http://95.81.146.2/fip/all/fiphautdebit.mp3
I have put this command at the end of /etc/rc.local
. Unfortunately, 50% of the time, the playing doesn't start (maybe because the WIFI wasn't properly connected yet?) and I have to reboot to make the sound playing start.
How can I check what happened during rc.local
startup, later, with a SSH connexion ? I tried with dmesg
, but couldn't see the result of mplayer
.
Which is the most appropriated script to put such a command ?
(rc.local
, /etc/profiles
?)
mplayer http:// >/tmp/out 2>&1
Then look in /tmp/out? – Marki Feb 9 at 23:41rc.local
? – Basj Feb 9 at 23:45