Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 00:14:26 +1100
From:      Joel Brakey <joel@perceptek.com.au>
To:        freebsd-questions@freebsd.org
Subject:   PPPoE Troubles
Message-ID:  <C21152AE-3454-11D7-B771-000A27B640AE@perceptek.com.au>

next in thread | raw e-mail | index | archive | help
Hello,

	I'm having troubles with connecting over PPPoE using an Alcatel Speed 
Touch Home modem - as of today. I've had this working happily under 
FreeBSD 4.7 for awhile now, and before that on FreeBSD 4.5. I'm 
guessing it may be a change on my ADSL provider's end, but they won't 
support BSD, and I am a little stumped as to how to fix the problem.

	Here's the log file entries that look to be the source of the problem 
(/var/log/ppp.log):

Jan 30 23:31:51 synapse ppp[77]: tun0: Phase: deflink: hangup -> opening
Jan 30 23:31:51 synapse ppp[77]: tun0: Phase: deflink: Enter pause (0) 
for redialing.
Jan 30 23:31:51 synapse ppp[77]: tun0: Chat: deflink: Redial timer 
expired.
Jan 30 23:31:51 synapse ppp[77]: tun0: Phase: deflink: Connected!
Jan 30 23:31:51 synapse ppp[77]: tun0: Phase: deflink: opening -> dial
Jan 30 23:31:51 synapse ppp[77]: tun0: Phase: deflink: dial -> carrier
Jan 30 23:31:52 synapse ppp[77]: tun0: Phase: Received NGM_PPPOE_ACNAME 
(hook "vet2-exhibition")
Jan 30 23:31:56 synapse ppp[77]: tun0: Phase: deflink: Disconnected!
Jan 30 23:31:56 synapse ppp[77]: tun0: Phase: deflink: carrier -> hangup
Jan 30 23:31:56 synapse ppp[77]: tun0: Phase: deflink: Connect time: 5 
secs: 0 octets in, 0 octets out
Jan 30 23:31:56 synapse ppp[77]: tun0: Phase: deflink: 0 packets in, 0 
packets out
Jan 30 23:31:56 synapse ppp[77]: tun0: Phase:  total 0 bytes/sec, peak 
0 bytes/sec on Thu Jan 30 23:31:51 2003

	I'm not really sure what the Netgraph NGM_PPPOE_ACNAME line means - 
but am guessing PPPoE can't perform an LCP or Microsoft Configure 
Control Protocol configure request correctly anymore. When I try 
running ppp in interactive mode I don't get the first capital P in the 
Ppp, PPp, PPP sequence. I don't have a clue as to how to fix this 
though ;(. It looks like it's receiving an LCP response ok, but can't 
reply?

	Here's my ppp.conf file (which has been working fine before breaking 
today):

	default:
		set log Phase Chat Connect Carrier LCP IPCP CCP tun command
		ident user-ppp VERSION (built COMPILATIONDATE)
		# Manually set DNS servers in /etc/resolv.conf
		# (prevents ppp from dropping the nameserver localhost line)
		# enable dns

		# NAT via PPPOE
		nat dynamic yes
		nat log yes
		nat same_ports yes
		nat use_sockets yes
		nat port tcp 192.168.0.6:8080 8080
		nat port tcp 192.168.0.1:80 80

		# Ensure that "device" references the correct serial port
		# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
		set device PPPoE:rl0:datafast
		set speed sync
		set mru 1492
		set mtu 1492
		set ctsrts off
		enable lqr
		add default HISADDR
		set timeout 0
		set redial 0 0

	datafast:
  		set authname myusername
  		set authkey mypass

	Here's my /etc/rc.conf snippet:
		ifconfig_rl0="media 10baseT/UTP up"

		# PPPoE for DSL
		ppp_enable="YES"
		ppp_profile="datafast"
		ppp_mode="ddial"
		ppp_nat="YES"

	My kernel includes the following (don't know that Netgraph support 
needs to be compiled in anymore - but I require it anyway):

		# ADSL support
		options         NETGRAPH
		options         NETGRAPH_PPPOE
		options         NETGRAPH_SOCKET
		options         NETGRAPH_ETHER

	If anyone could give me a hand with this issue it'd be greatly 
appreciated.

Many Thanks,

	Joel

		
	


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?C21152AE-3454-11D7-B771-000A27B640AE>