add ping and etherwake support