See also command lines it is tedious to remember for general unix/osx/BSD commands. This was split off from general OSX hacks.
Not consuming all your bandwidth when you do that tether thing with your phone
Every time you plug your laptop into you phone it slurps down gigabytes of stuff and exhausts your mobile quota?
The only solution I know for this is to create a custom rules in little snitch, which is nominally privacy software, but is actually more generally useful. go into little snitch and create a “profile” called “low bandwidth” which prevents e.g. your Droppantsbox or Ogle Drive or Owncloud or MEGA file syncing software from accessing the internet when you are in a “low bandwidth” situation. Remembering to switch now…
Maybe also automate settings based on location using Controlplane.app?
Anyway, if you do this diligently, it might maybe help with the next less clear problem
Surviving horribly bad internet connections
You don’t live in San Francisco? Don’t worry, these and other deficiencies of the differently bandwidthed are no longer debilitating in modern society.
Switch your wifi off an on again, detailed version
Turn off wifi on your macbook from the Mac OSX terminal command line:
networksetup -setairportpower en0 off Turn on wifi on your macbook from the Mac OSX terminal command line:
networksetup -setairportpower en0 on List available wifi networks from the Mac OSX terminal command line:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport scan Join a wifi network from the Mac OSX terminal command line:
networksetup -setairportnetwork en0 WIFI_SSID_I_WANT_TO_JOIN WIFI_PASSWORD Find your network interface name:
I’m just kidding, you’re still fucked; The hanging network connections of shitty Indonesian broadband will still bring your OS down eventually. Apply for a Californian visa, even a temporary one, just until the singularity arrives and you ascend into digital heaven drinking kombucha with George Lucas in the back of his convertible, and livestream the whole thing on youtube without pausing to buffer.
Apparently the bandwidth is also good in South Korea, but you’ll probably need a different ride.
If you are a developer, try to develop without broadband to test your users’ experiences:
Why does it take a million years for Finder to open local files when you are are on a tenuous Indonesian network connection?
I don’t know but this is just one of the many nasty side-effects of unreliable network connections; If your nasty ISP drops enough packets there are a whole bunch of ways that your computer will DOS itself into the ground, because it is a state alien to Apple engineers.
Here are some potential workarounds:
sudo vi /etc/auto_master
In this file comment out /net:
sudo automount -vc