Date: Sat, 22 Jun 2002 17:24:23 -0400 From: Andrew Lankford <arlankfo@141.com> To: brian@awfulhak.org, freebsd-net@freebsd.org Subject: More pppoe debugging info Message-ID: <200206221525187.SM01584@141.com>
next in thread | raw e-mail | index | archive | help
Below is my final attempt at documenting my problems using the latest stable ppp/netgraph combo with my DSL modem and 3Com 3c905C-TX ethernet card: Looks like the NGM_PPPOE_<11> (hook "M-^HM-^V^H^Hh ^K^H") string no longer bears any resemblance to the session id bytes. Sorry for not making sure all the text is wrapped properly, but I figure that would make it only harder to read. Andrew Lankford VERSION INFO: FreeBSD bogushost2 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jun 22 15:48:33 EDT 2002 root@bogushost2:/usr/obj/usr/src/sys/ARL0402 i386 PPP Version 2.3.3 - Jun 22 2002 Contents of ppp.conf: default: allow users arlankfo nat unregistered_only yes set log +lcp ipcp phase tun command ccp verizondsl: # deny pap # deny chap # accept chap81 set socket /var/ppp/ppp "" 0117 set device PPPoE:xl0 set authname vze2ztys set authkey van48wee set speed sync set mru 1492 set redial 2 set timeout 0 # enable lqr to see if this will deal with bad connections or disconnects? enable lqr set dial set login set ifaddr 10.10.10.9/0 10.1.32.1/0 set urgent udp +53 # DNS searches faster? # enable dns add default HISADDR dial PPP.LOG: Jun 22 16:40:58 bogushost2 ppp[333]: Phase: Using interface: tun0 Jun 22 16:40:58 bogushost2 ppp[333]: Phase: deflink: Created in closed state Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set socket /var/ppp/ppp 0117 Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Phase: Listening at local socket /var/ppp/ppp. Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set device PPPoE:xl0 Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set authname vze2ztys Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set authkey ******** Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set speed sync Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set mru 1492 Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set redial 2 Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set timeout 0 Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: enable lqr Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set dial Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set login Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set ifaddr 10.10.10.9/0 10.1.32.1/0 Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: set urgent udp +53 Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: add default HISADDR Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Command: verizondsl: dial Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Phase: bundle: Establish Jun 22 16:40:58 bogushost2 ppp[333]: tun0: Phase: deflink: closed -> opening Jun 22 16:40:58 bogushost2 ppp[334]: tun0: Phase: PPP Started (auto mode). Jun 22 16:40:58 bogushost2 ppp[334]: tun0: Phase: deflink: Connected! Jun 22 16:40:58 bogushost2 ppp[334]: tun0: Phase: deflink: opening -> dial Jun 22 16:40:58 bogushost2 ppp[334]: tun0: Phase: deflink: dial -> carrier Jun 22 16:41:01 bogushost2 ppp[334]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "RES-6400-3-NRP2") Jun 22 16:41:02 bogushost2 ppp[334]: tun0: Phase: Received NGM_PPPOE_<11> (hook "M-^HM-^V^H^Hh ^K^H") Jun 22 16:41:03 bogushost2 ppp[334]: tun0: Phase: deflink: Disconnected! Jun 22 16:41:03 bogushost2 ppp[334]: tun0: Phase: deflink: carrier -> hangup Jun 22 16:41:03 bogushost2 ppp[334]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Jun 22 16:41:03 bogushost2 ppp[334]: tun0: Phase: deflink: : 0 packets in, 0 packets out Jun 22 16:41:03 bogushost2 ppp[334]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jun 22 16:40:58 2002 Jun 22 16:41:03 bogushost2 ppp[334]: tun0: Phase: deflink: hangup -> closed Jun 22 16:41:03 bogushost2 ppp[334]: tun0: Phase: bundle: Dead Jun 22 16:41:50 bogushost2 ppp[334]: tun0: Phase: Connected to local client. Jun 22 16:41:50 bogushost2 ppp[334]: tun0: Command: /var/ppp/ppp: quit all Jun 22 16:41:50 bogushost2 ppp[334]: tun0: Phase: /var/ppp/ppp: Client connection dropped. Jun 22 16:41:50 bogushost2 ppp[334]: tun0: Phase: PPP Terminated (normal). TCPDUMP OUTPUT: 16:40:58.645213 PPPoE PADI [Host-Uniq UTF8] 16:41:00.643094 PPPoE PADI [Host-Uniq UTF8] 16:41:00.673124 PPPoE PADO [Host-Uniq UTF8] [Service-Name] [AC-Name "RES-6400-3-NRP2"] [AC-Cookie UTF8] 16:41:00.673173 PPPoE PADR [Host-Uniq UTF8] [AC-Cookie UTF8] [AC-Name "RES-6400-3-NRP2"] 16:41:00.739685 PPPoE PADS [ses 0x9688] [Host-Uniq UTF8] [AC-Cookie UTF8] [AC-Name "RES-6400-3-NRP2"] 16:41:00.758209 PPPoE [ses 0x9688] LCP 20: Conf-Req(69), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:02.757866 PPPoE [ses 0x9688] LCP 20: Conf-Req(70), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:03.695201 PPPoE PADT [ses 0x9688] [Generic-Error "session closed"] 16:41:04.777302 PPPoE [ses 0x9688] LCP 20: Conf-Req(71), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:06.777516 PPPoE [ses 0x9688] LCP 20: Conf-Req(72), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:08.781707 PPPoE [ses 0x9688] LCP 20: Conf-Req(73), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:10.780905 PPPoE [ses 0x9688] LCP 20: Conf-Req(74), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:12.789758 PPPoE [ses 0x9688] LCP 20: Conf-Req(75), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:14.801761 PPPoE [ses 0x9688] LCP 20: Conf-Req(76), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:16.786442 PPPoE [ses 0x9688] LCP 20: Conf-Req(77), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:18.788879 PPPoE [ses 0x9688] LCP 20: Conf-Req(78), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:20.791069 PPPoE [ses 0x9688] LCP 20: Conf-Req(79), MRU=1492, Auth-Prot PAP, Magic-Num=cca2f534 16:41:22.792005 PPPoE PADT [ses 0x9688] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206221525187.SM01584>