A protocol to detect and automate mode locking in a pre-adjusted nonlinear polarization rotation fiber laser is presented. The detection of a sudden change in the output polarization state when mode locking occurs is used to command the alignment of an intra-cavity polarization controller in order to find mode-locking conditions.