Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 20:47:02 -0700
From:      David Richardson<dlr@davids.org>
To:        questions@FreeBSD.ORG
Subject:   3Com ISDN Problem with kernel pppd
Message-ID:  <278DB237B1C53065072567140012FADE.0000000000000000@davids.org>

next in thread | raw e-mail | index | archive | help
I am running FreeBSD 2.2.7, and have some pppd scripts that I have used for 
the last couple of years to connect to my ISP. I upgraded from my 28.8 to a 
3com IQ ISDN T/A. I changed the phone number, and try to connect. I get 
pass the PAP authentication, and then packets don't forward across the 
line.

Connect the 28.8 modem to the serial port, dial the script, it connects and 
forwards packets.
Connect the ISDN T/A to the same serial port dial the script get the 
dynamic IPs assigned. I try to ping the local assigned IP, and I get 100% 
packet failure. Ping the remote IP, get 100% packet failure, but the SD/RD 
lights flash on the T/A.
Reconnect the 28.8 modem, and all work correctly.
If I setup the ISDN T/A to connect using v.120, it connects just fine.

If I change the pap-secrets file to contain the wrong password, the ppp 
connection fails, but the correct password back I get assigned IPs. So, 
there is some talking working across the T/A.

Bellow I have the registers from the T/A, my dialing script, my ppp options 
file, a sample pap-secrets file, and the syslog from the pppd proc.

Thanks,

Dave

I have the registers from the T/A.

==> AT\S is :
IDLE           00:00:20
LAST DIAL      n/a
PORT 1 ANI     n/a
PORT 2 ANI     n/a
DATA ANI       n/a
CAUSE CODE     (000) Unspecified
SERIAL BPS     115200     AT$B0 (AUTO)
SERIAL FLOW    H/W        AT\Q3
DCD            1          AT&C1
DTR            2          AT&D2
DATA ECHO      ON         ATE1
RESULTS        ON         ATQ0
RESULT TYPE    LONG       ATV1
CONNECT MSG    DTE        ATW0
INACTIVE TIMER 0          AT\T0
COMPRESSION    ON         AT%C2

B-CHAN PROT    QuickSelect
VOICE DBA      IN/OUT
ML PPP         Enabled
ML EPD CLASS   4
ML EPD ADDR    6029401297
L2 FRAME TYPE  I-Frame
V.120 Frm Sz   256 Bytes
CALL WAITING   Port 1
CONF CODE      60
TRANS CODE     61
DROP CODE      62
CALL STATUS    Protocol: n/a, Rate: n/a

==> AT%R
REG  DEC  HEX    REG  DEC  HEX    REG  DEC  HEX
S00  000  00H    S63  009  09H    S79  062  3eH
S50  003  03H    S70  001  01H    S80  001  01H
S55  255  ffH    S71  000  00H    S82  005  04H
S56  255  ffH    S73  000  00H    S84  001  01H
S57  001  01H    S74  256 100H
S58  001  01H    S75  000  00H
S59  001  01H    S76  001  01H
S60  064  40H    S77  060  3cH
S61  000  00H    S78  061  3dH

S51 6025551297
S52 60255512971111
S53 6025551027
S54 60255510271111

S65 <null>
S66 <null>
S67 <null>
S83 6025551297

==> /etc/ppp/p < my dialing script
pppd connect 'chat -V "" ATS71=2S80=1 OK  ATD5551212 CONNECT' /dev/cuaa0 \
 115200 crtscts modem defaultroute user joe

==> /etc/ppp/options
debug
modem
crtscts
defaultroute

==> /etc/ppp/pap-secrets
joe  *  mypassword

==> pppd messages
Feb  9 12:06:49 gateway pppd[3605]: pppd 2.3.5 started by root, uid 0
Feb  9 12:06:49 gateway pppd[3605]: pppd 2.3.5 started by root, uid 0
Feb  9 12:06:53 gateway pppd[3605]: Serial connection established.
Feb  9 12:06:54 gateway pppd[3605]: Using interface ppp0
Feb  9 12:06:54 gateway pppd[3605]: Connect: ppp0 <--> /dev/cuaa1
Feb  9 12:06:54 gateway pppd[3605]: Connect: ppp0 <--> /dev/cuaa1
Feb  9 12:06:54 gateway pppd[3605]: Warning - secret file 
/etc/ppp/pap-secrets has world and/or group access
Feb  9 12:06:54 gateway pppd[3605]: Warning - secret file 
/etc/ppp/pap-secrets has world and/or group access
Feb  9 12:06:54 gateway pppd[3605]: sent [LCP ConfReq id=0x1 <magic 
0x6dd83979> <pcomp> <accomp>]
Feb  9 12:06:54 gateway pppd[3605]: rcvd [LCP ConfRej id=0x1 <pcomp> 
<accomp>]
Feb  9 12:06:54 gateway pppd[3605]: sent [LCP ConfReq id=0x2 <magic 
0x6dd83979>]
Feb  9 12:06:55 gateway named[103]: ns_forw: sendto([128.9.0.107].53): No 
route to host
Feb  9 12:06:57 gateway pppd[3605]: sent [LCP ConfReq id=0x2 <magic 
0x6dd83979>]
Feb  9 12:06:58 gateway pppd[3605]: rcvd [LCP ConfReq id=0x4 <magic 
0x9ebae6e> <auth pap> <asyncmap 0x0>]
Feb  9 12:06:58 gateway pppd[3605]: sent [LCP ConfAck id=0x4 <magic 
0x9ebae6e> <auth pap> <asyncmap 0x0>]
Feb  9 12:06:58 gateway pppd[3605]: rcvd [LCP ConfAck id=0x2 <magic 
0x6dd83979>]
Feb  9 12:06:58 gateway pppd[3605]: Warning - secret file 
/etc/ppp/pap-secrets has world and/or group access
Feb  9 12:06:58 gateway pppd[3605]: sent [PAP AuthReq id=0x1 user="xxx" 
password="xxx"]
Feb  9 12:06:58 gateway pppd[3605]: rcvd [PAP AuthAck id=0x1 "Login 
Succeeded"]
Feb  9 12:06:58 gateway pppd[3605]: Remote message: Login Succeeded
Feb  9 12:06:58 gateway pppd[3605]: sent [IPCP ConfReq id=0x1 <addr 
10.10.10.100> <compress VJ 0f 01>]
Feb  9 12:06:58 gateway pppd[3605]: rcvd [IPCP ConfReq id=0x1 <compress VJ 
0f 00> <addr 206.165.11.202>]
Feb  9 12:06:58 gateway pppd[3605]: sent [IPCP ConfAck id=0x1 <compress VJ 
0f 00> <addr 206.165.11.202>]
Feb  9 12:06:58 gateway pppd[3605]: rcvd [IPCP ConfNak id=0x1 <addr 
206.165.4.153>]
Feb  9 12:06:58 gateway pppd[3605]: sent [IPCP ConfReq id=0x2 <addr 
206.165.4.153> <compress VJ 0f 01>]
Feb  9 12:06:58 gateway pppd[3605]: rcvd [IPCP ConfAck id=0x2 <addr 
206.165.4.153> <compress VJ 0f 01>]
Feb  9 12:06:58 gateway pppd[3605]: Warning - secret file 
/etc/ppp/pap-secrets has world and/or group access
Feb  9 12:06:58 gateway pppd[3605]: local  IP address 206.165.4.153
Feb  9 12:06:58 gateway pppd[3605]: local  IP address 206.165.4.153
Feb  9 12:06:58 gateway pppd[3605]: remote IP address 206.165.11.202
Feb  9 12:06:58 gateway pppd[3605]: remote IP address 206.165.11.202
<-- right here I try to ping a remote address -->
Feb  9 12:07:22 gateway pppd[3605]: Terminating on signal 15.
Feb  9 12:07:22 gateway pppd[3605]: sent [LCP TermReq id=0x3 "User 
request"]
Feb  9 12:07:22 gateway pppd[3605]: rcvd [LCP TermAck id=0x6]
Feb  9 12:07:22 gateway pppd[3605]: Connection terminated, connected for 1 
minutes 
Feb  9 12:07:22 gateway pppd[3605]: Connection terminated, connected for 1 
minutes 
Feb  9 12:07:23 gateway pppd[3605]: Exit.










"Donald J . Maddox" <dmaddox@conterra.com> on 02/06/99 17:05:20
Please respond to dmaddox@conterra.com
To:     David Richardson <dlr@davids.org>
cc: 
Subject:        Re: your mail

Ok, let me try to restate what I meant to say in my original message.

The 3Com Impact acts _exactly_ like any other modem as far as pppd
is concerned.  I don't know of any reason why you would get different
results from pppd with the TA than you would with any other modem,
unless you have the TA misconfigured in some way.  Unfortunately,
you have provided no information so far that could help identify
such misconfiguration.  Nobody can help you if you don't send log
files, and preferably, also what you get from the TA when you type
"at\s" and "at%r" from a terminal program.

On Sat, Feb 06, 1999 at 04:42:46PM -0700, David Richardson wrote:
> Donald,
> 
> With these two files I get connected with the 3Com T/A. If I change S71=2 

> to S71=1, then I connect with both B channels, but I am unable to route 
> across the ppp connection.
> 
> Thank you,
> Dave
> 
> #p - a program to start pppd - all one line
> pppd connect 'chat -v "" ATS71=2S80=1 OK  ATDT5551212 CONNECT' /dev/cuaa0 

> 115200 crtscts modem  defaultroute user joe
> 
> #/etc/ppp/pap-secrets
> joe  *  mypassword  *





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?278DB237B1C53065072567140012FADE.0000000000000000>