Use more than current time when seeding pseudo random number generator. https://bugzilla.redhat.com/show_bug.cgi?id=520268 diff -pruN macchanger-1.5.0.orig/src/main.c macchanger-1.5.0/src/main.c --- macchanger-1.5.0.orig/src/main.c 2004-02-04 14:38:11.000000000 +0100 +++ macchanger-1.5.0/src/main.c 2009-09-02 19:35:56.000000000 +0200 @@ -32,6 +32,9 @@ #include <getopt.h> #include <stdlib.h> +#include <unistd.h> +#include <sys/types.h> + #include "mac.h" #include "maclist.h" #include "netinfo.h" @@ -174,7 +177,7 @@ main (int argc, char *argv[]) device_name = argv[optind]; - srandom(time(NULL)); + srandom(getpid() * time(NULL)); /* Read the MAC */ if ((net = mc_net_info_new(device_name)) == NULL) exit(1);