Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2001 01:11:07 +1100
From:      Greg Lane <gregory.lane@anu.edu.au>
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>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011201011107.A9404>