how to check tun device working?