Hello there.

I have a ppp(oe) problem under openbsd 4.2 (with 009_ppp.patch patch applied).

I have router under openbsd, which connects to the ISP through adsl modem (with pppoe). ppp starts with option -ddial, which means that it would reconnect if the link drops down. But it seems it doesn't. I have terrible phone cables (and a cat, if you know what I mean :) so the modem often reconnects, sometimes even with no obvious reason. After that ppp supposes an old session up, so it doesn't reconnect. Of course, the uplink gives me another adsl session, so it doesn't see packets from my old-given ip.

So I have to kill the previous ppp session to get new ip. Is it a problem of code or some misconfiguring? Here comes some information:

# cat /etc/hostname.tun0
!/usr/sbin/ppp -unit 0 -quiet -ddial pppoe; sleep 5

default:
 set log Phase Chat LCP IPCP CCP tun command LQM
 set redial 15 0
 set reconnect 15 10000

pppoe:
 set device "!/usr/sbin/pppoe -i rl0"
 set mtu max 1492
 set mru max 1492
 set speed sync
 disable acfcomp protocomp
 deny acfcomp
 enable lqr echo
 disable ipv6cp
 set lqrperiod 5
 set echoperiod 5
 set timeout 0
 set authname "******"
 set authkey "******"
 add default HISADDR
 enable mssfixup


BTW, I heard of similiar problem from another guy, so I'm not alone.

P.S. I'm sorry if I repeated some known problem. I tried to search in archives but no succeed, and I can't spend any time to the problem now because of high time pressure.

Reply via email to