Jump to content

enredar

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

1135 profile views
  1. It´s a SATA disk. And you are right!!! I replaced two lines in the temperature.conf and it worked. 1) Original line: dynamic.13.source=/tmp/disktemp Edited line: dynamic.13.source=/usr/sbin/hddtemp -u C -nq /dev/sda 2) Original line: dynamic.13.postprocess=sprintf("%.1f", $1/100) Edited line: dynamic.13.postprocess=sprintf("%.1f", $1/1) And now the disk temp varies around 25º/26º/27º The final config file looks like this: ####################################################################### # Extract CPU Temperature information # Page: 1 # Information Status Statistics # - cpu temperature - yes - yes # - disk temperature - yes - yes ######################################################################## dynamic.12.name=soc_temp dynamic.12.source=/sys/devices/virtual/thermal/thermal_zone0/temp dynamic.12.regexp=(.*) dynamic.12.postprocess=$1/1000 dynamic.12.rrd=GAUGE dynamic.13.name=disk_temp dynamic.13.source=/usr/sbin/hddtemp -u C -nq /dev/sda dynamic.13.regexp=(.*) dynamic.13.postprocess=sprintf("%.1f", $1/1) dynamic.13.rrd=GAUGE web.status.1.content.4.name=Temperature web.status.1.content.4.icon=cpu_temp.png web.status.1.content.4.line.1=JustGageBar("Temperature", "°C", 40, data.soc_temp, 80, 100, 80)+" "+JustGageBar("Disk", "°C",20, data.disk_temp, 80,100,80,percentColor$ web.statistics.1.content.8.name=Temperature web.statistics.1.content.8.graph.1=soc_temp web.statistics.1.content.8.graph.2=disk_temp web.statistics.1.content.8.ds_graph_options.soc_temp.label=Core temperature (°C) web.statistics.1.content.8.ds_graph_options.disk_temp.label=Disk temperature (ºC) Thanks a lot!
  2. First of all sorry for my bad english and maybe a newbie question. Board: BananaPI M1 when I login I get this: ARMBIAN 5.31 stable Debian GNU/Linux 8 (jessie) 4.11.5-sunxi CPU temp: 29°C HDD temp: 27°C Usage of /: 9% of 15G storage/: 1% of 688G I installed armbianmonitor with the command armbianmonitor -r I had no problems to put disk capacity and monitor services for samba and transmission. But I can´t find the way to get the disk temp into rpimonitor, the graph show "undefined" This is my temperature.conf in case was useful ####################################################################### # Extract CPU Temperature information # Page: 1 # Information Status Statistics # - cpu temperature - yes - yes ######################################################################## dynamic.12.name=soc_temp dynamic.12.source=/sys/devices/virtual/thermal/thermal_zone0/temp dynamic.12.regexp=(.*) dynamic.12.postprocess=$1/1000 dynamic.12.rrd=GAUGE dynamic.13.name=disk_temp dynamic.13.source=/tmp/disktemp dynamic.13.regexp=(.*) dynamic.13.postprocess=sprintf("%.1f", $1/100) dynamic.13.rrd=GAUGE web.status.1.content.4.name=Temperature web.status.1.content.4.icon=cpu_temp.png web.status.1.content.4.line.1=JustGageBar("Temperature", "°C", 40, data.soc_temp, 80, 100, 80)+" "+JustGageBar("Disk", "°C",0, data.disk_temp, 100,100,80,percentColors,45,50) web.statistics.1.content.8.name=Temperature web.statistics.1.content.8.graph.1=soc_temp web.statistics.1.content.8.graph.2=disk_temp web.statistics.1.content.8.ds_graph_options.soc_temp.label=Core temperature (°C) web.statistics.1.content.8.ds_graph_options.disk_temp.label=Disk temperature (ºC) I apreciate any hint or advice. Thanks.
  3. First of all sorry for my bad english and my limited knoledge of linux. After run apt-get update // apt-get upgrade my Bpi didin´t share folders over samba. When I put the command apt-get -f install the console returns this Type the Y and get this So I think to remove entire samba and this is what i get I´m stuck and I don´t know how to solve this, can you give me any help or advice. Thanks
  4. I managed to reinstall everything, but I read later that the Igor´s micro home server script is not recommended for Jessie whit 4.x kernel, but everything works OK except for the rpi monitor, is there any chance to make it work? I don´t want precise data, only I want something like "Oh my good!!, turn it off, or burn it" With this could be enough for my. Thanks and sorry for my funny english!
  5. Thank you for your quick response Igor !! I am a total noob to linux, but I'm trying to learn, if typing crontab -l on the console (with my user or root) returns to myself: no crontab for root / user but do not know if this is the correct command. I read the FAQ, and from what I understand I might be appropriate to make a clean new installation. In this way I avoid possible errors made with this learning on the fly. Again many thank
  6. Hello and thanks in advance. I have installed the IMG Debian Wheezy With kernel 3.4.x, when income Rpi monitoring tells me I have 11 upgradeable packages, but if I run apt-get update and apt-get upgrade returns me that there is nothing to update. Moreover Igor saw yesterday published an update, it is possible to upgrade without reinstalling everything? The problem that I have and which I intend to upgrade is that once a day or once every two days or ethernet banana itself hangs and can not access until I restart the banana pi. Thank you very much and apologize for using google translator.
  7. I'm an idiot! Shame on me! You are right! Everything works OK without my error. Thanks!!
  8. Igor first of all thank you for your work and for allowing us we can use it. Sorry to use google translator. I am a total and complete novice, but I can follow directions. I'm trying to setup SAMBA so as to share folders with other devices in my home. I'm using the img I downloaded from your site: Bananapi_Debian_3.0_wheezy_3.4.107 And I'm using your scrip Micro Home Server I connected a hard disk formatted in NTFS to BPI and is configured to mount on startup within this folder /media/HDD1 (from the console I can see and enter the disk). My fstab looks like this: /dev/sda1 /media/HDD1 ntfs-3g defaults, locale = es_AR.UTF-8 0 0 Within the smb.conf file parameters copied to the folder /ext shared but changing routes to the folder riding my record. [HDD1] comment = HDD1 patch = /media/HDD1 writable = yes public = yes valid users = banana force create mode = 0777 force directory mode = 0777 Both Windows and android I can see the folder /ext, but since neither OS I can see my hard drive Any hints of what can I be doing wrong? Thanks in advance EDIT: Some progress I've made: no matter where I create a folder, smb.conf does not recognize or show that shared folder. But if I edit the first block that comes after the settings for sharing printers recognize any folder you configure it. It is as if he had a cap of lines that can be read EJ: In this case it recognizes and shares the folder / ext but does not recognize or share /HDD1 [Ext] comment = Storage patch = /ext writable = yes public = no valid users = banana force create mode = 0777 force directory mode = 0777 [HDD1] comment = HDD1 patch = /media/HDD1 writable = yes public = no valid users = banana force create mode = 0777 force directory mode = 0777 In this case it recognizes and shares the folder / HDD1 but does not recognize or shared / ext [HDD1] comment = HDD1 patch = /media/HDD1 writable = yes public = no valid users = banana force create mode = 0777 force directory mode = 0777 [ext] comment = Storage patch = /ext writable = yes public = no valid users = banana force create mode = 0777 force directory mode = 0777 In this case if I mention the first block does not recognize or share anything: # [ext] # Comment = Storage # Patch = /ext # Writable = yes # Public = no # Valid users = banana # Force create mode = 0777 # Force directory mode = 0777 [HDD1] comment = HDD1 patch = /media/HDD1 writable = yes public = no valid users = banana force create mode = 0777 force directory mode = 0777
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines