Hi, just wanted to confirm it’s working for you… because I don’t seem to be able to do it, even using the script from your testing repo.
Also a quick question… is there a way to call your dietpi-software script from another script, say I have a script to install some extra software and want to do everything automatically, so it calls to the installation of say LAMP inside your script.
Finally, I have a suggestion, how about adding an overclock stress test to the stress test menu, I know there’s a couple of ways, I’m currently using this script:
#Simple stress test for system. If it survives this, it's probably stable.
#Free software, GPL2+
echo "Testing overclock stability..."
#Max out the CPU in the background (one core). Heats it up, loads the power-supply.
nice yes >/dev/null &
#Read the entire SD card 10x. Tests RAM and I/O
for i in `seq 1 10`; do echo reading: $i; sudo dd if=/dev/mmcblk0 of=/dev/null bs=4M; done
#Writes 512 MB test file, 10x.
for i in `seq 1 10`; do echo writing: $i; dd if=/dev/zero of=deleteme.dat bs=1M count=512; sync; done
#Print summary. Anything nasty will appear in dmesg.
echo -n "CPU freq: " ; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
echo -n "CPU temp: " ; cat /sys/class/thermal/thermal_zone0/temp
dmesg | tail
echo "Not crashed yet, probably stable."
Did some further testing. Raspcontrol will only work if openssh-server is installed. It simply “hangs” with Dropbear. I have no idea why, but it must be some of the raspcontrol code expecting to have openssh-server installed.
Benchmark. Thanks, i’ll take a look.
DietPi-Software does not currently support input variables (eg: dietpi-software install KODI). Maybe in the future, however, i’d like to convert dietpi-software into a SQL database 1st.
Another question, which webserver do you recommend? based on being light, I just need it for raspcontrol and the file manager, LASP or LESP?.
Also, not sure if a bug or intended, but when setting the overclock profile to extreme the core_freq is set to 400 instead of 500 as supposed to be with the profile:
sed -i ‘/core_freq=/c\core_freq=400’ /DietPi/config.txt
I would recommended using LASP/LAMP with DietPi. Whilst nginx may be “faster”, it doesnt have supported installations like Apache2 does (eg: apt-get install owncloud (requires apache2).
Using LESP LEMP is recommended for advanced users who wish to setup their websites manually.
Good spot on the overclock bug, will be fixed in next release (hopefully today if all goes well)