Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 13:55:08 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-hardware@FreeBSD.org
Cc:        Vince <liteace4sale@yahoo.com.au>
Subject:   Re: Installing a Winmodem on FreeBSD4.5
Message-ID:  <200408021355.08706.jhb@FreeBSD.org>
In-Reply-To: <20040731133624.3487.qmail@web52001.mail.yahoo.com>
References:  <20040731133624.3487.qmail@web52001.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 31 July 2004 09:36 am, Vince wrote:
> Hello
>
> I am having trouble installing a Lucent LT
> chipped-Netcomm IN5699 modem on FreeBSD4.5. Yeah yeah,
> get a hardware modem, newer distro..., but this has
> become a challenge. Win98 reports it at COM 4. I have
> pkg_add'd the appropriate driver (ltmdm0-1.2.tgz) and
> it is loaded at boot as seen in the dmesg output
> below:
>
> 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: Mon Jan 28 14:31:56 GMT 2002
>
> murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium/P55C (167.05-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
>
> Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
> real memory  = 33554432 (32768K bytes)
> avail memory = 28110848 (27452K bytes)
> Intel Pentium detected, installing workaround for F00F
> bug
> md0: Malloc disk
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0
> on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 ATA33 controller> port
> 0xf000-0xf00f at device 7.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port
> 0x6300-0x631f irq 11 at device 7.2 on pci0
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on
> uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
> addr 1
> uhub0: 2 ports with 2 removable, self powered
> chip1: <Intel 82371AB Power management controller>
> port 0x5f00-0x5f0f at device 7.3 on pci0
> pci0: <S3 ViRGE DX/GX graphics accelerator> at 10.0
> irq 10
> pci0: <unknown card> (vendor=0x11c1, dev=0x0440) at
> 11.0 irq 9
> 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 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on
> isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> ad0: 612MB <QUANTUM FIREBALL640A> [1244/16/63] at
> ata0-master WDMA2
> ad1: 3093MB <FUJITSU MPC3032AT> [6704/15/63] at
> ata0-slave UDMA33
> acd0: CDROM <LG CD-ROM CRD-8522B> at ata1-master using
> PIO4
> Mounting root from ufs:ad1s1a
> ltmdm0: <Lucent Winmodem> port
> 0x6500-0x65ff,0x6400-0x6407 mem 0xe4000000-0xe40000ff
> irq 9 at device 11.0 on pci0
> ltmdm0: type Virtual 16550A
> cd9660: RockRidge Extension
>
> When I run pppd, it returns the error "Connection
> script failed". The relevant files are:
> /etc/ppp/options:
>
> /dev/ltmdm0 115200 # ltmdm0 is a link to cuaa1 or
> cuaa0 (trial and error)
> crtscts		# enable hardware flow control
> modem		# modem control line
> connect "/usr/bin/chat -f /etc/ppp/chat.script"
> noipdefault	# remote PPP server must supply your IP
> address
> 		# if remote server does not provide your IP address
> during
> 		# IPCP remove this line
> passive		# wait for LCP packets
> domain XXXXXX.XXXXXXX.com.au # domain name here
> defaultroute	# put this if you want that PPP server to
> be your default
> 		# route
>
> and /etc/ppp/chat.script:
>
> ABORT BUSY ABORT 'NO CARRIER' "" AT OK ATDT12345678
> CONNECT ""
> TIMEOUT 10 ogin:-\\r-ogin: XXXXXX TIMEOUT 5 sword:
> XXXXXXX
>
> Thanks in advance, Vince

Use /dev/cual0 for the modem device.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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