Giter Club home page Giter Club logo

Comments (7)

sparkyvxcx avatar sparkyvxcx commented on May 18, 2024 5

vi /etc/default/hddtemp

hddtemp network daemon switch. If set to true, hddtemp will listen for incoming connections.

set RUN_DAEMON="false" => RUN_DAEMON="true"
:wq

then 'service hddtemp restart/start'
it works on my ubuntu 16.04 laptop

from conky.

Tucos avatar Tucos commented on May 18, 2024

Usually it helps to see whether conky mentions anything relevant on stderr (i.e. run it in a terminal and see what it says). I believe using netcat would pretty much do the same thing conky does, so can you see if nc 127.0.0.1 7634 yields some result?

from conky.

andoruB avatar andoruB commented on May 18, 2024

I did run it from terminal, and it reports what I said in the thread title, sorry for not specifying it.
I tried to run netcat, and it gave me this:
(UNKNOWN) [127.0.0.1] 7634 (?) : Connection refused

After running:
$hddtemp -d /dev/sda

Netcat gave me the temperature and model name of the first HDD, but when I would do:
$hddtemp -d /dev/sdb
It would still show me details about the first HDD which is weird.
Doing
$ hddtemp /dev/sd[ab]
However will report the correct data on both HDDs, so there might be something wrong with the daemon. I've triple checked, the hddtemp config file is set to run as a daemon, permissions are set correctly, I tried to restart the daemon countless of times, but it still won't work.

from conky.

Tucos avatar Tucos commented on May 18, 2024

I don't think hddtemp /dev/sdb would talk to the daemon and I'm not sure
specifying a disk in combination with -d does what one would expect. So
just to be sure it's actually running as daemon and listening on the port,
does ss -tnlp (or netstat -tnlp if you don't have iproute2) show hddtemp? If
so, what address and port?

from conky.

andoruB avatar andoruB commented on May 18, 2024

Nope, strangely hddtemp does not pop up, the configuration file is set for hddtemp to run as a daemon, even tried to do invoke-rc.d restart hddtemp after modifying the config file. I really have no idea why it's not working, but it's clear that it's not a conky issue.

from conky.

Ovnuniarchos avatar Ovnuniarchos commented on May 18, 2024

Check that hddtemp is still running. In the latest Debian, it sometimes shuts down itsel (confirmed bug), thus Conky can't access it.

from conky.

lasers avatar lasers commented on May 18, 2024

Chalking this up as an odd case and move on. Also, ${hddtemp /dev/sda} work okay for me.

from conky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.