use hostname setting when in captive mode