Since I work on one laptop and can't turn wifi off (IM w/ distributed workmates), PG's trick doesn't apply to me.
However I find simply separating work/fun applications has helped me work more efficiently and reduce distractions.
For examples: I switched to NetNewsWire from Google Reader. And I use Safari only for work and Firefox for general browsing. Trick is to keep the non-work applications turned off while working.