Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: MTU fixes for Ethernet and Airport connections' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: MTU fixes for Ethernet and Airport connections
Authored by: BobHarris on Nov 24, '03 08:20:05PM
You could try creating a "/etc/ppp/ip-up" script that gets run when pppd makes your PPTP connection. Put the "ifconfig en1 mtu 1492" command in there. You do not need the 'sudo' command as /etc/ppp/ip-up runs as root.

#!/bin/sh
ifconfig en1 mtu 1492

then make sure the file is executable

chmod +x /etc/ppp/ip-up

One more thing. If the file gives you problems, then check to make sure it is using LINE FEED for line terminators and not CARRIAGE RETURNS. cat -vte should look like:

cat -vte /etc/ppp/ip-up
#!/bin/sh$
ifconfig en1 mtu 1492$

If it has ^M in it, then it is in Mac file format and has CARRIAGE RETURNS instead of LINE FEEDS as line terminators.

Bob Harris

[ Reply to This | # ]