|
Enable Verbose Network Negotiation on Tiger |
|
|
Written by Justin Elliott
|
|
Thursday, 30 March 2006 |
Ever wonder what is happening during the network interface negotiation on Tiger? It's very easy to enable verbose logging with a quick and simple change to the IPConfiguration bundle.
- First, make a backup copy of the IPConfiguration.xml file:
cd /System/Library/SystemConfiguration/IPConfiguration.bundle/Resources/
cp -p IPConfiguration.xml IPConfiguration.xml.BACKUP
- Now edit the file:
pico -w
/System/Library/SystemConfiguration/IPConfiguration.bundle/Resources/IPConfi
guration.xml
- Change the value for the "Verbose" key from "false":
<key>Verbose</key>
<false/>
To "true":
<key>Verbose</key>
<true/>
- Save the file (control X, press 'Y' to save it - if you used pico to edit
it).
- After rebooting the Mac, additional network logging will be created in
these two files:
/var/log/system.log
/var/log/com.apple.IPConfiguration.bootp
- The system.log will have many entries now from configd, like:
Mar 28 16:39:53 localhost configd[38]: IPConfiguration logfile
'/var/log/com.apple.IPConfiguration.bootp' opened...
Mar 28 16:40:02 localhost configd[38]: MANUAL en0: starting
...
- The com.apple.IPConfiguration.bootp file will have entries of the
negotiation steps:
2006/03/21 8:21:57.562503 [en1] Transmit 301 byte packet
op = BOOTREQUEST
...
Add as favourites (103) | Quote this article on your site | E-mail
Only registered users can write comments. Please login or register. Powered by AkoComment Tweaked Special Edition v.1.4.4 |
|
Last Updated ( Friday, 14 July 2006 )
|