From owner-freebsd-questions Fri Nov 30 6:11:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.anu.edu.au (mail.anu.edu.au [150.203.2.7]) by hub.freebsd.org (Postfix) with ESMTP id 8E6D137B41C for ; Fri, 30 Nov 2001 06:11:39 -0800 (PST) Received: from nucl03.anu.edu.au (nucl03.anu.edu.au [150.203.19.120]) by mail.anu.edu.au (8.9.3/8.9.3) with ESMTP id BAA12333 for ; Sat, 1 Dec 2001 01:11:37 +1100 (EST) Received: (from gjl103@localhost) by nucl03.anu.edu.au (8.11.6/8.11.6) id fAUEB7o09436 for freebsd-questions@FreeBSD.org; Sat, 1 Dec 2001 01:11:07 +1100 (EST) (envelope-from gjl103) Date: Sat, 1 Dec 2001 01:11:07 +1100 From: Greg Lane To: freebsd-questions@FreeBSD.org Subject: ADSL PPPoE (Telstra Aust.) began to hang between 4.3- and 4.4-RELEASE Message-ID: <20011201011107.A9404@nucl03.anu.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG G'day all, Somewhere between 4.3-RELEASE and 4.4-RELEASE something has changed which makes my PPPoE connection to Telstra ADSL (Australia) not work anymore. Has anyone else had this problem? More details follow: I have been using a regularly updated 4-STABLE machine running PPPoE with Telstra ADSL as my internet gateway since the beginning of the year. Before that I had used FreeBSD as a gateway for my dial-up account for a year and a half so I have some experience with this. Around late August after a cvsup, make buildworld, make installworld etc. I had trouble where certain types of traffic would start and then hang, mainly web traffic and certain things through ssh such as listing long directories. (Reminiscent of the MTU problems in the early 4 series but I don't think this is the issue as shown below.) I stuffed around but couldn't solve the issue so I backdated to 4.3-RELEASE and forgot about it for a while. Recently I decided to consolidate my machines and change my gateway so was brought back to this problem once more. I have now discovered that it seems to be the PPPoE connection itself which causes the trouble. I have done "identical" fresh installs of 4.3-RELEASE and 4.4-RELEASE on the same box. On each I have copied the attached ppp.conf then: kldload netgraph ppp -ddial -quiet -nat bigpond I also compiled all the netgraph stuff into the kernel to see if the behaviour differed from loading the modules. It didn't. Using 4.3 everything is fine. I run lynx and can happily browse the web directly from the box. I set up forwarding and then my linux, beos, freebsd, win2k boxes can all do whatever through it. Using 4.4 however, a http request starts but then sits "waiting for response" when using lynx straight from the box. Similar behaviour occurs for other hosts using it as a gateway. ssh will connect OK from and through the gateway, but certain actions hang the connection, e.g. ls -l of a big directory. I'm at my wit's end having searched newsgroups, mailing lists, and done the best crawl through the cvs changes that I can with my limited C skills. My best guess was that something changed sometime in or around August based on my notes from the time and the file dates on the gateway when I reinstalled 4.3-release to get things going again. Has anyone (particularly Aussies using Telstra ADSL) noticed this problem? Even better, can someone solve it for me? Cheers, Greg -------- ppp.conf -------- default: #Only enable logging for troubleshooting #set log CBCP CCP Chat Connect Command IPCP tun Phase Warning Debug LCP sync set device PPPoE:rl0:bigpond set speed sync set mru 1454 set mtu 1454 set ctsrts off enable lqr add default HISADDR set timeout 0 set redial 7 0 set socket /var/run/pppsocket **** ***** #Network Address Translation (NAT) nat enable yes nat log yes #nat same_ports yes nat unregistered_only yes #enable dns # this disabled since the box now runs its own dns bigpond: set authname ******* set authkey ******* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message