Subject: I need pppd help
To: None <port-sparc64@NetBSD.org>
From: None <jdn@bga.com>
List: port-sparc64
Date: 04/17/2006 12:38:04
pppd on my Ultra10 seems to think my modem hangs up when it actually
doesn't. Immediately after starting the ppp negotiation pppd dies even
though the modem is still connected and the other end is trying to
negotiate. I am running a 64bit kernel and userland. I've tried
nearly everything I can think of, changing speeds and cables to no
avail.
The modem (a USR Courier V.Everything) works fine; I can dial in and
out for a normal logins with a port speed of 115200. The same
configuration works fine for ppp on i386 with the same modem. At
first I thought it was an asyncmap problem, but now, I'm not so
sure. Is this just brain fade on my part? Have I missed something?
Any suggestions on how to debug this would be much appreciated.
Thanks.
-- jay
OS level:
----
NetBSD sks 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #0: Mon Mar 20 04:54:23 CST 2006 jdn@sks:/usr/obj/sys/arch/sparc64/compile/GENERIC sparc64
----
My logs show:
----
Apr 13 07:34:39 sks pppd[1093]: Serial connection established.
Apr 13 07:34:39 sks pppd[1093]: Using interface ppp0
Apr 13 07:34:39 sks pppd[1093]: Connect: ppp0 <--> /dev/ttyh0
Apr 13 07:34:39 sks pppd[1093]: Modem hangup
Apr 13 07:34:39 sks pppd[1093]: Connection terminated.
Apr 13 07:34:40 sks pppd[1093]: Exit.
----
The modem configuration is:
----
USRobotics Courier V.Everything Settings...
B0 C1 E0 F1 M0 Q0 V1 X7
BAUD=115200 PARITY=N WORDLEN=8
DIAL=HUNT ON HOOK TIMER
&A3 &B1 &C1 &D2 &G0 &H1 &I0 &K1 &L0 &M4 &N0
&P0 &R2 &S0 &T5 &U0 &X0 &Y1 %N6 #CID=0
S00=000 S01=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=060
S08=002 S09=006 S10=014 S11=070 S12=050 S13=000 S14=001 S15=000
S16=000 S17=000 S18=000 S19=000 S20=000 S21=010 S22=017 S23=019
S24=150 S25=005 S26=001 S27=000 S28=008 S29=020 S30=000 S31=000
S32=009 S33=000 S34=000 S35=000 S36=000 S37=000 S38=040 S39=000
S40=000 S41=000 S42=126 S43=200 S44=015 S45=000 S46=000 S47=000
S48=000 S49=000 S50=000 S51=000 S52=000 S53=000 S54=064 S55=000
S56=000 S57=000 S58=000 S59=000 S60=000 S61=000 S62=000 S63=000
S64=000 S65=000 S66=000 S67=000 S68=000 S69=000 S70=000
LAST DIALED #:
OK
----
/etc/ppp/options file is:
----
/dev/ttyh0
noauth
modem
115200
lock
asyncmap 200a0000
----
The actual script I use to connect (yes, I know it's redundant) is:
----
/usr/sbin/pppd connect '/usr/sbin/chat -v ABORT BUSY "" \
AT\&F1 "" \\d\\dAT+FCLASS=0 "" \
\\d\\dATE1Q0M0L0X1 OK \
\\dAT\&A0\&B1\&C1\&D2\&H1\&K3\&S5\\sS2=255\\sS12=255 OK \
\\dATS7=60\\sS38=40 OK \
\\dATDTxxxxxxx CONNECT "" ogin: xxxx word: xxxxxxxx' \
/dev/ttyh0 115200 crtscts \
modem lock netmask 255.255.255.0 \
noipdefault defaultroute idle 30 debug asyncmap 200a0000