Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 06:34:36 GMT
From:      "Paul A. Hoadley" <paulh@chariot.net.au>
To:        freebsd-questions@freebsd.org
Cc:        "William Wong" <willwong@anime.ca>
Subject:   Re: PPPoE on 3.4
Message-ID:  <39f52d7c.64a4.0@chariot.net.au>

next in thread | raw e-mail | index | archive | help
>The handbook fails to mention that you must bring up the
>interface for the pppoe device.  It's possible that this is
>what's causing the problem.

Thanks, Will, that's certainly brought me a step closer -- I
had brought the NIC up, but your post pushed me to take a 
closer look -- I had mismatching MTUs in my ifconfig and
ppp.conf -- the machine seems to be talking to the modem
now, but it's still failing.

This time I will paste in part of ppp.log:

-----
[*many* apologies for what will no doubt be AWFUL formatting
of this log file -- I'm having to use my ISP's dreadful
webmail interface while my main machine is down...]

Oct 24 15:49:28 grover ppp[522]: Phase: Using interface: tun0 
Oct 24 15:49:28 grover ppp[522]: Phase: deflink: Created in closed state 
Oct 24 15:49:28 grover ppp[522]: tun0: Command: default: nat enable yes 
Oct 24 15:49:28 grover ppp[522]: tun0: Command: default: nat same_ports yes

Oct 24 15:49:28 grover ppp[522]: tun0: Command: default: nat use_sockets yes

Oct 24 15:49:28 grover ppp[522]: tun0: Command: default: set redial 15 28800

Oct 24 15:49:28 grover ppp[522]: tun0: Command: default: set reconnect 15 28800

Oct 24 15:49:28 grover ppp[523]: tun0: Phase: PPP Started (background mode).

Oct 24 15:49:28 grover ppp[523]: tun0: Phase: bundle: Establish 
Oct 24 15:49:28 grover ppp[523]: tun0: Phase: deflink: closed -> opening 
Oct 24 15:49:28 grover ppp[523]: tun0: Phase: deflink: Connected! 
Oct 24 15:49:28 grover ppp[523]: tun0: Phase: deflink: opening -> dial 
Oct 24 15:49:28 grover ppp[523]: tun0: Chat: deflink: Dial attempt 1 of 28800

Oct 24 15:49:28 grover ppp[523]: tun0: Phase: deflink: dial -> carrier 
Oct 24 15:49:29 grover ppp[523]: tun0: Phase: deflink: /dev/cuaa1 doesn't support
CD 
Oct 24 15:49:29 grover ppp[523]: tun0: Phase: deflink: carrier -> login 
Oct 24 15:49:29 grover ppp[523]: tun0: Phase: deflink: login -> lcp 
Oct 24 15:49:29 grover ppp[523]: tun0: LCP: FSM: Using "deflink" as a transport

Oct 24 15:49:29 grover ppp[523]: tun0: LCP: deflink: State change Initial -->
Closed 
Oct 24 15:49:29 grover ppp[523]: tun0: LCP: deflink: State change Closed -->
Stopped 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP: deflink: LayerStart 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP: deflink: SendConfigReq(1) state
= Stopped 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP:  ACFCOMP[2] 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP:  PROTOCOMP[2] 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP:  MRU[4] 1500 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP:  MAGICNUM[6] 0x6fb7b439 
Oct 24 15:49:30 grover ppp[523]: tun0: LCP: deflink: State change Stopped -->
Req-Sent 
Oct 24 15:49:33 grover ppp[523]: tun0: LCP: deflink: SendConfigReq(1) state
= Req-Sent 
Oct 24 15:49:33 grover ppp[523]: tun0: LCP:  ACFCOMP[2] 
Oct 24 15:49:33 grover ppp[523]: tun0: LCP:  PROTOCOMP[2] 
Oct 24 15:49:33 grover ppp[523]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct 24 15:49:33 grover ppp[523]: tun0: LCP:  MRU[4] 1500 
Oct 24 15:49:33 grover ppp[523]: tun0: LCP:  MAGICNUM[6] 0x6fb7b439 
Oct 24 15:49:36 grover ppp[523]: tun0: LCP: deflink: SendConfigReq(1) state
= Req-Sent 
Oct 24 15:49:36 grover ppp[523]: tun0: LCP:  ACFCOMP[2] 
Oct 24 15:49:36 grover ppp[523]: tun0: LCP:  PROTOCOMP[2] 
Oct 24 15:49:36 grover ppp[523]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct 24 15:49:36 grover ppp[523]: tun0: LCP:  MRU[4] 1500 
Oct 24 15:49:36 grover ppp[523]: tun0: LCP:  MAGICNUM[6] 0x6fb7b439 
Oct 24 15:49:39 grover ppp[523]: tun0: LCP: deflink: SendConfigReq(1) state
= Req-Sent 
Oct 24 15:49:39 grover ppp[523]: tun0: LCP:  ACFCOMP[2] 
Oct 24 15:49:39 grover ppp[523]: tun0: LCP:  PROTOCOMP[2] 
Oct 24 15:49:39 grover ppp[523]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct 24 15:49:39 grover ppp[523]: tun0: LCP:  MRU[4] 1500 
Oct 24 15:49:39 grover ppp[523]: tun0: LCP:  MAGICNUM[6] 0x6fb7b439 
Oct 24 15:49:42 grover ppp[523]: tun0: LCP: deflink: SendConfigReq(1) state
= Req-Sent 
Oct 24 15:49:42 grover ppp[523]: tun0: LCP:  ACFCOMP[2] 
Oct 24 15:49:42 grover ppp[523]: tun0: LCP:  PROTOCOMP[2] 
Oct 24 15:49:42 grover ppp[523]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct 24 15:49:42 grover ppp[523]: tun0: LCP:  MRU[4] 1500 
Oct 24 15:49:42 grover ppp[523]: tun0: LCP:  MAGICNUM[6] 0x6fb7b439 
Oct 24 15:49:45 grover ppp[523]: tun0: LCP: deflink: LayerFinish 
Oct 24 15:49:45 grover ppp[523]: tun0: LCP: deflink: State change Req-Sent -->
Stopped 
Oct 24 15:49:45 grover ppp[523]: tun0: LCP: deflink: State change Stopped -->
Closed 
Oct 24 15:49:45 grover ppp[523]: tun0: LCP: deflink: State change Closed -->
Initial 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase: deflink: Disconnected! 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase: deflink: lcp -> logout 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase: deflink: logout -> hangup 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase: deflink: Disconnected! 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase: deflink: Connect time: 17 secs:
0 octets in, 265 octets out 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase:  total 15 bytes/sec, peak 21 bytes/sec
on Tue Oct 24 15:49:45 2000 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase: deflink: hangup -> opening 
Oct 24 15:49:45 grover ppp[523]: tun0: Phase: deflink: Enter pause (15) for
redialing. 
Oct 24 15:50:00 grover ppp[523]: tun0: Phase: deflink: Redial timer expired.

-----

So I take it my modem is talking to the other end, at least --
how far into the negotiation is it getting, and can anyone
see why it's failing?

Actually, I'll just tack on ppp.conf in case it helps:

-----
# ppp.conf for grover
# modified 01-08-99
# modified 24-10-00 for ADSL

default:
 set log Phase Chat LCP IPCP CCP tun command
 nat enable yes
 nat same_ports yes
 nat use_sockets yes
 set redial 15 28800
 set reconnect 15 28800

pppoe:
 set device PPPoE:rl0:
 set mru 1492
 set mtu 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set timeout 0
 set authname xxxxx
 set authkey xxxxx
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 enable dns
#end
-----

I pulled this straight off the web -- so presumably it works
for someone else!

Thanks for any help anyone can provide.
-- 
Paul.

mailto:paulh@chariot.net.au
mailto:paul.hoadley@student.adelaide.edu.au



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?39f52d7c.64a4.0>