440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
network   {key13}


Find the source of DHCP-provided addresses via script

MacOsxHints

Wednesday May 21, 2008. 03:30 PM
MacOsxHints

I often need to know whilst debugging a network connection where my computer has picked up an IP address from, so I can find the IP address of a router, or to make sure there?s not a rogue DHCP server on the network and so on. There is no way to find this in the GUI in Mac OS X, although it is available via ipconfig on the command line: ipconfig getoption en0 server_identifier Needless to say, I can never remember the parameters for it, so I wrote an AppleScript to automate the process. With the script, you can also get the DHCP server for multiple interfaces at once as well. Here's the code: (* DHCP Server Lookup © RickoKid 2008 Version 0.1 This program is free software: you can redist...
often need know whilst debugging network connection where computer picked Find source DHCP-provided addresses script
Find the source of DHCP-provided addresses via script Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/295078959/article.php

 

 Related News 
Sun xVM VirtualBox 1.6 Free Open Source Virtualization Software Sun xVM VirtualBox 1.6 Free Open Source Virtualization Software
 AppleLinks 06/02/08 06 AM 
Updated .Mac Book to Require Major Find-and-Replace? Updated .Mac Book to Require Major Find-and-Replace?
 TidBITS 05/30/08 09 PM 
More on Water Cooling G4 Towers (source for kits) More on Water Cooling G4 Towers (source for kits)
 AccelerateYourMac 05/28/08 03 PM 
Source for ATX Pwr Supply Cables/Adapters for Macs Source for ATX Pwr Supply Cables/Adapters for Macs
 AccelerateYourMac 05/27/08 01 PM 
Making Spotlight find your kind of files Making Spotlight find your kind of files
 Mac Megasite 05/26/08 03 PM 
Temporarily suspend energy saver settings via script Temporarily suspend energy saver settings via script
 MacOsxHints 05/23/08 03 PM 
Open source virtualization for Macs, iMac shutdowns, Psystar ... Open source virtualization for Macs, iMac shutdowns, Psystar ...
 Low End Mac 05/16/08 03 PM 
Find the vanishing Photoshop cursor Find the vanishing Photoshop cursor
 MacOsxHints 05/14/08 03 PM 
Sun to clarify JavaFX open-source plan Sun to clarify JavaFX open-source plan
 Macworld UK 05/13/08 10 AM 
Use Script Editor to develop bookmarklets Use Script Editor to develop bookmarklets
 MacOsxHints 05/08/08 03 PM 
Use Safari to find things more easily in text files Use Safari to find things more easily in text files
 MacOsxHints 05/06/08 03 PM 
Script Software offers CopyPaste Pro beta Script Software offers CopyPaste Pro beta
 MacNN 05/06/08 07 AM 
Script Software Intros CopyPaste Pro Script Software Intros CopyPaste Pro
 TheMacObserver 05/05/08 01 PM 
Logic Pro 8.0.1 Addresses Compatibility Issues Logic Pro 8.0.1 Addresses Compatibility Issues
 TheMacObserver 05/05/08 01 PM 
Piper Jaffray addresses 15 more 'unanswered Apple questions' Piper Jaffray addresses 15 more 'unanswered Apple questions'
 AppleInsider 05/01/08 02 PM 
Mac FFOSS (Freeware/Free & Open Source Software) Wednesday Mac FFOSS (Freeware/Free & Open Source Software) Wednesday
 MacDevCenter 04/30/08 11 PM 
Enter SIM card PIN via script for Huawei 3G USB modems Enter SIM card PIN via script for Huawei 3G USB modems
 MacOsxHints 04/29/08 03 PM 
10.5: Eject drives and run iSync before sleep via script 10.5: Eject drives and run iSync before sleep via script
 MacOsxHints 04/25/08 03 PM 
CCP Discusses EVE Online Source Code Leak CCP Discusses EVE Online Source Code Leak
 InsideMacGames 04/17/08 02 PM 
Safari 3.1.1 Addresses Security Issues Safari 3.1.1 Addresses Security Issues
 TidBITS 04/17/08 02 AM 
Apple Releases Safari 3.1.1, Addresses PWN2OWN Vulnerability Apple Releases Safari 3.1.1, Addresses PWN2OWN Vulnerability
 MacRumors 04/16/08 10 PM 

Search

Mac Zicos
Fri December 5, 12:09 PM
network   {key13}