re:ppp confusion

2003-10-09 Thread nevle
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 [EMAIL PROTECTED]
#
# 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] 0x 
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 

re:ppp confusion

2003-10-08 Thread nevle
Hi,
thanks for your reply,dmesg.boot,ppp.conf and ppp.log files are below.The man 
ppp seems to be saying that I connect with ppp -ddial myisp, is this 
correct?My modem is Simplecomputing netexpress 56K external modem.Hope that 
you can make things a little clearer for me and I  appreciate the time you 
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
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003
[EMAIL PROTECTED]:/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 141953 Hz
CPU: AMD Duron(tm) processor (1000.04-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x671  Stepping = 1
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 134152192 (127 MB)
avail memory = 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 
0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 82C8363 (Apollo KT133A) host to PCI bridge mem 
0xd000-0xd3ff 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 
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 
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 
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 
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 0xc-0xca7ff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb 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 [EMAIL PROTECTED]
#
# 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