Setup data before changing ip