Thursday, December 06, 2007
OS X 10.4 - Set Airport MTU based on Network Location
This is the script I used to set the Airport MTU in OS 10.4. In Leopard there doesn't seem to be a need to tweak your MTU settings for those finicky PPPoE DSL connections anymore.The script is based on a post from Mac OSX Hints and TECH.inhelsinki.nl.
~/Library/LaunchAgents/LocationChanger.plist:
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
airport-mtu:
#!/bin/bash
echo "***Setting airport mtu 1492" >> /var/log/system.log
/sbin/ifconfig en1 mtu 1492
echo "***Airport mtu set" >> /var/log/system.log
echo "***Unloading mtu.plist" >> /var/log/system.log
/bin/launchctl unload /System/Library/LaunchDaemons/mtu.plist
exit 0
Labels: Airport Location, Apple Mac OS X Tiger, Network Location Script, Set Airport MTU
Article Link posted by Edward at 7:21 PM
0 Comments:
Links to this post:
Previous Posts
- Tech: Broken .Net 1.1 Update
- Leopard Compatible Skype Released
- PC World: 2007 Fastest Vista Laptop - MacBook Pro
- iPhone browser market share higher than WindowsCE
- Free & Quick Image Resize in Windows XP
- Google Maps - My Location without GPS
- Lightspeed 2.5 Released for Leopard
- BuinessWeek: Sorry, Steve: Here's Why Apple Stores...
- Leopard complaints
- Leopard Perfect 10?



