ppp confusion

nevle brucen at ansonic.com.au
Thu Oct 9 00:15:25 PDT 2003


Hi,
I made the changes you suggested and seemed to be connected (full modem 
lights) but couldn't log-on to any site(using Lynx),tried to "ping -c 
204.216.27.18" ,and got "invalid count of packets to transmit..."(not sure if 
I should do that, but I'm getting desperate!).Have included latest ppp.conf 
and ppp.log(with the appropriate changes to protect the innocent).
IPV6CP?
Thanks for your patience,hope you can help
nevle 
##ppp.conf
#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself at cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 # ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180			# 3 minute idle timer (the default)
 enable dns				# request DNS info (for resolv.conf)
papchap:
 
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
 
 set phone 654321

 set authname barney
 set authkey bambam
 
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 

 add default HISADDR			# Add a (sticky) default route



##ppp.log
Oct  9 15:14:22 nevsbsd ppp[482]: Phase: Using interface: tun0 
Oct  9 15:14:22 nevsbsd ppp[482]: Phase: deflink: Created in closed state 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set device 
/dev/cuaa0 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set speed 115200 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set dial ABORT BUSY 
ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T 
TIMEOUT 40 CONNECT 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: set timeout 180 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: default: enable dns 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set phone 654321 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set authname barney
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set authkey ******** 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: set ifaddr 
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 
Oct  9 15:14:22 nevsbsd ppp[482]: tun0: Command: papchap: add default HISADDR 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Phase: PPP Started (auto mode). 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Phase: bundle: Establish 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Phase: deflink: closed -> opening 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Phase: deflink: Connected! 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Phase: deflink: opening -> dial 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Phone: 654321
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: deflink: Dial attempt 1 of 1 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Send: AT^M 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Expect(5): OK 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: AT^M^M 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: OK^M 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Send: ATE1Q0^M 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Expect(5): OK 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: ATE1Q0^M^M 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Received: OK^M 
Oct  9 15:14:22 nevsbsd ppp[483]: tun0: Chat: Send: ATDT55602777^M 
Oct  9 15:14:24 nevsbsd ppp[483]: tun0: Chat: Expect(40): CONNECT 
Oct  9 15:14:48 nevsbsd ppp[483]: tun0: Chat: Received: ATDT654321^M^M 
Oct  9 15:14:48 nevsbsd ppp[483]: tun0: Chat: Received: CONNECT 115200^M 
Oct  9 15:14:48 nevsbsd ppp[483]: tun0: Phase: deflink: dial -> carrier 
Oct  9 15:14:49 nevsbsd ppp[483]: tun0: Phase: deflink: /dev/cuaa0: CD 
detected 
Oct  9 15:14:49 nevsbsd ppp[483]: tun0: Phase: deflink: carrier -> login 
Oct  9 15:14:49 nevsbsd ppp[483]: tun0: Phase: deflink: login -> lcp 
Oct  9 15:14:49 nevsbsd ppp[483]: tun0: LCP: FSM: Using "deflink" as a 
transport 
Oct  9 15:14:49 nevsbsd ppp[483]: tun0: LCP: deflink: State change Initial --> 
Closed 
Oct  9 15:14:49 nevsbsd ppp[483]: tun0: LCP: deflink: State change Closed --> 
Stopped 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: LayerStart 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: SendConfigReq(1) state = 
Stopped 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  ACFCOMP[2] 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  PROTOCOMP[2] 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  MRU[4] 1500 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  MAGICNUM[6] 0x3ca64601 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: State change Stopped --> 
Req-Sent 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP: deflink: RecvConfigReq(1) state = 
Req-Sent 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  <0x0>[4] 0000 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  MRU[4] 1524 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  PROTOCOMP[2] 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  ACFCOMP[2] 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  MRRU[4] 1524 
Oct  9 15:14:50 nevsbsd ppp[483]: tun0: LCP:  ENDD


More information about the freebsd-questions mailing list