misc/72273: Problem with pppoe dialup in Beta 6.
Sam Wun
sam.wun at authtec.net
Sat Oct 2 23:10:27 PDT 2004
>Number: 72273
>Category: misc
>Synopsis: Problem with pppoe dialup in Beta 6.
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 03 06:10:13 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Sam Wun
>Release: 5.3 Beta 6
>Organization:
AuthTec Gateway Limited
>Environment:
FreeBSD at.authtec.com 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Wed Sep 29 07:28:55 HKT 2004
>Description:
Hi,
After upgarded the gateway to Beta 4 and 6, I experienced unreliable pppoe connection. The problem is when ppp connection idle for quite a while (may be few hours or less), there will be no Internet connection, but the public IP address still attached to tun0. Finally I need to manually restart ppp deamon, but as soon as started the deamon, the log file appeared something as below:
Oct 2 21:34:49 at ppp[60849]: tun0: Warning: ff02:9::/32: Change route failed: errno: Network is unreachable
Oct 2 21:34:52 at ppp[60849]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
Oct 2 21:34:52 at ppp[60849]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 2 21:34:52 at ppp[60849]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 2 21:34:55 at ppp[60849]: tun0: LCP: deflink: RecvProtocolRej(5) state = Opened
Oct 2 21:34:55 at ppp[60849]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 2 21:34:55 at ppp[60849]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 2 21:34:58 at ppp[60849]: tun0: LCP: deflink: RecvProtocolRej(6) state = Opened
Oct 2 21:34:58 at ppp[60849]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 2 21:34:58 at ppp[60849]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 2 21:35:01 at ppp[60849]: tun0: LCP: deflink: RecvProtocolRej(7) state = Opened
Oct 2 21:35:01 at ppp[60849]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 2 21:35:01 at ppp[60849]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 2 21:36:08 at ppp[60849]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
Oct 2 21:36:08 at ppp[60849]: tun0: LCP: deflink: SendEchoReply(1) state = Opened
Oct 2 21:37:29 at ppp[60849]: tun0: LCP: deflink: RecvEchoRequest(2) state = Opened
Oct 2 21:37:29 at ppp[60849]: tun0: LCP: deflink: SendEchoReply(2) state = Opened
...
then Internet connection is resumed.
The configuration of the ppp is as follow:
default:
set log Phase Chat LCP IPCP CCP tun command
# enable dns
set redial 5 1000
set reconnect 5 1000
set device PPPoE:fxp0
# set speed sync
#enable lqr
#set lqrperiod 5
#set cd 5
set timeout 0
add default HISADDR
and corresponding ppp options in rc.conf is:
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="hgc"
I m wondering what is going on. If it is the problem in my configuration, can anyone please send me the configuration of ppp.conf?
Thanks
Sam
>How-To-Repeat:
setup pppoe dialup as described in the Full Description, and make a pppoe connection.
Leave the connection idle for few hours or overnight - make sure the IP is changed and there is no packet going out for request connection...
sam
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list