Date: Mon, 5 Feb 2001 09:48:12 -0800 From: "Hal Weaver" <hweaver@pinetel.com> To: <mobile@FreeBSD.ORG> Subject: PPP problem: PCMCIA modem on ThinkPad Message-ID: <005301c08f9b$ea0b8420$322ae38f@thinkpad>
next in thread | raw e-mail | index | archive | help
I'm using a rather new PCMCIA modem on a Thinkpad 760ED. PPP doesn't work
with the /etc/pccard.conf I'm using, but tip works ok -- I can login to my
IP with it..
/var/log/ppp.log says something about "/dev/cuaa4 doesn't support CD "
Below are some relevant portions from /var/log/ppp.log, pccardc, and
/etc/pccard.conf.
TIA
Hal
================
from /var/log/ppp.log
================
.
.
.
Jan 26 15:52:08 pdx ppp[207]: Phase: Using interface: tun0
Jan 26 15:52:08 pdx ppp[207]: Phase: deflink: Created in closed state
Jan 26 15:52:08 pdx ppp[207]: tun0: Command: default: set device /dev/cuaa4
Jan 26 15:52:08 pdx ppp[207]: tun0: Command: default: set speed 115200
Jan 26 15:52:08 pdx ppp[207]: tun0: Phase: PPP Started (interactive mode).
Jan 26 15:52:15 pdx ppp[207]: tun0: Command: /dev/tty: t
Jan 26 15:52:15 pdx ppp[207]: tun0: Phase: bundle: Establish
Jan 26 15:52:15 pdx ppp[207]: tun0: Phase: deflink: closed -> opening
Jan 26 15:52:17 pdx ppp[207]: tun0: Phase: deflink: Connected!
Jan 26 15:52:17 pdx ppp[207]: tun0: Phase: deflink: opening -> carrier
Jan 26 15:52:18 pdx ppp[207]: tun0: Phase: deflink: /dev/cuaa4 doesn't
support CD
Jan 26 15:52:18 pdx ppp[207]: tun0: Phase: deflink: carrier -> ready
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: /dev/tty: dial
PAPorCHAPpmdemand
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: set phone
8936990
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: set login
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: set authname
hweaverP
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: set authkey
********
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: set timeout
120
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: set ifaddr
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: add default
HISADDR
Jan 26 15:55:11 pdx ppp[207]: tun0: Command: PAPorCHAPpmdemand: enable dns
Jan 26 15:55:11 pdx ppp[207]: tun0: Phase: deflink: ready -> carrier
Jan 26 15:55:11 pdx ppp[207]: tun0: Phase: deflink: carrier -> lcp
Jan 26 15:55:11 pdx ppp[207]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 26 15:55:11 pdx ppp[207]: tun0: LCP: deflink: State change Initial -->
Closed
Jan 26 15:55:11 pdx ppp[207]: tun0: LCP: deflink: State change Closed -->
Stopped
.
.
.
====================
pccardc dumpcis
====================
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
000: 00 ff
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x15 (Version 1 info), length = 40
000: 04 01 41 6d 62 69 63 6f 6d 00 41 6d 62 69 43 6f
010: 6d 20 35 36 4b 20 56 2e 39 30 20 4d 6f 64 65 6d
020: 00 30 32 31 00 41 00 ff
Version = 4.1, Manuf = [Ambicom], card vers = [AmbiCom 56K V.90 Modem]
Addit. info = [021],[A]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
000: 13 00 00 00
PCMCIA ID = 0x13, OEM ID = 0x0
Tuple #4, code = 0x21 (Functional ID), length = 2
000: 02 00
Serial port/modem
Tuple #5, code = 0x22 (Functional EXT), length = 4
000: 00 02 0f 5c
Serial interface extension:
16550 UART, Parity - Space,Mark,Odd,Even
Data bit - 7bit,8bit, Stop bit - 1bit,2bit
Tuple #6, code = 0x22 (Functional EXT), length = 9
000: 05 1f 0f 00 02 00 00 02 00
Data modem interface capabilities:
Tuple #7, code = 0x22 (Functional EXT), length = 9
000: 06 1f 0f 00 30 00 00 30 00
Fax/modem interface capabilities:
Tuple #8, code = 0x22 (Functional EXT), length = 9
000: 07 1f 0f 00 30 00 00 30 00
Voice interface capabilities:
Tuple #9, code = 0x22 (Functional EXT), length = 13
000: 02 0c 00 3f 1c 03 03 0f 07 00 01 b5 ff
Data modem services available:
Tuple #10, code = 0x22 (Functional EXT), length = 9
000: 13 01 00 1f 00 7a 00 b5 ff
Fax1/modem services available:
Tuple #11, code = 0x22 (Functional EXT), length = 16
000: 84 06 00 0b 02 07 14 00 08 00 04 00 02 00 00 00
Voice services available:
Tuple #12, code = 0x1a (Configuration map), length = 5
000: 01 0d 20 04 77
Reg len = 2, config register addr = 0x420, last config = 0xd
Registers: XXX-XXX-
Tuple #13, code = 0x1b (Configuration entry), length = 15
000: c5 41 9d 78 65 26 2e 25 e7 5f 23 30 bc 86 28
Config index = 0x5(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Continuous supply current: 6 x 10mA
Max current average over 1 second: 2 x 100mA
Max current average over 10 ms: 2.5 x 100mA
Power down supply current: 2 x 10mA
RDY/BSY scale Speed = 5.0 x 10 ms, scaled by 10
Card decodes 3 address lines, 8 Bit I/O only
IRQ modes: Level
IRQs: 2 3 4 5 7 9 10 15
Max twin cards = 0
Misc attr: (Audio-BVD2) (Power down supported)
Tuple #14, code = 0x1b (Configuration entry), length = 7
000: 05 08 aa 60 f8 03 07
Config index = 0x5
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3f8 block length = 0x8
Tuple #15, code = 0x1b (Configuration entry), length = 7
000: 05 08 aa 60 f8 02 07
Config index = 0x5
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #16, code = 0x1b (Configuration entry), length = 7
000: 05 08 aa 60 e8 03 07
Config index = 0x5
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #17, code = 0x1b (Configuration entry), length = 7
000: 0d 08 aa 60 e8 02 07
Config index = 0xd
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #18, code = 0xff (Terminator), length = 0
2 slots found
==================
/etc/pccard.conf
==================
# This is the pccard.conf that over-rides /etc/defaults/pccard.conf
# hw, 04.02.2001
io 0x240-0x360
irq 3 10 11 15
memory 0xd4000 96k
# AmbiCom AMB8802 modem (hw, 02.02.2001)
card "Ambicom" "AmbiCom 56K V.90 Modem"
config 0x5 "sio4" ?
reset 10000
logstr "Ambicom V90 Modem"
# -------------------------------------------------------------------
#
# "Wildcard" entries
#
# -------------------------------------------------------------------
# GENERIC PCMCIA modem
generic serial
config auto "sio" ?
reset 10000 # for unstable cards
logstr "GENERIC PCMCIA modem.
.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005301c08f9b$ea0b8420$322ae38f>
