Hardware used
1 - 32Gb mini USB stick
2 - Combo Intel mini pci card (installed last year).
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
1 - Wrote image to USB stick via balenaEtcher.AppImage on Linux laptop
2 - booted via USB stick
3 - configured time - timedatectl
sudo timedatectl set-timezone your_time_zone
sudo timedatectl set-timezone America/Chicago
4 - ran sudo ./of-expand - appeared to work fine. Rebooted to a crash on boot
5 - checked stick with GParted and saw that partition looked small with errors. Checked it and then it displayed full partition ext2
6 - Openframe 2 booted fine afterwards.
7 - Just hearing static when rebooting.
8 - ran sudo of-install squeezeplay - script appeared to run fine with no errors
9 - rebooted and ended with an xwindows prompt - no squeezeplay
10 - I could run squeezeplay and it would start fine.
11 - still just hearing static for sound
My quickie fix got ride of the static but still only sound via the audio jack. For me this is better than sound coming from both speaker and audio jack.
sudo nano /etc/modprobe.d/alsa-base.conf
and added this which got rid of the static.
options snd-hda-intel model=generic
12 - installing intel wifi card
apt update && apt install firmware-iwlwifi
modprobe -r iwlwifi ; modprobe iwlwifi
13 - configured yaml file with WiFi settings - rebooted
14 - sound and wifi working now but not automagically booting to Squeezeplayer and shutdown and reboot stuff not working
15 - did the sudo thing for the file named openframe_power.sh
Code: Select all
#!/usr/bin/env bash
# openframe_power v1.11 (29th April 2020) by Andrew Davison
# Executed by OpenFramePower applet.
if [ "$1" = "quit" ]; then
sudo /usr/bin/xset -display :0.0 dpms 0 0 0
[ -e /tmp/of_initial_bl ] && sudo /usr/local/sbin/of-backlight `cat /tmp/of_initial_bl` &
fi
if [ "$1" = "relaunch" ]; then
sudo sleep 2
sudo killall jive
fi
if [ "$1" = "reboot" ]; then
sudo sleep 2
sudo systemctl reboot -i
fi
if [ "$1" = "halt" ] || [ "$1" = "poweroff" ]; then
sudo sleep 2
sudo systemctl poweroff -i
fi
exit 0
Code: Select all
# Allow squeezeplay to run commands in /opt/squeezeplay/bin/openframe_power.sh, with no need for password
squeezeplay ALL = NOPASSWD: /bin/systemctl reboot, /bin/systemctl reboot --no-wall -i, /bin/systemctl reboot -i, /bin/systemctl poweroff -i, /bin/ki>
17 - installed Webmin Thank you Andy!!!