Forum Replies Created
-
AuthorPosts
-
johnnytheswede
MemberHi again, i just realized that the correct way was to add my user to the dialout group, not it all works smoothly! Thank you for all your input, it think this thread now contains a lot of valuable info, i hope others can use it too.
Kindest regards
Johnnyjohnnytheswede
MemberThank you for your responses, i found the config file and selected /dev/TrueRNG as the device and it seems to be working fine now in this way, however, there seems to be one more move necessary for it to work, to get permission to read from /dev/TrueRNG i have to do, as root
chmod a+r /dev/ttyACM0i kind of feel fine with this, but are there any comments around this? In the future i plan to suid a certain process that does an
execlp("/bin/sh","/bin/sh","-c","chmod a+r /dev/ttyACM0",NULL);in a child process, but that feels a bit heavy-weight, is there any way to get the reading permissions on /dev/ttyACM0 to be persistently granted?
Kindest regards
-
This reply was modified 8 years, 7 months ago by
johnnytheswede.
johnnytheswede
MemberThank you very much for your prompt reply. I have solved the problem, but i opted for a slightly different version, i know i have seen the config file *somewhere* but it was not at /etc/conf.d/, anyhow i added another symlink in /dev:
lrwxrwxrwx 1 root root 7 Apr 4 19:10 /dev/hwrng -> TrueRNGwhich solved the problem, i can now read from /dev/TrueRNG with dd. (I have not checked what i receive but if there are more problems, i’ll get back.)
However, if anyone knows where the config file for rng-tools in Debian, i’d be happy to know so that in future tweaks, i’l be at the right place.
Kindest regards
Johnny-
This reply was modified 8 years, 7 months ago by
johnnytheswede.
-
This reply was modified 8 years, 7 months ago by
-
AuthorPosts
