This is a people problem, not a technology problem. Talk to your roommate.
Frankly, if I had a roommate and he maliciously cut off my internet access like you want to do, there would be words exchanged, and then probably fists exchanged. Presumably he's paying for his share of that internet service as well.