From owner-freebsd-isp@FreeBSD.ORG Thu Mar 31 09:32:14 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1298C16A4CE for ; Thu, 31 Mar 2005 09:32:14 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9463743D1F for ; Thu, 31 Mar 2005 09:32:13 +0000 (GMT) (envelope-from eitesam@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so477704wri for ; Thu, 31 Mar 2005 01:32:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=I4rC2XkVx7c4+OOjt3Z7i9K5VGVA9QQrXnn71U6TyfF0OSsLUiFM1YZ5EYLbQlCtz0D6VR1iYnKFZlIpnzFknzoAYeS+XxPYgYvL4VYJBrgMTNKsiNoVn17tWoiIL2jUtB289LWbedTJmPrkyYb4Sc0yBa7Uwvptb6F7Yl3+nY8= Received: by 10.54.105.7 with SMTP id d7mr1436712wrc; Thu, 31 Mar 2005 01:32:13 -0800 (PST) Received: by 10.54.11.22 with HTTP; Thu, 31 Mar 2005 01:32:13 -0800 (PST) Message-ID: <5987a71b050331013264884ca1@mail.gmail.com> Date: Thu, 31 Mar 2005 14:32:13 +0500 From: Eitesam Ahmad To: freebsd-isp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: PPPoE Disconnection Wireless ISP Future X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eitesam Ahmad List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 09:32:14 -0000 Dear All, We are running a WISP, and i have configured a PPPoE server on Freebsd 5.4-PRERELEASE, with interepoch equipment 1100-A APs and Bridges, PPPoE works just great while authentication/connection/routing/security aspects, but there is a very big issue of user session disconnect, sometime users start automatically disconnecting and the message appears in ppp.log is pasted beloew, now as u may have seen that this user only took 5 minutes connectivity and after that it disconnects automatically ? i cannot figure oit what is the problem exactly ? following is my ppp.conf I know what is timeout, so please dont think that users are getting dc coz of session timeout, i have specially compiled software which sends keepalive packets to the network every one minute and users doibnt get dc coz of timeout, I tried to disable lqr and echo thinking that might this is the reason for user dc, as when wireless link have weak signal or some problem in the link, ppp might get disconnected, but no luck, and users are still facing the same problem. Please take a serious look at the problem and do let me know with your valuable advices, i shall be thankfull to all of you. ##########ppp.conf########## default: set log Chat Command Phase hdlc lqm ipcp enable pap #turn on chap and pap accounting allow mode direct #turn on ppp bridging enable proxy #turn on ppp proxyarping (redundant of above???) disable ipv6cp #we don't use ipv6, don't want the errors set mru 1472 #set mru below 1500 (PPPoE MTU issue) set mtu 1472 #set mtu below 1500 (PPPoE MTU issue) disable lqr ( Disabled, might be the reason to dc user but no luck ) disable echo ( Disabled, might be the reason to dc user but no luck ) enable mschapv2 mppe disable deflate pred1 deny deflate pred1 set mppe 128 * set timeout 300 set ifaddr 192.168.0.1 192.168.0.50-192.168.0.254 255.255.255.255 set radius /etc/radius.conf #turn on radius auth and use this file accept dns #turn on dns cacheing/forwarding ################### #############ppp.log################# Mar 31 12:30:14 wifi ppp[62716]: Phase: Radius(acct): START data sent Mar 31 12:30:14 wifi ppp[62716]: Command: default: bg /etc/ppp/addclient.sh USER connect HISADDR INTERFACE Mar 31 12:35:12 wifi ppp[62716]: Phase: deflink: open -> lcp Mar 31 12:35:12 wifi ppp[62716]: IPCP: deflink: LayerDown: 137.101.143.1 Mar 31 12:35:12 wifi ppp[62716]: Phase: Radius(acct): STOP data sent Mar 31 12:35:12 wifi ppp[62716]: Command: default: bg /etc/ppp/removeclient.sh USER disconnect HISADDR INTERFACE Mar 31 12:35:12 wifi ppp[62716]: IPCP: deflink: State change Opened --> Starting Mar 31 12:35:12 wifi ppp[62716]: IPCP: deflink: LayerFinish. Mar 31 12:35:12 wifi ppp[62716]: IPCP: Connect time: 298 secs: 28406 octets in, 570583 octets out Mar 31 12:35:12 wifi ppp[62716]: IPCP: 333 packets in, 473 packets out Mar 31 12:35:12 wifi ppp[62716]: IPCP: total 2010 bytes/sec, peak 13457 bytes/sec on Thu Mar 31 12:31:33 2005 Mar 31 12:35:12 wifi ppp[62716]: IPCP: deflink: State change Starting --> Initial Mar 31 12:35:12 wifi ppp[62716]: Phase: bundle: Terminate Mar 31 12:35:12 wifi ppp[62716]: Phase: deflink: read (0): Got zero bytes Mar 31 12:35:12 wifi ppp[62716]: Phase: deflink: Disconnected! Mar 31 12:35:12 wifi ppp[62716]: Phase: deflink: Connect time: 302 secs: 20507 octets in, 557773 octets out Mar 31 12:35:12 wifi ppp[62716]: Phase: deflink: 391 packets in, 531 packets out Mar 31 12:35:12 wifi ppp[62716]: Phase: total 1914 bytes/sec, peak 13064 bytes/sec on Thu Mar 31 12:31:36 2005 Mar 31 12:35:12 wifi ppp[62716]: Phase: deflink: lcp -> closed Mar 31 12:35:12 wifi ppp[62716]: Phase: bundle: Dead Mar 31 12:35:12 wifi ppp[62716]: Phase: PPP Terminated (normal) ################### Regards Etechnix