General :: Point /dev/random To /dev/urandom

Jul 12, 2011

I have a server that cannot generate enough entropy to support /dev/random. The particular piece of software having problems can't be configured to use /dev/urandom.

I tried moving /dev/random to /dev/realrandom and symlinking /dev/random to /dev/urandom, but lsof /dev/realrandom still shows processes using it.

In Does urandom share the same entropy of random?, the suggestion is to use mknod /dev/random 1 9. Will this hold across restarts? Should I be using udev somehow?

View 3 Replies


ADVERTISEMENT

General :: Does 'urandom' Share The Same Entropy Of 'random'

Jun 10, 2010

Does the entropy pool /dev/random used the same to /dev/urandom?

I want to

mknod /dev/random 1 9

to replace the slow random, I think the current entropy is randomly enough, if urandom is based on the same entropy, and all succeed random numbers are generated based on that entropy, I don't think there'll be any vulnerable.

View 2 Replies View Related

Ubuntu :: Cannot Remove 'var/lib/urandom/random-seed' : Read-only File System

Nov 11, 2010

rm: cannot remove 'var/lib/urandom/random-seed' : read-only file system this is what i get every time i try to boot. right now im in the live cd looking for the read-only system so i can remove it but i cant seem to find it mounted any where the only system i see besides my two hdds is /dev/loop0 and i cant do anythign with the drive because its busy

View 3 Replies View Related

Slackware :: Startup Hang After "Using /etc/random-seed To Initialize /dev/urandom"?

Feb 19, 2010

I recently tried to upgrade from 2.6.23 to 2.6.32 but kept on getting VFS errors. I had overwritten the old 2.6.23 kernel so there was no going back. Luckily,I had the 2.4.31 kernel still in the /boot directory.

Anyway, I finally got some time to figure out the VFS issues and I managed to solve the VFS kernel panics. It was probably a forgotten configuration setting during the make menuconfig. Now it boots up only to hang right after the "Using /etc/random-seed to initialize /dev/urandom".

Looking at the rc.S script, the next section does the dd if=/dev/urandom of=/etc/random-seed count=1 ...

I know for a fact that it isn't that line that hangs the system. I commented out that line and it still hangs.

Strange thing is that I can boot up 2.4.31 with no problem; but with 2.6.x, I get a hang-up. I did a google and came up with something about rc.udev.new, which I don't have.

Can someone point out to me what is executed right after/etc/rc.d/rc.S? Or maybe point out where it might
be hanging? (To be honest, it's either a hang up or a process that's taking an extraordinary long time to
run.)

View 5 Replies View Related

Ubuntu Servers :: Apache2 - Downloads Of Media Files From My Server Stop At Random Point

Nov 27, 2010

I'm having a very strange problem with my ubuntu apache2 server running wordpress. i want do download media files (from within a flash-mp3-player onsite or by link [url]) but the file transfer just stops after a while. (at least sometimes) at random positions. after that i have to clear the browsers cache and try again.

It is really annoying, though it is my band's website and we want to share our songs with our friends. i checked from several clients, seems to happen everywhere (linux, mac or windows clients)

The system:

Code:

With wget it seems to work...

View 4 Replies View Related

Slackware :: Check Proccess Status With /dev/urandom?

Feb 24, 2011

dd is wiping part of the hard drive( 270GB partition ) with /dev/urandom for quite some hours, is there anyway to check the proccess? like speed of the process etc., I read someone doing that with another drive while having access to other terminal because of the system, but since this is directly from the install dvd, I've no clue if there's anyway to do that or not. I'm asking that mainly because:

1) I prefer run things with some kind of verbose mode

2) I accentaly opened the dvd driver (yes I know, but I forgot the install dvd was inside of it), but I closed it right after it, no errors, but it may have stopped working and has just the _ clicking?

View 14 Replies View Related

Fedora Security :: Swap Encryption /dev/urandom Doesn't Work

Sep 8, 2010

I like to encrypt my swap and tmp partition with /dev/urandom but it doesn't work. I tried it 100 times and now I have no idea.

Code:
cat /etc/crypttab
swap /dev/sda3 /dev/urandom swap,cipher=aes-cbc-essiv:sha256
cat /etc/fstab
/dev/mapper/swapswapswapdefaults0 0

If I reboot I get the message "/dev/mapper/swap" doesn't exist. It seems, that crypsetup doesn't setting up the encrypted block device. SElinux is in permissive mode.

View 7 Replies View Related

Ubuntu Networking :: Point To Point Tunneling Server Connection Errors?

Mar 28, 2011

I recently installed the pptpd server on my system and set it up according to these instructions:HTML Code[URL]t=132029However after setting everything up on attempting to connect to it from a windows machine (windows 7 home premium to be specific) it gives me two errors which are 720 and 800...It reaches "registering your computer on the network" fine and then gives 720 on the first attempt to connect and then 800 on the second attempt to connect...and then on the third 720 and 4th 800 and so on..My system running the server's I.P is 192.168.1.70My system running the windows OS trying to connects I.P is: 192.168.1.66

View 2 Replies View Related

Ubuntu Multimedia :: Copy Random Jpg From Random Folder

Jan 19, 2010

I'm looking for a script that copies a random .jpg from a random folder in my ~/Pictures folder to my ~/temp folder with a standard filename. This file will then be displayed in Conky. I can fix the last part, but I cannot find a way to do the first part.

View 3 Replies View Related

Networking :: Policy Routing Using Two Point-to-point Links?

Aug 27, 2009

This one has been driving me nuts for some days now:My Gentoo box which is acting as an internet gateway has two point-to-point interfaces, ppp0 (PPPoE to my ISP) and ppp1 (PPTP VPN link to IPREDator). Packets from my local network are just routed through ppp0 and now the fun part starts: I want to MARK (netfilter...) all packets originating from one specific user on that box in order to use another routing table that will contain a default route via the ppp1 interface.Marking seems to work fine as does the second routing table. But quite mysteriously (at least for me), the packets sent out on ppp1 contain the wrong source IP address, namely the address associated with ppp0.So here is what ifconfig and friends tell me:Network interfaces:

Code:
# ifconfig ppp0
ppp0 Protokoll:Punkt-zu-Punkt Verbindung

[code]...

View 9 Replies View Related

Ubuntu Networking :: Point To Point (ad-hoc) SSH Over USB Or Ethernet?

Jun 3, 2010

I was wondering if there is any way to SSH from one computer to another and completely bypass a router or any other network infrastructure. The reason I ask is because my robot ( same one in this post ) often needs to change which wireless network it automatically connects to, however it is getting annoying to have to drag out a monitor and plug it in along with a keyboard and mouse every time this needs to happen. Instead I'd much rather just plug my laptop into the other computer, SSH in and change the network myself.

So I thought I would ask you kind people if this is possible. The robot's computer has unused ethernet and USB ports, and I'd like to use those if at all possible (and with linux, anything is possible! -- sorta). I thought about doing something with ad-hoc, but this would limit my range (in infrastructure mode I can control the thing anywhere there is internet), and is to be avoided.

View 1 Replies View Related

General :: Random Numbers Between -5.0 To +5.0?

May 25, 2010

How to create random numbers between -5.0 to +5.0

View 12 Replies View Related

General :: Point Sub-domain To Another URL?

Jan 7, 2010

How do I configure Apache 2 to listen to requests for a sub-domain (intranet.digity.com) and point automatically to a URL its a different web server on the same machine)??Keep in mind I still want to still point to the Apache 2 server (port 80), which they currently do.

View 1 Replies View Related

General :: Use RANDOM Number In Procmailrc?

May 2, 2011

I want to generate random name for email file name to prevent overwriting but $RANDOM ENV VARs does not work in it what can I do? this is my procmailrc:

Quote:

SHELL=/bin/bash
SUBJECT=`formail -xSubject:`
FROM=`formail -xFrom:`
SUBJECT=`echo $SUBJECT | sed -e 's/ /-/g'`
FROM=`echo $FROM | sed -e 's/.*<//g' | sed -e 's/>//g' | sed -e 's/@/AT/g'`
STOREFILE=20`date +%y-%m-%d_%H-%M-%S`_${FROM}_${SUBJECT}_${RANDOM}${RAMDOM}

it works fine except ${RANDOM}${RAMDOM} and I do not want to use mktemp command .

View 8 Replies View Related

General :: Generate Random Number Either 1 Or 0?

Jan 21, 2010

Not only that but I need tons and tons of them generated, and I need it to be totally random each time.

Code:
matthew@mvm:/h/misc> cat a
#!/bin/bash
for i in {1..5}; do
echo $RANDOM

[Code]....

There you can see that it is the same number. It does that every time!! Grrr. The strange thing is each time I manually type [or copy & paste] it into the terminal, it gives random [not static, like I am getting from my script] results.

The reason I want this is because I am making a script where this line will randomly go up or down [depending on if the random number is 1 or 0].

View 4 Replies View Related

General :: Random System Freeze ?

Mar 2, 2010

I'm running Fedora 12 with GNOME on an old Toshiba Satellite A15. From time to time I get a system freeze, where everything stops working besides the touch pad (I can move the cursor, just can't click on anything). When I boot up, I see an error message that it skips past before I can read anything, although I have spotted the snippets 'pci' 'error' and what appears to be the 0x at the start of a memory address. When I try and shut down the system (going either by command line or the System->Shut Down part), I get to the part where it says "Unmounting filesystems..." and then it stops right there. When I boot it back up, I get an error that says "A crash in package kernel has been detected."

The same happens when I boot up after the hard freeze. It seems more frequent when I have a heavy load on system memory, but for the most part it seems random. I've seen it crash after 5 minutes with only Pidgin or gedit open, I've seen it run for weeks with over 100 Firefox tabs, Pidgin, 3 documents, and GIMP running, but it seems more likely in the second scenario. It also seems to have a chance of freezing again within 5 minutes of rebooting (even if I don't touch anything after login). I ran Fedora 8 and Fedora 10 on this computer just fine, with most of the same system settings (copied my /home folder for each upgrade). I have a dual-boot system (XP/Fedora), with a third partition for data and a 200MB partition for the boot loader. The partition with Fedora is encrypted, and the crashing while trying to unmount the filesystem implies to me that might be the problem, but whatever it is, it wasn't in Fedora 8 or 10 (at least as far as I could tell).

View 4 Replies View Related

General :: A Point In Syntax In GNU Programs?

Jun 18, 2011

For some commands the command synopsis (syntax) is given like this:

command [a|b] [args ...]

I take mplayer (perhaps not GNU) to illustrate the point:

mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]
mplayer [dvd|dvdnav]://[title|[start_title]-end_title] [options]

An item inside square brackets is optional. The pipe sign is the 'or' logical connective (disjunction). But then, what is [cdda|cddb]?
If optional, I can omit it: it makes no sense because there are more the one possible synopsis for the command line.

View 7 Replies View Related

General :: Creating A VM Access Point?

Jul 9, 2011

Is it possible to run a Linux AP using a VM with a USB adapter passed through to it?

What distro should I try? Is there a Live CD with hostapd pre installed?

View 1 Replies View Related

General :: How To Point Postfix To Nagios

Jan 6, 2011

setting up Nagios which I have done quite easily, I have only one concern I am not able to setup email Notification from Postfix. I am able to send and receive mails from Postfix internally, I just need to know how to setup Postfix i.e point the server to get NAgios Notification.

View 8 Replies View Related

General :: Any Way To Point Apache To IP Address?

Apr 4, 2011

I want to point my apache to ip address. Before this I point it to my /var/www/spec and I want to change it to ip address. So that when I enter my ip address my script code will appear.

View 1 Replies View Related

General :: What Is The Starting Point Of The Kernel?

Oct 5, 2010

OK, I have been a lifelong windows programmer and user. I started using the Linux OS as my primary desktop OS a few months ago. I decided it would be a good time to focus on programming more for linux than windows.I have downloaded the source code of the Linux kernel. and to avoid me waisting time figuring this out on my own I would like someone to answer me this question.

what is the starting point of the kernel, which file(usually a main.c file)contains the very first line of code executed when the boot-loader starts Linux.

View 4 Replies View Related

General :: Creating Random Large Files?

Aug 27, 2010

how I can randomly write / create a 1 GB file in bash to test disk / network i/o? I was told I could use the 'dd' command but I don't know if there are some better ways and or what the 'dd' command looks like.

View 7 Replies View Related

General :: Random Drives Corrupt GTP Table?

Jan 30, 2011

I have several drives in an LVM VG/LV and for some reason on reboot, a drive will get a corrupt GTP table. I have killed the entire VG and re-created it without the drive that was showing the problem, then then it just happens to another drive. It does not appear to be the same drive each time either. I've confirmed this by using smartctl to check the SN of the drive reporting a corrupted table. It's not always the same drive.

I have swapped around cables to the two controllers to see if I could pin-point which cable or port showed the problem and long story short, there was little consistency in it. This simply does not appear to be caused by any single cable, port, controller, or drive.

Code:

parted /dev/sdb print
Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
OK/Cancel?

When I see that and select Ok, it just shows it again. I can do an mklabel and mkpart, then the LVM LV shows up under /dev as it should, without another vgscan. If I then mount that LV, I can see the data is there and it seems Ok despite the warning of mklabel saying it will destroy the data. Logs show no cause during boot. So, what is causing this? Will doing the mklabel kill the data on it? I just don't understand why Ubuntu is randomly corrupting GTP tables.

Code:

Ubuntu 10.10 x64
Mobo: ASUS A8N-SLI - On board NVIDIA nforce4-SLI controller has 4 ports connected to 3 drives in this LVM LV.
HighPoint Technologies, Inc. RocketRAID 230x 4 Port SATA-II Controller - Has 4 ports, 3 of which are used in the LVM LV. (Had 4, one is out with an RMA).

[code].....

View 17 Replies View Related

General :: Random Keyboard Pseudo-failure?

Jan 9, 2011

Occasionally when I start typing into a text box, it will not enter text until I go to another window or text box and click back in. This seems to happen at random without any pattern or to any specific applications more than others. I can still use alt-tab and similar commands, so I know it's not the hardware. I am running Ubuntu 10.04 Lucid Lynx using a Microsoft Multimedia keyboard and I am running SCIM for Japanese input, but I almost always have it set to English, and it can be set t

View 12 Replies View Related

General :: Rename Command Using Random Variables?

Apr 14, 2010

I'm trying to clean up some files and I've been using the rename command as its the easiest way I've found to do it. One problem I've found is that on a couple of batches of files they have a set random numbers on them which I need to remove.

Only problem is I can't find a way for rename to "lock" onto those numbers to remove them. The file name structure is something like this:

file name[random numbers].extension

There are brackets around the numbers as well which I'm not sure will help or not.

View 1 Replies View Related

General :: Get Assigned Ip From Server It Does Not Get Ip Instead Random Ip Is Provided?

Apr 26, 2010

when i assign ip manually to a machine it gets ping by server and it also itself pings server but when i chose to use client machine as dhcp , so that it can directly get assigned ip from server, it does not get ip, instead random ip is provided which is out of range specified at server side in /etc/dhcpd.conf file.

View 2 Replies View Related

General :: Random Evolution - Cannot View Inbox?

Jan 7, 2011

I wouldn't have a lot of time for repairing my laptop and until now Ubuntu has been flawless. When I open evolution sometimes i cannot view my inbox? although I can view my other folders of which i have about 8 or 9. I suspect this is an issue with the storage folder for my inbox, but where would i find it?

View 1 Replies View Related

General :: What Is The Default Mount Point On Systems

Feb 23, 2010

Is the mount point for external media (like USB) always /media?

Because in a Debian system, if I plug in any USB device that goes to the /media folder. So is it the case with all the other Linux flavors like Fedora, Ubuntu, etc. If a USB device is automatically mounted will it always go to the /media directory?

I am not concerned about the name of the devices. I am looking for every external media (like USB) to be listed under /media directory so that my code can run on any flavor of Linux.

View 1 Replies View Related

General :: Move Mount Point To New RAID Set

Dec 3, 2010

I have a CentOS 5 production server with multiple OS-managed RAID-1 sets. I'd like to add a new mirrored set and move the /var partition to the new drives. On a non-RAID system I would boot from the install CD to edit fstab and copy the existing files to the new drive, but I'm pretty sure booting off the install CD does not recognize my RAID setup.

View 2 Replies View Related

General :: Create A Restore Point In Ubuntu?

Jan 22, 2011

Like Time Machine in Mac OS X. Is it possible?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved