Mac OS X VPN
Date: 02/04/05
(IT Professionals) Keywords: no keywords
I've got a Mac dialing into a windows VPN and all works fine but it disconnects randomly. I setup a cronjob to load an URL as detailed here to check for a connection. If there's none, it restarts the connection. I keep track of how often it does this and its way too common. The script checks for a connection (and thus makes activity) every 5 mins so there shouldnt be a timeout.
Here's what my logs say
Feb 4 04:45:06 macnerd pppd[1708]: Terminating on signal 15.
Feb 4 04:45:06 macnerd pppd[1708]: MPPE disabled
Feb 4 04:45:06 macnerd pppd[1708]: Connection terminated.
Feb 4 04:45:06 macnerd pppd[1708]: Connect time 165.0 minutes.
Feb 4 04:45:06 macnerd pppd[1708]: Sent 29064 bytes, received 24291 bytes.
Feb 4 04:45:06 macnerd kernel: pptp_input unexpected, so = 0x10b3aa0, len = 21
Feb 4 04:45:06 macnerd configd[87]: posting notification com.apple.system.config.network_change
Feb 4 04:45:06 macnerd mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/sbin/lookupd": exited as a result of signal 1 [pid 1730]
Feb 4 04:45:06 macnerd configd[87]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostname
Feb 4 04:45:06 macnerd pppd[1708]: PPTP disconnecting...
Feb 4 04:45:06 macnerd pppd[1708]: PPTP disconnected
The VPN Server is Windows based and it doesnt disconnect my XP clients. Here's the "pattern" of droppage.
Feb 4 04:45:06 macnerd pppd[1708]: Connect time 165.0 minutes.
Feb 4 06:10:06 macnerd pppd[2246]: Connect time 80.0 minutes.
Feb 4 07:35:09 macnerd pppd[2497]: Connect time 80.0 minutes.
Feb 4 08:47:55 macnerd pppd[2747]: Connect time 67.8 minutes.
Oh, also, sometimes when I connect 2 machines on the network, the Mac drops its connection:
64 bytes from 10.0.0.100: icmp_seq=14 ttl=128 time=11.226 ms
ping: sendto: No buffer space available
Any insight would be super, thanks!
x-posted to macosx.
Source: http://www.livejournal.com/community/itprofessionals/3857.html