Most airlines don’t have web access. I think some Lufthansa business class flights do, but still very rare.
I bring a book that is not too serious, but not complete fluff. I also bring some heftier magazines, and then some outright cheesy reading. I find it really helps to be able to jump around topics so I don’t get too bored with any one book or magazine.
I also find game, crossword puzzles, etc. help. Anything that is engrossing enough that I can forget the passage of time and zone out.
For long flights I stay up really late the night before so that I sleep on the plane. My goal is just to minimize the experience.