I'm in that situation right now, except my boyfriend is at school. I live three and a half hours away from where he's going to school. It is definitely a hard situation, but you can make it through this. nwlinkvxd and I see each other every other weekend. It was difficult because I like it when he's home (since I'm terrified of driving and he's not. Plus, I didn't go to senior prom because I wanted to go with him, but he was taking a final exam that day), as I'm sure you do too. But like maleficent said, find something you like to do. Hang out with friends and discover something new about yourself.
PS: We've been dating for a year and three months, so I am just as committed as you are to your man.
PPS: We were only dating three months when he left for school the first time. He came home this summer and just left a couple days ago for school a second time. We have two-three more years of this, and then finally we can get married.