Fixed nullpointer without ethernet connection. #36