If your computer doesn't have built-in Wi-Fi or an ethernet port, or if those connections aren't working properly, you're not stuck without internet. USB ports offer multiple ways to get online, ...
If your USB peripheral is on the fritz, it's worth doing some troubleshooting with the port itself. Give these steps a try.