Hot answers tagged

128

For keeping the connection alive, you can check in /etc/ssh/ssh_config the line where it says ServerAliveInterval, that tells you how often (in seconds) your computer is gonna send a null packet to keep the connection alive. If you have a 0 in there that indicates that your computer is not trying to keep the connection alive (it is disabled), otherwise it ...


82

From the Apple Support database article regarding network connection priority: If you connect to the Internet or a network in several different ways (using Wi-Fi or Ethernet, for example), you can change the order of the network port configurations your computer tries when connecting to the Internet or network. If there are multiple active ...


74

Do the following: Find out what the network interface is for your wifi. Mine is "en1" for this example (I have obfuscated my MAC addresses with "00") ifconfig en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:00:00:00:00:00 inet6 0000::000:0000:0000:0000%en1 prefixlen 64 scopeid 0x5 inet 10.0.1.16 netmask 0xffffff00 ...


72

It's in your Network Preferences. Here's screen shots from 10.7.3. Access the settings from the gear at the bottom of the network type sidebar. Choose "Set Service Order..." to drag them into the preferred order.


64

When you're connected to the Wi-Fi network, hold down option and click the Wi-Fi icon in the OS X menubar. You'll see additional details about your connection, including one item labelled PHY Mode:. That will show you whether you're connected via 802.11ac, n, g, etc. There's also a Channel: entry that tells you the radio frequency and channel.


59

Just found this Disable Captive Network Support in OS X Which mentions "To disable it, set this preference:" sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false In case, you would ever want to remove this setting, you can do: sudo defaults delete /Library/Preferences/SystemConfiguration/com.apple....


48

1) If you have a Mac connected to the same network, you can find the stored password in it's Keychain using the Keychain Access app (link) 2) If the router is an Apple Airport based device, you may be able to log straight into it via Airport Utility (available on Mac and iOS) to see the password at source 3) If you are on iOS7, then you can use iCloud ...


43

You can change the system preferences for JoinMode and JoinModeFallback to be the following: JoinMode (String) Automatic Preferred Ranked Recent Strongest JoinModeFallback (String) Prompt JoinOpen KeepLooking DoNothing Do this using the airport command: /System/Library/...


38

In short: you can not force a frequency band in OS X 10.9 Mavericks. (On 10.5 you can...) You want to connect to the device using Basic service set identification (BSSID) instead of regular Service set identification (SSID). Connecting to a BBSID will connect you to a specific device regardless of the connection strength. Connecting to SSID will connect you ...


36

ifconfig gives information about all interfaces, including WLAN. The WLAN interface is usually en1. $ ifconfig en1 en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 20:c9:d0:97:22:e9 inet6 fe80::22c9:d0ff:fe97:22e9%en1 prefixlen 64 scopeid 0x5 inet 192.168.1.137 netmask 0xffffff00 broadcast 192.168....


33

Sure. Just go to System Preferences/Network, select Wifi and click Advanced. A list with all the Wifi networks you've been connected to will appear. Just rearrange the connection order (the ones you'd like to connect first on top) by drag-dropping. Also, delete any unwanted network SSID (network names) if you no longer want to auto-join that.


33

for me this trick always worked - even on the iphone! Browse directly to the log in screen: http://captive.apple.com/hotspot-detect.html


32

Updates released 31 October 2017 Apple has released updates that include a fix for the KRACK vulnerability for macOS, iOS, tvOS and watchOS. To get the updates: macOS High Sierra 10.13.1 and security updates for Sierra & El Capitan - Launch the App Store and select the Updates tab. iOS 11.1 - Go to Settings > General > Software Update watchOS 4.1 - ...


31

Had the same problem in my Macbook(15") pro running 10.9.4. I wanted my Mac to be locked while I was away (so configured hot corners) but at the same time did not want it to sleep (irrespective of whether it is connected to power or not) so that my wifi will be "ON" always for my jabber & mails. So here's what I did to prevent Mac from sleeping: Open ...


30

Go to Spotlight (magnifying glass in top corner) / Finder > Activity Monitor Search for SystemUIServer in CPU tab using the search bar located at top right corner Force quit it


28

You can rename /System/Library/CoreServices/Captive Network Assistant.app into /System/Library/CoreServices/No More Captive Network Assistant.app and you're all set. Password entering now goes via your browser of choice and can be stored using 1password or other plugins. Note that if you were already logged in while doing the renaming, it may take ...


28

If your Mac enters its full sleep state, then your network connections will be disconnected. Your Mac can not be connected to a WiFi network and be asleep at the same time. You can avoid full sleep by setting your Computer Sleep to Never. Your MacBook will then sleep all the sub-systems possible when idle, but will remain awake enough to maintain a WiFi ...


27

Unfortunately, on the iPhone it is not possible to access this information. The passwords are kept on your phone in a safe place that is not accessible through any regular means on the phone. This is done for your protection, if you were to lose your iPhone and someone picked it up, the passwords that are stored on it would be up for grabs. This would ...


27

AirDrop uses Bluetooth to create a peer-to-peer Wi-Fi network between the devices. Each device creates a firewall around the connection and files are sent encrypted, which actually makes it safer than transferring via email. AirDrop will automatically detect nearby supported devices, and the devices only need to be close enough to establish a good Wi-Fi ...


27

Found a solution! If you get a similar problem like this one: The solution is to visit the following URL directly from Safari: http://captive.apple.com/hotspot-detect.html You should be able to connect immediately. For some reason, Mojave is not redirecting or opening that page properly, hence the error.


26

I was having a similiar issue with 10.10.3 which was not corrected when I updated to 10.10.4. Many, many things were tried before I got it to stay connected to WiFi reliably, however deleting the networking PLIST files seems to be what finally did it. The Fix: Disable WiFi Open Finder Press Cmd+Shft+G to go to the folder /Library/Preferences/...


26

You can select the preferred connection in System Preferences -> Network. Then use the Gear-Icon and select "Set Service Order...". Your system will then prioritize the connection at the first position.


25

You can: Configure your system, system-wide, for all connections By editing: /etc/ssh/ssh_config And add the line: ServerAliveInterval 10 Or, per-server ~/.ssh/config Host keepsdroppingme.com ServerAliveInterval 10 What this basically does it sends keep alive packet, every 10 seconds...


25

I had this problem connecting to the local public library system network. The problem seems to be a result of my having specified DNS servers ((i.e. OpenDNS, Google, etc.)) in my Network preferences. The solution was to create a network location called "No DNS" which doesn't have any DNS servers defined and use that network location when I need to log into ...


25

Bluetooth and IEEE 802.11/b/g/n (WIFI) use almost the same frequency bands: Bluetooth: 2.402 - 2.480 GHz (79 channels) WIFI 2.4 GHz (IEEE 802.11/b/g/n): 2.4 – 2.4835 GHz (11, 13 or 14 channels depending on the country) Usually Bluetooth uses frequency hopping and changes the possible 79 x 1 MHz bands 1600 times a second to avoid disturbances while WIFI ...


25

I know this thread is old, but I'd like to leave here what solved the problem for me. You need to check if you have the same security in both access points. For example, I had one access point secured with WPA/WPA2 and another with WPA2 only. After changing both to the same, everything was fine. To check your access points' security, you can do this: While ...


25

Yes, those details are safe to provide. They are measurements of the quality of your wireless signal, and they contain no personal information. You can view these and other details from the Wi-Fi icon in the menu bar. The trick is to press and hold the option key while you click on the icon (i.e. make sure you’re pressing the option key first before ...


24

There's an airport utility buried that you'll want to use. Create a symbolic link in /usr/local/bin to the utility for quick access with this command: sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport Now, you should be able to run airport -s and get a list of available networks with ...


24

This is a partial-temporary solution. Basically, if the frequencies are on different channel numbers then it is possible to "set" the particular wifi band (worked on OSX Mavericks). steps: 1. Find the channel numbers of 5 GHz and 2.4 Ghz. Are they different? if yes proceed to step 2. 2. Set 5 GHz channel number using airport command. Detailed instructions:...


Only top voted, non community-wiki answers of a minimum length are eligible