init the master raet port