Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 14:21:25 -0500
From:      Stephen Hilton <nospam@hiltonbsd.com>
To:        freebsd-questions@freebsd.org
Cc:        dhiren kaycee <dkaycee22@yahoo.com>
Subject:   Re: user ppp not working please help
Message-ID:  <20020515142125.0707ae42.nospam@hiltonbsd.com>
In-Reply-To: <20020515172211.25997.qmail@web20101.mail.yahoo.com>
References:  <20020515172211.25997.qmail@web20101.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 May 2002 10:22:11 -0700 (PDT)
dhiren kaycee <dkaycee22@yahoo.com> wrote:

> I have successfully installed FreeBSD 4.5 on a 166 Mhz
> ~ 586, 32 Mb Ram system...but I cannot get the user
> PPP to work...please tell me what I am doing wrong...I
> think the modem is not being detected by the oprating
> system...below is the copy of the dmesg and ppp.conf. 
> 
> If anybody could help me in this matter, it will be
> much appreciated ...thank you
> 
> Dhiren Kaycee
> 
> dmesg:
> 
> Copyright (c) 1992-2002 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 4.5-RELEASE #0: Wed May  1 17:56:51 AST 2002
>     root@dhiren.dhiren.com:/usr/obj/usr/src/sys/KERNEL
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium/P55C (165.79-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x544  Stepping = 4
>  
> Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
> real memory  = 33554432 (32768K bytes)
> avail memory = 28188672 (27528K bytes)
> Preloaded elf kernel "kernel" at 0xc0481000.
> Intel Pentium detected, installing workaround for F00F
> bug
> md0: Malloc disk
> pcibios: No call entry point
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> isab0: <PCI to ISA bridge (vendor=10b9 device=1523)>
> at device 2.0 on pci0
> isa0: <ISA bus> on isab0
> pci0: <ATI Mach64-GT graphics accelerator> at 4.0 irq
> 9
> atapci0: <CMD 646 ATA controller> port 0x7400-0x740f
> at device 5.0 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7
> irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port
> 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model Generic PS/2 mouse, device ID 0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
> 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A

Assuming that "sio1" is your modem this is = to "cuaa1" = "com2"
so adjust your ppp.conf accordingly.


> sio2: configured irq 5 not in bitmap of probed irqs 0
> sio3: configured irq 9 not in bitmap of probed irqs 0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on
> isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> unknown: <GAME> can't assign resources
> ad0: 2014MB <QUANTUM BIGFOOT_CY2160A> [4092/16/63] at
> ata0-master WDMA2
> acd0: CDROM <NEC CD-ROM DRIVE:285> at ata1-slave using
> PIO4
> Mounting root from ufs:/dev/ad0s1a
> fd0c: hard error reading fsbn 16 of 16-31 (No status)
> 
> 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.2.2.5 2001/07/13
> 10:55:23 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
                   ^^^^^
This is where you need to edit to: "/dev/cuaa1"

>  set speed 57600
>  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)
>  #set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
> 0.0.0.0
>  #add default HISADDR
> 
> provider:
> 	set phone "7774929"
> 	set authname ckaycee
> 	set authkey 9lives

If the above information is your real username and password you 
need to contact your ISP ASAP and get your password for your 
internet account changed!!!

Normally you would replace the phone/authname/authkey with xxx's
for posting to a public mailing list ;-)


> 	#set login "TIMEOUT 10 \"\" \"\" gin:--gin: ckaycee
> sword: 9lives"
> 	set timeout 300
> 	set if addr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
> 0.0.0.0
> 	add default HISADDR

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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