Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 21:30:24 +1000
From:      nevle <brucen@ansonic.com.au>
To:        freebsd-questions@freebsd.org
Subject:   re:ppp confusion
Message-ID:  <200310082130.24461.brucen@ansonic.com.au>

next in thread | raw e-mail | index | archive | help
Hi,
thanks for your reply,dmesg.boot,ppp.conf and ppp.log files are below.The=
 man=20
ppp seems to be saying that I connect with ppp -ddial myisp, is this=20
correct?My modem is Simplecomputing netexpress 56K external modem.Hope th=
at=20
you can make things a little clearer for me and I  appreciate the time yo=
u=20
have spent helping me.
nevle

###dmesg.boot
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
=09The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003
    root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc06d4000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06d41f4.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1000041953 Hz
CPU: AMD Duron(tm) processor (1000.04-MHz 686-class CPU)
  Origin =3D "AuthenticAMD"  Id =3D 0x671  Stepping =3D 1
 =20
Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=3D0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  =3D 134152192 (127 MB)
avail memory =3D 122933248 (117 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdd00
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port=20
0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on ac=
pi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem=20
0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xd000-0xd00f at device 7.=
1 on=20
pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 7.2=
 on=20
pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 9 at device 7.3=
 on=20
pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 7.4 (no driver attached)
pci0: <multimedia, audio> at device 11.0 (no driver attached)
pci0: <input device> at device 11.1 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port=20
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: <Option ROM> at iomem 0xc0000-0xca7ff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-master UDMA100
acd0: CD-RW <LG CD-RW CED-8080B> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s3a
 ###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:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
ansonic:=20
 set phone 123456
 set login
 set authname barney
 set authkey bambam=20
=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

 #enable dns
###ppp.log

Oct  8 15:29:46 nevsbsd ppp[507]: Phase: Using interface: tun0=20
Oct  8 15:29:46 nevsbsd ppp[507]: Phase: deflink: Created in closed state=
=20
Oct  8 15:29:46 nevsbsd ppp[507]: tun0: Command: default: ident user-ppp=20
VERSION (built COMPILATIONDATE)=20
Oct  8 15:29:46 nevsbsd ppp[507]: tun0: Command: default: set device=20
/dev/cuaa0=20
Oct  8 15:29:46 nevsbsd ppp[507]: tun0: Command: default: set speed 11520=
0=20
Oct  8 15:29:46 nevsbsd ppp[507]: 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  8 15:29:46 nevsbsd ppp[507]: tun0: Command: default: set timeout 180=
=20
Oct  8 15:29:46 nevsbsd ppp[507]: tun0: Command: default: papchap:=20
Oct  8 15:29:46 nevsbsd ppp[507]: tun0: Warning: papchap:: Invalid comman=
d=20
Oct  8 15:29:46 nevsbsd ppp[507]: tun0: Warning: papchap:: Failed 1=20
Oct  8 15:29:46 nevsbsd ppp[507]: tun0: Phase: PPP Started (interactive m=
ode).=20
Oct  8 15:29:54 nevsbsd ppp[507]: tun0: Command: /dev/ttyv0: ddial=20
Oct  8 15:30:06 nevsbsd ppp[507]: tun0: Command: /dev/ttyv0: ansonic=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Command: /dev/ttyv0: dial=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Phase: bundle: Establish=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Phase: deflink: closed -> opening=
=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Phase: deflink: Connected!=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Phase: deflink: opening -> dial=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: deflink: Dial attempt 1 of =
1=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Send: AT^M=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Expect(5): OK=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Received: AT^M^M=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Received: OK^M=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Send: ATE1Q0^M=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Expect(5): OK=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Received: ATE1Q0^M^M=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Received: OK^M=20
Oct  8 15:30:14 nevsbsd ppp[507]: tun0: Chat: Send: ATDT^M=20
Oct  8 15:30:16 nevsbsd ppp[507]: tun0: Chat: Expect(40): CONNECT=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Chat: Received: ATDT^M^M=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Chat: Received: BUSY^M=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Warning: Chat script failed=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Phase: deflink: dial -> hangup=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Phase: deflink: Disconnected!=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Phase: deflink: Connect time: 14 =
secs:=20
0 octets in, 0 octets out=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Phase: deflink: 0 packets in, 0=20
packets out=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Phase:  total 0 bytes/sec, peak 0=
=20
bytes/sec on Wed Oct  8 15:30:14 2003=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Phase: deflink: hangup -> closed=20
Oct  8 15:30:28 nevsbsd ppp[507]: tun0: Phase: bundle: Dead=20
Oct  8 15:31:01 nevsbsd ppp[507]: tun0: Command: /dev/ttyv0: ppp ********=
=20
ansonic=20
Oct  8 15:31:44 nevsbsd ppp[507]: tun0: Command: /dev/ttyv0: ee ppp.log=20
Oct  8 15:31:47 nevsbsd ppp[507]: tun0: Command: /dev/ttyv0: q=20
Oct  8 15:31:47 nevsbsd ppp[507]: tun0: Phase: PPP Terminated (normal).=20
Oct  8 15:33:50 nevsbsd ppp[527]: Phase: Using interface: tun0=20
Oct  8 15:33:50 nevsbsd ppp[527]: Phase: deflink: Created in closed state=
=20
Oct  8 15:33:50 nevsbsd ppp[527]: tun0: Command: default: ident user-ppp=20
VERSION (built COMPILATIONDATE)=20
Oct  8 15:33:50 nevsbsd ppp[527]: tun0: Command: default: set device=20
/dev/cuaa0=20
Oct  8 15:33:50 nevsbsd ppp[527]: tun0: Command: default: set speed 11520=
0=20
Oct  8 15:33:50 nevsbsd ppp[527]: 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  8 15:33:50 nevsbsd ppp[527]: tun0: Command: default: set timeout 180=
=20
Oct  8 15:33:50 nevsbsd ppp[527]: tun0: Command: default: papchap:=20
Oct  8 15:33:50 nevsbsd ppp[527]: tun0: Warning: papchap:: Invalid comman=
d=20
Oct  8 15:33:50 nevsbsd ppp[527]: tun0: Warning: papchap:: Failed 1=20
Oct  8 15:33:50 nevsbsd ppp[527]: tun0: Phase: PPP Started (interactive m=
ode).=20
Oct  8 15:34:05 nevsbsd ppp[527]: tun0: Command: /dev/ttyv0: ansonic=20
Oct  8 15:34:19 nevsbsd ppp[527]: tun0: Command: /dev/ttyv0: dial=20
Oct  8 15:34:19 nevsbsd ppp[527]: tun0: Phase: bundle: Establish=20
Oct  8 15:34:19 nevsbsd ppp[527]: tun0: Phase: deflink: closed -> opening=
=20
Oct  8 15:34:19 nevsbsd ppp[527]: tun0: Phase: deflink: Connected!=20
Oct  8 15:34:19 nevsbsd ppp[527]: tun0: Phase: deflink: opening -> dial=20
Oct  8 15:34:19 nevsbsd ppp[527]: tun0: Chat: deflink: Dial attempt 1 of =
1=20
Oct  8 15:34:19 nevsbsd ppp[527]: tun0: Chat: Send: AT^M=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Expect(5): OK=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: AT^M^M=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: OK^M=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Send: ATE1Q0^M=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Expect(5): OK=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: ATE1Q0^M^M=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Received: OK^M=20
Oct  8 15:34:20 nevsbsd ppp[527]: tun0: Chat: Send: ATDT^M=20
Oct  8 15:34:22 nevsbsd ppp[527]: tun0: Chat: Expect(40): CONNECT=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Chat: Received: ATDT^M^M=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Chat: Received: BUSY^M=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Warning: Chat script failed=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Phase: deflink: dial -> hangup=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Phase: deflink: Disconnected!=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Phase: deflink: Connect time: 14 =
secs:=20
0 octets in, 0 octets out=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Phase: deflink: 0 packets in, 0=20
packets out=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Phase:  total 0 bytes/sec, peak 0=
=20
bytes/sec on Wed Oct  8 15:34:19 2003=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Phase: deflink: hangup -> closed=20
Oct  8 15:34:33 nevsbsd ppp[527]: tun0: Phase: bundle: Dead=20
Oct  8 15:34:41 nevsbsd ppp[527]: tun0: Command: /dev/ttyv0: q=20
Oct  8 15:34:41 nevsbsd ppp[527]: tun0: Phase: PPP Terminated (normal).=20




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