Date: Thu, 31 Mar 2005 15:24:47 +0000 From: Marcin Jessa <lists@yazzy.org> To: Eitesam Ahmad <eitesam@gmail.com> Cc: freebsd-isp@freebsd.org Subject: Re: PPPoE Disconnection Wireless ISP Future Message-ID: <20050331152447.28d16e62.lists@yazzy.org> In-Reply-To: <5987a71b050331013264884ca1@mail.gmail.com> References: <5987a71b050331013264884ca1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. Seems to me like it times out after 300s. I recommend you to read http://www.hpi.net/whitepapers/warta/ Cheers. On Thu, 31 Mar 2005 14:32:13 +0500 Eitesam Ahmad <eitesam@gmail.com> wrote: > 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 > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" -- Regards, M. Jessa http://www.yazzy.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050331152447.28d16e62.lists>