From owner-freebsd-questions@FreeBSD.ORG Thu Jun 25 07:54:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D20201065673 for ; Thu, 25 Jun 2009 07:54:17 +0000 (UTC) (envelope-from budiyt@gmail.com) Received: from mail-qy0-f186.google.com (mail-qy0-f186.google.com [209.85.221.186]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE038FC13 for ; Thu, 25 Jun 2009 07:54:17 +0000 (UTC) (envelope-from budiyt@gmail.com) Received: by qyk16 with SMTP id 16so1685577qyk.3 for ; Thu, 25 Jun 2009 00:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=XRpqSOhv732S7F9PUUzRKxwX9X/DC9czb92urNR8tDg=; b=CUNtmu/vowU+KdbzQkvuNy5srlzeulcJMwbEraw9lKOqCT/NBobHdnU+Od8DoQ5yZ+ HxebaOYTf7PzAYjlcLse7Fhq66SDxPJuKUIuAviP3OYvf2dmYN0x2fiNs2qmi8gngdle y6OAxNsdAnAkvpd0qpL+T0Vr8dKyVX2phX0MA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=O/oB9JRP7aJOnE4EBJzwivNn7A8X5QMO+k0l9wmKyoVJGUu6+4/psg0uAcGMg8CXv8 +OpCytmLcVg2dqILEEnd5LmsQhYGD0R5YziYGM7f0CaDv/70+kNzIHdNMYCiGU8H5XAc LOe4wdN0Yv/tgUq/s3g980Ttzv8ROhGf9i9ro= MIME-Version: 1.0 Received: by 10.220.95.194 with SMTP id e2mr2020845vcn.60.1245914490450; Thu, 25 Jun 2009 00:21:30 -0700 (PDT) Date: Thu, 25 Jun 2009 14:21:30 +0700 Message-ID: <4d4dc3640906250021l6c46be44he009a61cbfd571ba@mail.gmail.com> From: budsz To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: PPPoE trouble handshaking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 07:54:18 -0000 Hi, I got problem with FreeBSD 7.2-STABLE as router. I use TPLINK modem as bridging to my box. here is my /etc/ppp/ppp.conf: default: #set log Phase Chat LCP IPCP CCP tun command #set log all set log Phase tun command speedy: set device PPPoE:rl1 set authname xxxxx@ISP.net set authkey xxxxx set dial set login set cd 5 set crtscts off add default HISADDR set timeout 0 # 3 minute idle timer (the default) # no idle time out, will not disconnect set mru 1492 set mtu 1492 set speed sync enable lqr set lqrperiod 5 enable mssfixup # For noisy lines, we may want to reconnect (up to 20 times) after loss # of carrier, with 3 second delays between each attempt: # #set reconnect 3 20 set redial 0 0 I try to use -ddial mode with ppp(8). Here is log problem /var/log/ppp.log: Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Disconnected! Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: carrier -> hangup Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: 0 packets in, 0 packets out Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Jun 25 11:59:56 2009 Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: hangup -> opening Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Enter pause (0) for redialing. Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Connected! Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: opening -> dial Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: dial -> carrier Jun 25 12:00:06 rtr-gw ppp[346]: tun0: Phase: deflink: Disconnected! And, with full debug mode: Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: ---- Begin of Timer Service List--- Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: physical throughput timer[0x28412068]: freq = 1.00s, next = 0.00s, state = running Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: ---- End of Timer Service List --- Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: timer_Start: Inserting physical throughput timer[0x28412068] Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: Disconnected! Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: carrier -> hangup Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Debug: deflink: Close Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: 0 packets in, 0 packets out Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Jun 25 11:24:27 2009 Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: hangup -> opening Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: timer_Start: Inserting dial timer[0x28410d44] Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: Enter pause (0) for redialing. Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: Select returns -1 Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Chat: deflink: Redial timer expired. Anyone know this problem.. my box very hard to negotiation with my ISP. Thank You -- budsz