changed to hwaddrgen.c