add port mapping for wr1043 v2
disallow dot in hostname - it is not displayed on the console, so we probably should not allow it