[pptp-server] bringing pptp client down--safely

Nate Carlson natecars at real-time.com
Fri Mar 24 13:57:35 CST 2000


On Fri, 24 Mar 2000, Daniell Freed wrote:

> OK here is a crazy question.  How do you bring down a pptp client
> safely?  I am using the linux pptp client on my machine and am able to
> connect just fine to my pptp server.  
> 
> But I don't want to be connected all the time to the pptp server, so I
> want to be able to bring the connection down.  I used ifconfig ppp0 down
> to close the connection, but when I when to reastablish the connection a
> few minutes later I couldn't.  I would get this error:
> 
> warn[open_unixsock:pptp_callmgr.c:308]: Call manager for 207.1.3.123 is
> already running.
> fatal[callmgr_main:pptp_callmgr.c:124]: Could not open unix socket for
> 207.1.3.123
> fatal[launch_callmgr:pptp.c:213]: Call manager exited with error 256 
> 
> The only way I seemed to be able to get the connection working again
> would be to reboot my machine and then bring up the connection.
> 
> Anyone know if there is an easier way?  I tried restarted networking but
> that didn't help either.
> 
> Thanks
>

I usually just kill the pptp process, which takes it down cleanly. Also,
if it comes down uncleanly, just rm -f /var/run/pptp/207.1.3.123, and
you'll be able to make another connection without rebooting.

-- 
Nate Carlson <natecars at real-time.com>   | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500





More information about the pptp-server mailing list