PPPoE Disconnection Wireless ISP Future

From: Eitesam Ahmad (eitesam_at_gmail.com)
Date: 03/31/05

  • Next message: Ahmad Khan: "subscription problem"
    Date: Thu, 31 Mar 2005 14:32:13 +0500
    To: freebsd-isp@freebsd.org
    
    

    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"


  • Next message: Ahmad Khan: "subscription problem"

    Relevant Pages

    • Re: PPPoE Disconnection Wireless ISP Future
      ... > very big issue of user session disconnect, ... > I know what is timeout, so please dont think that users are getting dc ... > disable deflate pred1 ... > octets in, 570583 octets out ...
      (freebsd-isp)
    • RE: RWW VB error - being disconnected
      ... VBScript Remote Desktop Disconnected an internal error has occurred. ... Step 3: check following timeout settings. ... Microsoft CSS Online Newsgroup Support ... <Workspace.) Randomly they are being disconnect and get a message saying ...
      (microsoft.public.windows.server.sbs)
    • Re: Sockets and timeouts
      ... is going to know this is by some form of timeout. ... detect a lost connection any faster this way. ... > disconnect the RJ45 between my two computers, ...
      (comp.os.linux.development.system)
    • Re: Skip messages about "not able to restore network connections"
      ... Phillip Windell wrote: ... > never complain and they never timeout and disconnect because they are only ...
      (microsoft.public.win2000.networking)