Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1287
    Anonymous
    Inactive

    I’m having difficulty using TrueRNG with FreeBSD 10 on one of my servers.
    The kernel recognizes the device, but when I try to use DD or other programs
    to read from the device, it will read a few (tens to hundreds) of byte then
    return EOF.

    Does anyone know of a work around or fix?

    #1289
    Ubld.it Staff
    Moderator

    What I think is going on here is the tty mode, for Linux we’re using a udev.d script that changes the term to RAW mode (using the stty command, e.g. stty /dev/ttyACM0 raw).
    Try to do these steps manually for now and see if you have the same issue.
    “/bin/stty raw -echo -ixoff -F /dev/insertTTYdevicenamehere”
    It looks like we should be able to automate this with devd (appears to be closest thing to udevd in FreeBSD).

    #1293
    Anonymous
    Inactive

    I was having this exact same issue on both linux (multiple distributions) and OSX. Reading from dd would only read a few bytes and then quit. Running the raw command above solved the problem. I did not run the udev script before trying to read directly with DD, which obviously caused the problem. Perhaps this should be in the FAQ or manual. Thanks!

    #1295
    Ubld.it Staff
    Moderator

    Good idea, I’ll add it to the FAQ page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.