As we have learned, a person may not lay tefillin while it is still dark outside. There is a concern that he may fall asleep and will not maintain the bodily cleanliness necessary for tefillin. One who will be setting out on a trip early in the morning and will not be able to put on tefillin while traveling may put them on before he leaves. A brocha should not be said. When it becomes light, he should touch his tefillin and recite the brochos. This leniency only applies to one who is traveling by foot, since there is no concern of falling asleep while walking. If, however, one is traveling while seated (e.g. in a bus, train or wagon), the concern of falling asleep is still relevant and it is forbidden to lay tefillin while it is still dark.
[שו"ע ל, ג, משנ"ב י-יד, וביה"ל ד"ה וכשיגיע, ושם, ד, ד"ה היה]