|
|
Getting port mappings and DHCP usage from an Airport Device
Per the comments, here's an improvement.
1. Download the script to your desktop and save it as something.sh, e.g. exportairport.sh 2. In Terminal, navigate to the desktop and run chmod u+x exportairport.sh 3. Now open the script in Terminal, i.e. vi exportairport.sh 4. After the first block of comments, ending with:
insert the following code (you can change airport.xls to whatever.xls if you like):
5. Now go down to the last line of the script; after the last line, insert the following code:
6. Save and exit.One more tip is that you should save your Airport .baseconfig file with no spaces in the name. This script translates spaces to carriage returns and it looks awkward. So now you can run ./exportairport.sh aebs.baseconfig and it will simply output airport.xls, which you can then double-click and open in Excel. Edit: I opted not to have the script actually open Excel itself for several reasons, mostly that you might simply wish to retrieve the file over SFTP/AFP or you might not have Excel on the box in question, e.g. a file server. Edited on Dec 30, '11 08:26:45AM by alexiskai
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|