Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2003 17:20:11 +1000
From:      nevle <brucen@ansonic.com.au>
To:        freebsd-questions@freebsd.org
Subject:   re:ppp confusion
Message-ID:  <200310091720.11436.brucen@ansonic.com.au>

next in thread | raw e-mail | index | archive | help
Hi,
I made the changes you suggested and seemed to be connected (full modem=20
lights) but couldn't log-on to any site(using Lynx),tried to "ping -c=20
204.216.27.18" ,and got "invalid count of packets to transmit..."(not sur=
e if=20
I should do that, but I'm getting desperate!).Have included latest ppp.co=
nf=20
and ppp.log(with the appropriate changes to protect the innocent).
IPV6CP?
Thanks for your patience,hope you can help
nevle=20
##ppp.conf
#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@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 =3D COM1, cuaa1 =3D 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=09=09=09# 3 minute idle timer (the default)
 enable dns=09=09=09=09# request DNS info (for resolv.conf)
papchap:
=20
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
=20
 set phone 654321

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

 add default HISADDR=09=09=09# Add a (sticky) default route



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



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