you've really gotta isolate yourself from distractions. go somewhere where you know you will get work done. thats the hardest part.
i also just pulled this off a cnn article, found it pretty alarming:
Don't be a slave to technology: In more than 80 clinical trials, Dr. Glenn Wilson, a psychiatrist at King's College London University, found that workers distracted by phone calls, e-mails and text messages suffer a greater loss of IQ than if they'd smoked marijuana.
The IQ of those juggling messages and work fell by an average of 10 points -- equivalent to missing a whole night's sleep and more than double the four-point fall seen after smoking pot. The drop in IQ was even more significant in men.
To keep sharp, resist the urge to check messages continually. Instead, schedule blocks of time throughout the day to retrieve and respond to them.
as for the motivation, you just gotta kick yourself in the ass sometimes. remember, you're in school to go to class and handle your classes. so make sure thats somewhere near the top of your priority list. you pay something like 40 bucks for each class you go to (higher at private colleges).
-mota