Almost every smartphone (and tablet) has the well-known "flight mode". The function got its name from its original purpose: Because to prevent (too many) devices within an aircraft from interfering ...
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, ...