Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 1999 07:20:41 -0600
From:      Alan Bindemann <alan.bindemann@ibm.net>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Difficulties w/ ppp, "term" crashes machine
Message-ID:  <01BE6F7D.84A12120.alan.bindemann@ibm.net>

next in thread | raw e-mail | index | archive | help
I'm having difficulty setting up ppp on my machine.  When running ppp in 
the manual mode it locks up the machine as soon as I enter the term 
command.  I don't have any luck connecting in the auto mode either.  Any 
help I can get on this will be greatly appreciated.  Here are the 
specifics...

Machine - 350 MHz AMD-K6, IBM Aptiva
Modem - 3-Com USR 56k Faxmodem v.90 Internal (ISA Slot)
FreeBSD version 3.1

I have had the same results using both the GENERIC kernel, and a customized 
version of the kernel.  The output of dmesg using the customized kernel is 
shown below...

   Copyright (c) 1992-1999 FreeBSD Inc.
   Copyright (c) 1982, 1986, 1989, 1991, 1993
   	The Regents of the University of California. All rights reserved.
   FreeBSD 3.1-RELEASE #2: Mon Mar 15 21:42:39 CST 1999
       root@ridgewood.bindemann.org:/usr/src/sys/compile/AMDK2
   Timecounter "i8254"  frequency 1193182 Hz
   Timecounter "TSC"  frequency 349179856 Hz
   CPU: AMD-K6(tm) 3D processor (349.18-MHz 586-class CPU)
     Origin = "AuthenticAMD"  Id = 0x580  Stepping=0
     Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
   real memory  = 67108864 (65536K bytes)
   avail memory = 62726144 (61256K bytes)
   Preloaded elf kernel "kernel" at 0xf026d000.
   Probing for devices on PCI bus 0:
   chip0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> rev 0x04 on pci0.0.0
   chip1: <AcerLabs M5243 PCI-PCI bridge> rev 0x04 on pci0.1.0
   chip2: <AcerLabs M1533 portable PCI-ISA bridge> rev 0xb5 on pci0.7.0
   ide_pci0: <Acer Aladdin IV/V (M5229) Bus-master IDE controller> rev 0x20 
int a irq 14 on pci0.15.0
   Probing for devices on PCI bus 1:
   vga0: <ATI model 4742 graphics accelerator> rev 0x5c on pci1.0.0
   Probing for devices on the ISA bus:
   sc0 on isa
   sc0: VGA color <16 virtual consoles, flags=0x0>
   atkbdc0 at 0x60-0x6f on motherboard
   atkbd0 irq 1 on isa
   psm0 irq 12 on isa
   psm0: model Generic PS/2 mouse, device ID 0
   sio0: configured irq 4 not in bitmap of probed irqs 0
   sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
   sio0: type 8250
   sio1 at 0x2f8-0x2ff irq 3 on isa
   sio1: type 16550A
   fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
   fdc0: FIFO enabled, 8 bytes threshold
   fd0: 1.44MB 3.5in
   wdc0 at 0x1f0-0x1f7 irq 14 on isa
   wdc0: unit 0 (wd0): <Maxtor 90840D5>
   wd0: 8047MB (16481808 sectors), 16351 cyls, 16 heads, 63 S/T, 512 B/S
   wdc0: unit 1 (wd1): <WDC AC28400R>
   wd1: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
   wdc1 at 0x170-0x177 irq 15 on isa
   wdc1: unit 0 (atapi): <ATAPI CD-ROM DRIVE 32X MAXIMUM/32KP>, removable, 
dma, iordis
   acd0: drive speed 5512KB/sec, 128KB cache
   acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
   acd0: Audio: play, 255 volume levels
   acd0: Mechanism: ejectable tray
   acd0: Medium: no/blank disc inside, unlocked
   ppc0 at 0x378 irq 7 on isa
   ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
   ppc0: FIFO with 16/16/7 bytes threshold
   ppb0: IEEE1284 device found /NIBBLE
   Probing for PnP devices on ppbus0:
   ppbus0: <Canon BJC-250/1.04> PRINTER BJ,LQ,BJL,BJRaster,BSCC
   nlpt0: <generic printer> on ppbus 0
   nlpt0: Interrupt-driven port
   ppi0: <generic parallel i/o> on ppbus 0
   plip0: <PLIP network interface> on ppbus 0
   vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
   npx0 on motherboard
   npx0: INT 16 interface
   css0 at 0x534 irq 5 drq 1 flags 0x100 on isa
   snd0: <CS4232 (CS4236)>
   mpu0 not probed due to drq conflict with css0 at 1
   joy0 at 0x201 on isa
   joy0: joystick
   changing root device to wd1s1a

The contents of my /etc/ppp/ppp.conf file are as follows...

   #################################################################
   #
   # PPP Configuration File
   #
   #################################################################

   default:
    set server 3000 ""
    allow users *
    set device /dev/cuaa0
    set speed 115200
    disable lqr
    deny lqr
    accept pap
    set log Phase Chat LCP IPCP CCP tun command
    set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK 
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
    set redial 3 10
   # -- End of DEFAULT
   #################################################################

   #################################################################
   ibm:
    set phone xxx-xxxx
    set authname xxxxxx
    set authkey xxxxxx
    set timeout 300
   # -- End of IBM
   #################################################################

   #################################################################
   ibm-auto:
    load ibm
    set redial 3 10
    add 0 0 27.2.2.2
   # load filters
    set ifaddr 10.0.0.1/0 10.0 0.2/0 255.255.255.0 0 0 0 0
    add default HISADDR
   # -- End of IBM-AUTO
   #################################################################

The contents of /etc/ppp/ppp.linkup are...

   ibm:
    delete ALL
    add default HISADDR

   ibm-auto:
    delete ALL
    add default HISADDR

The contents of /etc/hosts.conf is shown below...

   # $Id: host.conf,v 1.5 1998/11/16 02:02:30 jkh Exp $
   # First try the /etc/hosts file
   hosts
   # Now try the nameserver next.
   bind
   # If you have YP/NIS configured, uncomment the next line
   # nis

The meat and potatoes of /etc/hosts is...

   #127.0.0.1		localhost localhost.my.domain myname.my.domain
   127.0.0.1		localhost localhost.bindemann.org ridgewood.bindemann.org
   10.0.0.1		ridgewood.bindemann.org	ridgewood

The machine locks up when I enter the following sequence of commands at the 
ppp> prompt

set line /dev/cuaa0
set speed 115200
term

Any pointers on recovery at this point would be appreciated.  I have always 
had to resort to cycling power at this point.

Thanks,
Alan Bindemann






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?01BE6F7D.84A12120.alan.bindemann>