How is 1-propoxy propane synthesised from propan-1-ol ? Write the mechanism of this reaction

Two methods can be employed for this preparation: