Someone once told me that "boredom is a state of mind" and I am the only one who can change that. It's true. I can't remember the last time I was bored. I enjoy my own company, am comfortable with myself as well as others, and sometimes I just like to visit with me. I don't call it boredom, though. I call it re-charging my batteries.
As one answer said, "Accept it." I would go farther and say accept and embrace it - own it - make it yours. Before you know it, you have this inner dialogue going about boredom and you're smiling, because you are no longer bored!
I also read a lot and have a book handy at all times. I sew, quilt, design quilts, write (for myself) and facebook with my family. There aren't enough hours in the day for me to get bored.
I remember when I didn't have a cell phone, computer, and many other gadgets that I take for granted now. I haunted the public library, where I discovered treasures, both in written form and in the form of friendships with like-minded people.