----- Original Message -----
From: "James Carlson" <james.d.carl...@sun.com>
Newsgroups: comp.os.linux.networking,comp.protocols.ppp
Sent: Sunday, March 30, 2003 11:01 PM
Subject: Re: ISDN + DIAL-IN +MULTIPOINT question
> Are you using an external TA (aka "ISDN modem") or an internal ISDN
> adapter? (Hint: if it's the former, then you have a chat script
> somewhere with "AT" commands in it.)
I`m using external TA (TAS400E) on serial port.
> > 115200
> That line makes this look like a TA connection. If that's true, then
> you likely don't want multilink support in pppd at all. Instead, you
> want to turn on multilink support in the TA itself. See the
> manufacturer's reference manual for that device. It's some magic "AT"
> command(s).
Does it mean that I don have to put "multilink" option in my
/etc/ppp/options ? I put some AT (ATB41) command to init string, and my
modem after ATI command said that it is in MLPPP mode.
main:/home/somebody# who
ppp ttyS0 Mar 31 08:40 (128000/Async. To Sync. MLPPP)
somebody pts/2 Mar 30 22:33 (acpik153:S.0)
> > Mar 30 10:35:44 main pppd[6615]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> > <auth pap> <magic 0x4d632f77> <mrru 1500>]
> You ask for PPP Multilink operation.
> > Mar 30 10:35:44 main pppd[6615]: rcvd [LCP ConfRej id=0x1 <mrru
> > 1500>]
> The peer refuses.
Do I need to change mrru in ppp deamon configuration ? I remove "noendpoint"
option from my configuration file and I got this:
Mar 31 08:59:03 main pppd[5292]: using channel 4
Mar 31 08:59:03 main pppd[5292]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth pap> <magic 0x9f0fb930> <mrru 1500> <endpoint
[MAC:00:01:03:33:13:49]>]
Mar 31 08:59:03 main pppd[5292]: rcvd [LCP ConfRej id=0x1 <mrru 1500>
<endpoint [MAC:00:01:03:33:13:49]>]
I wonder if you can tell me why MAC address is bad idea for endpoint
discriminator, and what should I put thete instead.
Perhaps this will help you, my mgetty_log
03/31 08:58:58 yS0 mgetty: experimental test release 1.1.27-Oct21
03/31 08:58:58 yS0 mgetty.c compiled at Apr 5 2002, 21:42:08
03/31 08:58:58 yS0 user id: 0, parent pid: 1
03/31 08:58:58 yS0 reading configuration data for port 'ttyS0'
03/31 08:58:58 yS0 reading /etc/mgetty/mgetty.config...
03/31 08:58:58 yS0 conf lib: read: 'debug 4'
03/31 08:58:58 yS0 conf lib: read: 'fax-id '
03/31 08:58:58 yS0 conf lib: read: 'speed 115200'
03/31 08:58:58 yS0 conf lib: read: 'issue-file /etc/issue.mgetty'
03/31 08:58:58 yS0 conf lib: read: 'port ttyS1'
03/31 08:58:58 yS0 section: port ttyS1, ignore
03/31 08:58:58 yS0 conf lib: read: 'debug 8'
03/31 08:58:58 yS0 conf lib: read: 'speed 115200'
03/31 08:58:58 yS0 conf lib: read: 'data-only y'
03/31 08:58:58 yS0 conf lib: read: 'port ttyS0'
03/31 08:58:58 yS0 section: port ttyS0, **found**
03/31 08:58:58 yS0 conf lib: read: 'debug 8'
03/31 08:58:58 yS0 conf lib: read: 'speed 115200'
03/31 08:58:58 yS0 conf lib: read: 'data-only y'
03/31 08:58:58 yS0 key: 'speed', type=0, flags=2, data=115200
03/31 08:58:58 yS0 key: 'switchbd', type=0, flags=1, data=0
03/31 08:58:58 yS0 key: 'direct', type=3, flags=1, data=FALSE
03/31 08:58:58 yS0 key: 'blocking', type=3, flags=1, data=FALSE
03/31 08:58:58 yS0 key: 'port-owner', type=1, flags=1, data=root
03/31 08:58:58 yS0 key: 'port-group', type=1, flags=1, data=dialout
03/31 08:58:58 yS0 key: 'port-mode', type=0, flags=1, data=432
03/31 08:58:58 yS0 key: 'toggle-dtr', type=3, flags=1, data=TRUE
03/31 08:58:58 yS0 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
03/31 08:58:58 yS0 key: 'need-dsr', type=3, flags=1, data=FALSE
03/31 08:58:58 yS0 key: 'data-only', type=3, flags=3, data=TRUE
03/31 08:58:58 yS0 key: 'fax-only', type=3, flags=1, data=FALSE
03/31 08:58:58 yS0 key: 'modem-type', type=1, flags=1, data=auto
03/31 08:58:58 yS0 key: 'modem-quirks', type=0, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'init-chat', type=2, flags=2, data= ATB41
03/31 08:58:58 yS0 key: 'force-init-chat', type=2, flags=1, data=
\d \d\d\d+++\d\d\d
\dATQ0V1H0 OK
03/31 08:58:58 yS0 key: 'post-init-chat', type=2, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'data-flow', type=4, flags=1, data=1
03/31 08:58:58 yS0 key: 'fax-send-flow', type=4, flags=1, data=7
03/31 08:58:58 yS0 key: 'fax-rec-flow', type=4, flags=1, data=7
03/31 08:58:58 yS0 key: 'modem-check-time', type=0, flags=1, data=3600
03/31 08:58:58 yS0 key: 'rings', type=0, flags=2, data=1
03/31 08:58:58 yS0 key: 'msn-list', type=2, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'cnd-program', type=1, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT
\c
03/31 08:58:58 yS0 key: 'answer-chat-timeout', type=0, flags=1, data=80
03/31 08:58:58 yS0 key: 'autobauding', type=3, flags=1, data=FALSE
03/31 08:58:58 yS0 key: 'ringback', type=3, flags=1, data=FALSE
03/31 08:58:58 yS0 key: 'ringback-time', type=0, flags=1, data=30
03/31 08:58:58 yS0 key: 'ignore-carrier', type=3, flags=1, data=FALSE
03/31 08:58:58 yS0 key: 'issue-file', type=1, flags=3,
data=/etc/issue.mgetty
03/31 08:58:58 yS0 key: 'prompt-waittime', type=0, flags=1, data=500
03/31 08:58:58 yS0 key: 'login-prompt', type=1, flags=1, data=@!login:
03/31 08:58:58 yS0 key: 'login-time', type=0, flags=1, data=240
03/31 08:58:58 yS0 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
03/31 08:58:58 yS0 key: 'login-conf-file', type=1, flags=1,
data=login.config
03/31 08:58:58 yS0 key: 'fax-id', type=1, flags=3, data=
03/31 08:58:58 yS0 key: 'fax-min-speed', type=0, flags=1, data=0
03/31 08:58:58 yS0 key: 'fax-max-speed', type=0, flags=1, data=14400
03/31 08:58:58 yS0 key: 'fax-server-file', type=1, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'diskspace', type=0, flags=1, data=1024
03/31 08:58:58 yS0 key: 'notify', type=1, flags=1, data=root
03/31 08:58:58 yS0 key: 'fax-owner', type=1, flags=1, data=root
03/31 08:58:58 yS0 key: 'fax-group', type=1, flags=1, data=fax
03/31 08:58:58 yS0 key: 'fax-mode', type=0, flags=1, data=432
03/31 08:58:58 yS0 key: 'fax-spool-in', type=1, flags=1,
data=/var/spool/fax/incoming:/tmp
03/31 08:58:58 yS0 key: 'debug', type=0, flags=2, data=5
03/31 08:58:58 yS0 key: 'statistics-chat', type=2, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'statistics-file', type=1, flags=0, data=(empty)
03/31 08:58:58 yS0 key: 'gettydefs', type=1, flags=1, data=n
03/31 08:58:58 yS0 key: 'term', type=1, flags=0, data=(empty)
03/31 08:58:58 yS0 check for lockfiles
03/31 08:58:58 yS0 checklock: no active process has lock, will remove
03/31 08:58:58 yS0 locking the line
03/31 08:58:58 yS0 makelock(ttyS0) called
03/31 08:58:58 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
03/31 08:58:58 yS0 lock made
03/31 08:58:58 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
03/31 08:58:58 yS0 WARNING: DCD line still active, check modem settings
(AT&Dx)
03/31 08:58:58 yS0 lowering DTR to reset Modem
03/31 08:58:59 yS0 TIOCMBIS failed: Input/output error
03/31 08:58:59 yS0 cannot turn off soft carrier: Input/output error
03/31 08:58:59 yS0 tcgetattr failed: Input/output error
03/31 08:58:59 yS0 cannot get TIO: Input/output error
03/31 08:58:59 yS0 mg_init_device failed, trying again
03/31 08:58:59 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
03/31 08:58:59 yS0 lowering DTR to reset Modem
03/31 08:58:59 yS0 tss: set speed to 115200 (10002)
03/31 08:58:59 yS0 tio_set_flow_control( HARD )
03/31 08:58:59 yS0 waiting for line to clear (VTIME), read:
03/31 08:58:59 yS0 send: ATB41[0d]
03/31 08:58:59 yS0 waiting for line to clear (VTIME), read:
ATB41[0d][0d][0a]OK[0d][0a]
03/31 08:59:00 yS0 removing lock file
03/31 08:59:00 yS0 waiting...
03/31 08:59:00 yS0 checking lockfiles, locking the line
03/31 08:59:00 yS0 makelock(ttyS0) called
03/31 08:59:00 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
03/31 08:59:00 yS0 lock made
03/31 08:59:00 yS0 wfr: waiting for ``RING''
03/31 08:59:00 yS0 got: [0d][0a]RING[0d]
03/31 08:59:00 yS0 wfr: rc=0, drn=0
03/31 08:59:00 yS0 send: ATA[0d]
03/31 08:59:00 yS0 waiting for ``CONNECT''
03/31 08:59:00 yS0 got: ATA[0d][0d][0a]CONNECT ** found **
03/31 08:59:01 yS0 send:
03/31 08:59:01 yS0 waiting for ``_''
03/31 08:59:01 yS0 got: 128000/Async. To Sync. MLPPP[0d][0a] ** found **
03/31 08:59:01 yS0 waiting for line to clear (VTIME), read:
~[ff]}#[c0]!}!}!} }1}!}$}%[f4]}%}&^]J[e3]}-}#}&[96]}*~
03/31 08:59:01 yS0 utmp + wtmp entry made
03/31 08:59:01 yS0 tio_set_flow_control( HARD )
03/31 08:59:01 yS0 print welcome banner (/etc/issue.mgetty)
03/31 08:59:01 yS0 getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]!
03/31 08:59:03 yS0 input finished with '\r', setting ICRNL ONLCR
03/31 08:59:03 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
03/31 08:59:03 yS0 match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
03/31 08:59:03 yS0 login: utmp entry: a_ppp
03/31 08:59:03 yS0 utmp + wtmp entry made
03/31 08:59:03 yS0 calling login: cmd='/usr/sbin/pppd', argv[]='pppd
auth -chap +pap login debug'
03/31 08:59:03 ##### data dev=ttyS0, pid=5292, caller='none',
conn='128000/Async. To Sync. MLPPP', name='', cmd='/usr/sbin/pppd',
user='/AutoPPP/'
03/31 08:59:03 yS0 setenv: 'CALLER_ID=none'
03/31 08:59:03 yS0 setenv: 'CALLED_ID='
03/31 08:59:03 yS0 setenv: 'CONNECT=128000/Async. To Sync. MLPPP'
03/31 08:59:03 yS0 setenv: 'DEVICE=ttyS0'