Both the W-Fi security and base station password should now be displayed.From the AirPort Utility's menu bar, select Base Station > Show Passwords.Select the AirPort base station, and then, select Edit.Option #2a - Using the AirPort Utility from a Mac Your base station disk access password should now be displayed.The disk access password entry will have a " Kind" of " AirPort Disk password." In the right-side window, under the " Name" column, look for your base station's name.Your base station administrator's password should now be displayed.įor the Base Station Disk Access Password.Double-click on your base station name listing.The base station administrator's password entry will have a " Kind" of " AirPort base station password." security find-generic-password -ga "mywirelessnetwork"įor the Base Station's Administrator Password.The password would be listed after the "Password:" key.įor example, if your AirPort's wireless network name is: mywirelessnetwork, the command would be: Your Wi-Fi network's wireless security password should now be displayed.Īlternatively, you can enter the following command in the Terminal app to retrieve the wireless security password from the Keychain: security find-generic-password -ga "", where network-name would be the Network Name (aka, SSID) of your AirPort's wireless network.If required, enter your Mac's administrator account's password.Double-click on your network name listing.The base station wireless security password entry will have a " Kind" of " AirPort network password." In the right-side window, under the " Name" column, look for your Wi-Fi network's Network Name (or BSSID).In the top-left-side window, under Keychains, select " login." In the bottom-left-side window, under Category, select " Passwords.".Run the Keychain Access app found in \Applications\Utilities.If you don't actually want to change any of these passwords, but just want to retrieve the existing ones, the following options are available for you to do so. There are three passwords types that can be used with an AirPort Extreme base station, AirPort Express base station, or a Time Capsule: This should give you ample time to access the base station with the AirPort Utility to change any of the passwords.) (Note: This type of reset will temporarily disable all of the base station's passwords for up to five minutes. Now like any other alias, you only type ‘airportcycle’ and the wireless interface will immediately turn itself off and on again.ĭisabling and reenabling AirPort is not the same as connecting to a wireless network from the command line, although you can do that too also by using the networksetup tool.If you ever forget either your AirPort's base station Administrator or its wireless security password, the simplest way to access the base station again would be to perform a "soft" reset. bash_profile just be sure it is on one line:Īlias airportcycle='networksetup -setairportpower airport off networksetup -setairportpower airport on' I have enough regular encounters with one particularly flakey router that I created an alias to power cycle my AirPort card, you can do this by adding the following to your. This is often enough to resolves basic wireless router connectivity issues like IP conflicts or malfunctioning DHCP requests. The AirPort wireless card seems to respond faster to the command line networksetup tool than any other method, making this an ultrafast method of power cycling the wireless interface. Networksetup -setairportpower airport off networksetup -setairportpower airport on We can also string the commands one after the other to power cycle the wireless interface on a Mac: Quickly Power Cycle Wi-Fi with Mac OS X’s networksetup Tool You won’t see any confirmation in the Terminal that the command succeeded or failed, but if you watch the AirPort menu icon you will see the bars disappear indicating the wireless interface is turned off, or reappear indicating that wireless is activated again. As before, pay attention to the device name:Īnd again, you may need to specify device en0 or en1 instead of ‘airport’, like so: Just like turning wi-fi off from the command line, you can also toggle it back on again. Turn Wi-Fi (Airport) On via Command Line in Mac OS X You can use the -getairportpower flag to check the port if you are unsure. Thus, you may need to specify the device port rather than ‘airport’, for example en1 or en0: The device name could be airport, en0, en1, etc, depending on the Mac hardware and the version of OS X. Networksetup -setairportpower airport off The network device name will determine how the proper syntax is entered. Turn Wi-Fi Off via Command Line in Mac OS X
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |