LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-01-2005, 09:10 PM   #1
Elric of Grans
Member
 
Registered: May 2005
Posts: 46

Rep: Reputation: 15
/dev/(u)random not returning anything...


G'Day,

I just noticed when I tried to install dropbears that /dev/random and /dev/urandom seem to be slacking a little on me. The dropbearkey program reported that it could not use /dev/random, and when I try to cat /dev/urandom, nothing is returned --- I have to ^C out of it.

Is there something I need to select in kernel, or something along those lines, before these devices work?
 
Old 09-02-2005, 01:12 AM   #2
Elric of Grans
Member
 
Registered: May 2005
Posts: 46

Original Poster
Rep: Reputation: 15
I have been reading about /dev/random, and taken a look around my kernel, and discovered that the problem is I lack any sources of entropy. I have tried adding some, but so far it does not seem to be doing anything --- I shall continue playing around with that for a while.

I have since noticed another problem, and I would hate to start another thread for it. I used to make a ramdisk for /tmp/, however, it does not seem to be creating it any more. I noticed the problem when I tried adding some entropy to my kernel, but even after reverting things to how they were before, I do not see a change (so it was not likely caused by that).

Here's what I am getting:
# mke2fs /dev/ram0
mke2fs 1.38 (30-Jun-2005)

It just hangs at that point now: no errors, it does not die out at any point. I just ^C after a while, and it exits. The only thing I have done between it working and trying to add entropy was install a ssh server, but I have serious doubts that could have done anything --- it's not even running yet!

Any suggestions would be most welcome, as this one it really beginning to give me a headache!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running out of entropy & /dev/random reads are blocking slacky Linux - General 1 06-15-2005 09:53 PM
Creating random numbers from shell with /dev/random khermans Linux - General 1 07-13-2004 12:12 PM
doubt in dev/random varala_kanth Linux - Software 0 07-06-2004 07:01 AM
using /dev/(u)random for seed ? PTBmilo Programming 2 04-15-2003 01:19 AM
Making a dev/random ??? ifm Linux - Newbie 3 06-12-2002 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration