Are you able to wath TV? Then watch something, that is even more boring, so you feel running on a treadmill as interesting ;-)
Or better, watch something interesting. For me, running in a treatmill in the gym is the only possibility for watching german fottball, so I can run for 90 minutes, inkl. ads.
Without, I just can go for a warm up.