[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: Re: pppd has its own will?]



On Thu, 2003-01-02 at 21:15, Matteo Cavalleri wrote:
> i'va an adsl connection, an alcatel speed touch home and of course
> openbsd 3.2 :) i connect using pptp from the ports.
> 
> today pppd changed my ip with no apparent reason, with the consequence
> that 1) all my connections dropped, 2) some of my pf rules were "out of
> date", 3) my dyndns account pointed to a wrong ip
> 
> this seems very strange, and after googling a bit and asking to my
> friends i still can't understand why it happened...
> 
> this is from /var/log/messages
> 
> Jan  2 12:00:01 meshuggah NTP: Thu Jan  2 12:00:05 CET 2003
> Jan  2 12:00:01 meshuggah NTP: rdate: adjust local clock by 3.389761 seconds
> Jan  2 14:00:02 meshuggah syslogd: restart
> Jan  2 14:40:00 meshuggah pppd[27798]: local  IP address 217.133.238.201
> Jan  2 14:40:00 meshuggah pppd[27798]: remote IP address 195.130.236.117
> Jan  2 18:00:01 meshuggah syslogd: restart
> 
> this is from /var/log/ppp.log
> 
> Jan  1 18:16:07 meshuggah pppd[27798]: Connect: ppp0 <--> /dev/ttyp0
> Jan  1 18:16:34 meshuggah pppd[27798]: Remote message:
> Jan  1 18:16:34 meshuggah pppd[27798]: local  IP address 217.133.228.22
> Jan  1 18:16:34 meshuggah pppd[27798]: remote IP address 195.130.236.117
> Jan 1 18:16:35 meshuggah adsl[9645]: Connection successful.
> Jan  2 14:40:00 meshuggah pppd[27798]: Remote message:
> Jan  2 14:40:00 meshuggah pppd[27798]: local  IP address 217.133.238.201
> Jan  2 14:40:00 meshuggah pppd[27798]: remote IP address 195.130.236.117
> 
> any idea?

Probably just the ISP resetting your connection (BT do it to me
occasionally over my aDSL with a speedtouch USB). This is what I have in
my link files:


#ppp.linkup
MYADDR:
 ! sh -c "/sbin/route del default"
 ! sh -c "/sbin/route add default HISADDR"
 ! sh -c "/sbin/pfctl -F all -f /etc/pf.conf -e"


#ppp.linkdown
MYADDR:
 ! sh -c "/sbin/pfctl -F all -d"
 

PPP *should* run the contents of those files when it reconnects.

HTH,

Mike.