![]() If you’ve ever tried to limit access to your network by changing the router setup, you may have seen a form where you can enter MAC addresses to be filtered. 2 Unlike an IP number, which changes when you move your computer from one network to another, the MAC address is “burned in” to the device itself-it’s assigned by the manufacturer according to some set of rules and never changes. ![]() The Ethernet Address in the last line is usually called the MAC Address, a unique number for every network device in the world. The results on my MB Air are kind of dull: Hardware Port: Bluetooth DUN If you have two or more network connections and you want to find out which name is assigned to each, run networksetup -listallhardwareports 1 If I had two network connections, one would be en0 and the other would be en1. The en part is an abbreviation of Ethernet (these device names are an old Unix holdover from the days when your network connection always was an Ethernet cable) and the 0 indicates that it’s the computer’s first network connection. That’s the device name for the AirPort connection on my computer, assigned automatically by the system. The only tricky thing is the en0 parameter in Lines 4 and 6. I’ve assigned it, via FastScripts, a keystroke shortcut of ⌃⌥⌘F12, so I can run it quickly whenever the MB Air fails to connect.Īs you can probably guess, Line 4 turns AirPort off and Line 6 turns it back on again Line 5 takes a two-second break in between. I call the script “Reset AirPort,” and I have it stored in ~/Library/Scripts where FastScripts can find it. The script relies on the networksetup command, a Mac-specific utility that seems to mimic the functionality of the Network preference pane in System Preferences. So I wrote a script to do the toggling with a keypress. Well, my new Macbook Air has this problem far more often, and because it’s so fast at waking up and launching applications, the failure to find the network right away is more frustrating. This was a bit annoying, but I didn’t need to do it often enough to think about automating the process. I’d go up to the AirPort menu, turn AirPort off, and turn it back on again. I suppose it would have found the network eventually, but I was never patient enough to wait. My recently retired iBook G4 sometimes had trouble finding my home wifi network when I opened the lid to wake it up. Next post Previous post Resetting AirPort
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |