Home Forums TrueRNG Hardware random number generator Ubuntu 16.10 udev fix

This topic contains 1 reply, has 2 voices, and was last updated by  Ubld.it Staff 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2046

    Cryptofriend
    Member

    Hey everyone. I noticed that your Ubuntu udev rules won’t work on Ubuntu 16.10.

    sudo stty -F /dev/TrueRNG
    speed 9600 baud; line = 0;
    -brkint -imaxbel
    

    I noticed that Ubuntu for some reason doesn’t recognize your variable /dev/%k .

    stty -echoe -echok -F /dev/%k raw
    stty: /dev/%k: No such file or directory

    The fix is very easy. Simply replace the /dev/%k with /dev/TrueRNG in the udev rules and everything works out just fine:

    sudo stty -F /dev/TrueRNG
    speed 3000000 baud; line = 0;
    min = 1; time = 0;
    -brkint -icrnl -imaxbel
    -opost
    -isig -icanon -echo

    I hope this was useful to you and you will update the udev rules soon.

    #2047

    Ubld.it Staff
    Moderator

    Odd, it used to work. %k evaluates to kernel name like ttyACM0. I’ll look into this. Thanks for letting us know, something must have changed with newer udev.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.