Hello

> 
> I must summarize what your problem is:
> * You can connect the two peers.
> * You can transmit pacakges.
> * It may break and do not reconnect because a call manager is still
>   there.
That's exactly it :-)

In cases i can not reconnect, there is a call manager process left, even
if there is no other ppp or pptp process (according to 'ps -aux').
It keeps up preventing new pptp-connections, as long as i don't kill it
with 'kill -9'.
according to
> http://pptpclient.sourceforge.net/howto-diagnosis.phtml
pptp-servers don't allow 2 connections from one IP. maybe the call
manager keeps a connection open.

> Have you tried to remove the firewall rules, so they are not a problem?
I'm going to try, next time i get the error.

> > I have a firewall running, but it is configured to only block
> > unrequested packages coming in over ppp0.
> And I assume that ppp0 is your pptp interface, right?

ppp0 is the connection to the internet.
eth0 would be the connection to, let's call it, the "modem" (a zyxel
prestige 600, connected over an ethernet card)
looks like pptp connects via eth0, i'm not an expert though.
maybe you can make use of this:

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.25.46.47    *               255.255.255.255 UH    0      0        0 ppp0
10.0.0.138      10.42.0.1       255.255.255.255 UGH   0      0        0 eth0
wlan            *               255.255.255.0   U     0      0        0 wlan0
home            *               255.255.255.0   U     0      0        0 eth1
10.42.0.0       *               255.255.0.0     U     0      0        0 eth0
default         172.25.46.47    0.0.0.0         UG    0      0        0 ppp0
# lsof -i | grep pptp
pptp      10720        root    0u  IPv4 228288       TCP 
10.42.3.242:38473->10.0.0.138:1723 (ESTABLISHED)
# ps aux | grep 10720
root     10720  0.0  0.3  1556  588 ?        S    18:57   0:00 pptp: call 
manager for 10.0.0.138        --loglevel 0

-------------

> Is the following a log where you can not reconnect?
> 
> > syslog:
> > ...
> > Apr  6 19:28:16 verleihnix pppd[5687]: rcvd [IPCP TermReq id=0x0]
> > Apr  6 19:28:16 verleihnix pppd[5687]: IPCP terminated by peer
> > Apr  6 19:28:16 verleihnix pppd[5687]: Connect time 5.0 minutes.
> > Apr  6 19:28:16 verleihnix pppd[5687]: Sent 11093 bytes, received 16473 
> > bytes.
> > Apr  6 19:28:16 verleihnix pppd[5687]: Script /etc/ppp/ip-down started (pid 
> > 25205)
> > Apr  6 19:28:16 verleihnix pppd[5687]: sent [IPCP TermAck id=0x0]
> > Apr  6 19:28:16 verleihnix pppd[5687]: rcvd [LCP TermReq id=0x0]
> > Apr  6 19:28:16 verleihnix pppd[5687]: LCP terminated by peer
> > Apr  6 19:28:16 verleihnix pppd[5687]: sent [LCP TermAck id=0x0]

Right.
The Log i sent in my first mail was one, where i was NOT able to reconnect.
Log-messages like this (starting with IPCP terminated by peer etc.) are the 
only ones
where this problem occurs.
I don't know much (or hardly anything ;-) about ppp and pptp internals, but is 
there some logic
in it, when i assume that, in this case, the ppp-connection is ended, but
the ppTp-connection (or whatever) isn't?

The Log in my second mail (no response etc.) was one example, where i was able 
to reconnect.

best regards
robert



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to