Jan 16, '03 09:04:23AM • Contributed by: deleted_user18
After doing some research and with help from other Mac users, I learned that in Mac OS X there is something missing called MSS-Clamping to fix broken web pages. See this article for more details. Until Apple fixes this with a newer BSD version, the easiest thing to fix this is to set MTU for AirPort on the second Mac (not the Mac with the internet connection!) from 1500 to 1492. If you think you have the same problem you can try:
sudo ifconfig en1 mtu 1492If this fixes your problem, you can make the change permanent with a StartupItem I made.
The StartupItem skeleton was borrowed from BroadbandOptimizer StartupScript. All further steps as root or with sudo.
- Make a directory AirportMTU in /Library. In this new directory, make a file named AiportMTU with this content:
#!/bin/sh
##
# Airport MTU
# Sets MTU to 1492
##
. /etc/rc.common
CheckForNetwork
#if [ "${NETWORKUP:=-NO-}" = "-YES-" ]; then
ifconfig en1 mtu 1492 > /dev/null
echo "Network settings optimized for AirPort Connection"
#fi - Make a file StartupParameters.plist with this content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
### THE ABOVE TWO LINES SHOULD BE ONE LINE! ###
<plist version="1.0">
<dict>
<key>Description</key>
<string>AiportMTU</string>
<key>Messages</key>
<dict>
<key>restart</key>
<string>Restarting Airport MTU.</string>
<key>start</key>
<string>Optimizing Network for AirPort Connection.</string>
<key>stop</key>
<string>Stopping Airport MTU.</string>
</dict>
<key>OrderPreference</key>
<string>none</string>
<key>Provides</key>
<array>
<string>AirportMTU</string>
</array>
<key>Requires</key>
<array>
<string>Network</string>
<string>Network Configuration</string>
</array>
</dict>
</plist> - Then make a directory named Resources and in there, make another directory named English.lproj. Put a file Localizable.strings in it with this content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.1">
<dict>
<key>Optimizing Network for AirPort Connection.</key>
<string>Optimizing Network for AirPort Connection.</string>
<key>Stopping Airport MTU.</key>
<string>Stopping Airport MTU.</string>
<key>Restarting Airport MTU.</key>
<string>Restarting Airport MTU.</string>
</dict>
</plist>
