Jump to content

orion_jg2001

Members
  • Posts

    11
  • Joined

  • Last visited

  1. That's a handy little graph, what's the script to install that?? p.s. fans working perfectly.
  2. Sun time of 1115. N2+ and installed fan scripts, sitting at 45c. Non fan installed N2+ unit, sitting in the same enclosure, on a mast, full sun sitting at 50c. Ambient temp in my weather station near by 22.8c. I would call that a success with your fan script, thanks.
  3. Worked it out. The 2nd unit I tried to install is my base ADS-B unit that I have been using as the litmus check, for other programming changes with the ADSB programs I dabble with. That OS is debian buster. I just successfully installed it in the other N2+ unit up in my mast enclosure, which is running Armbian bullseye. Installed no problems. So I just have to change over the OS of that other unit. Actually, it will be a good comparison today to have one running a fan and the other not. they both just creeped of 45 for an hour or two yesterday, so it will be interesting to see what happens today. I wont re image the other one until tomorrow, to see how they compare today.
  4. Hmm trying to install in second unit, getting this error when trying to set the 45c: root@odroidn2:~# fan-ctrl -3 /usr/local/bin/fan-ctrl: line 7: `35000': not a valid identifier /usr/local/bin/fan-ctrl: line 12: `45000': not a valid identifier /usr/local/bin/fan-ctrl: line 17: `55000': not a valid identifier /usr/local/bin/fan-ctrl: line 22: `65000': not a valid identifier /usr/local/bin/fan-ctrl: line 100: 45000: command not found
  5. FYI, I noted when first reboot after setting rc local, it didn't kick in on a stress test. I had seen in the many posts, someone having problems with their service in the rc local line not working as the re boot was too fast. A boffin, like yourself, suggested a line sleep 20, first in the rc local field, to "slow" the reboot down, to enable such services to process. Worked a treat with your script as well
  6. And now seeing the fan working, a plus to the hard kernel designers of that fan and the N2+ case. Clever how they suck the cool air down and then it has to run to either end along the heat sink flukes, cooling things down as this happens
  7. Ahh got it now. Saw the function of fan-ctrl -h, didn't then realise that your next line needed to be fan-ctrl 3 or what ever and then see the temp set Thanks working now. In looking at all the scripts, I see some that can increase the fan at a higher temp say boots up with 55, have you developed something like that as well??
  8. How do you set that option fan-ctrl, in your line in the etc/rc.local ie: /usr/local/bin/fan-ctrl -3 -r ?
  9. I have run these 2 lines of script.. And my rc local looks like this: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. [Service] ExecStart=/usr/local/bin/fan-ctrl -r &>/dev/null Type=oneshot RemainAfterExit=yes [Install] WantedBy=multi-user.target EOF sudo systemctl enable odroid-fan-ctrl # Options Odroid N2 Trip Point Usage: fan-ctrl -h -1 65°C -2 55°C -3 45°C -4 35°C -r Run -u Update exit 0 Is that how I should have set it up and the options, how do they work and where to you put that in the script, possibly in the sudo systemctl for the fan ??
  10. Wow thanks for this!!! I am not too bad with SSH etc and sudo works with what I have been doing with my set ups. But when I look at above hmmmm I will need some help with getting this set up and where to put things. You give 2 options of where, as a service or by placing it in /etc/rc.local. I have got into my rc.local, when trying some scripts to get something working but I have never set up a service.
  11. Hi, I have N2+ units with the odroid fans installed, but I need help with a script to run these on auto etc. Currently have the Armbian 21.08 odroid n2 bullseye OS installed. A pity Armbian does not have a config setup like Raspi, just go into raspi config, select fan option, set the temps and away you go>>>>>>. , ,
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines