detect when device connected using ethernet