Re: PPP Connection through ISDN Line

From: John LeMay (jlemay@njmc.com)
Date: Thu Jan 27 2000 - 11:53:59 EST


I haven't been following this, but it looks to me like the user is
attempting to login in clear text mode which the server is expecting PAP
or CHAP. In other words, setup the correct secrets file with the user id
and password and get rid of the "expect serid:" and (I expect) "expect
ssword:".

Eduardo Soriano wrote:
>
> Ramakant,
>
> I am back from travelling.
>
> Ramakant wrote:
>
> > It looks as if PPP is coming along fine on the ISDN line.
>
> I agree with you. The line is displayed as open by Zyxel .
>
> >
> > It always starts with a ~ character.
> > I think it will work if you expect a '~' in your chat script at the
> > end. That is how I have set up with a Zyxel TA128.
> >
>
> That's what I did today. This is the connection log. Do not pay attention to the
> CONNECT 38400.
> This ppp client is running on a 2.0.36 system with HIGHSPEED on. That means
> 38400 is 115200.
> I tried with 2.2.12 with the same results.
> Any idea ?
>
> Jan 27 17:32:40 dap50 chat[183]: OK -- got it
> Jan 27 17:32:40 dap50 chat[183]: send (ATDIxxxxxxxxxx^M)
> Jan 27 17:32:40 dap50 chat[183]: expect (~)
> Jan 27 17:32:40 dap50 chat[183]: ^M
> Jan 27 17:32:44 dap50 chat[183]: ^M
> Jan 27 17:32:44 dap50 chat[183]: CARRIER 64000^M
> Jan 27 17:32:44 dap50 chat[183]: ^M
> Jan 27 17:32:44 dap50 chat[183]: PROTOCOL: PPP^M
> Jan 27 17:32:44 dap50 chat[183]: ^M
> Jan 27 17:32:44 dap50 chat[183]: ERROR CONTROL: NONE^M
> Jan 27 17:32:44 dap50 chat[183]: ^M
> Jan 27 17:32:44 dap50 chat[183]: CONNECT 38400^M
> Jan 27 17:32:44 dap50 chat[183]: ^M
> Jan 27 17:32:44 dap50 chat[183]: ~ -- got it
> Jan 27 17:32:44 dap50 chat[183]: send (^M^M^M)
> Jan 27 17:32:44 dap50 chat[183]: expect (erid:)
> Jan 27 17:32:56 dap50 chat[183]: ^?}#@!}$U} }&} }"]q~^?}#@!}!}#} }!}$}%r}"}&} }
> } } }#},@'}!} } }#} } } }.}%}&W>7._w~^?}#@!}!}$} }!}$}%r}"}&} } } } }#},@'}!} }
> }#} } } }.}%}&W>7.q<~^?}#@!}!}%} }!}$}%r}"}&} } } } }#},@'}!} } }#} } }
> }.}%}&W>7.Ey~^?}#@!}!}&} }!}$}%r}"}&} } } } }#},@'}!} } }#} } }
> }.}%}&W>7.^H>~^?}#@!}!}'} }!}$}%r}"}&} } } } }#},@'}!} } }#} } }
> }.}%}&W>7.<{~^?}#@!}!}(} } -- failed
> Jan 27 17:32:56 dap50 pppd[181]: Connect script failed
> Jan 27 17:32:56 dap50 pppd[181]: Exit.
>
> >
> > Ramakant
> >
> > Eduardo Soriano wrote:
> > >
> > >
> > > Hello,
> > >
> > > I am trying to set up a connection with a remote user using ISDN line.
> > >
> > > Linux <-----> Zyxel 2840I <------ ISDN 64Kbds ------> ISDN TA < ---->
> > > Remote System
> > >
> > > On my side I am using a Zyxel Elite I 2840 with the latest Zyxel
> > > EPROM.
> > >
> > > The called ISDN system is configured to work as a PPP Internet,
> > > Windows NT or Windows 98
> > > Data Compression and IP header compression.
> > >
> > > This connection works fine when using a bloody Window$ system.
> > >
> > > This is my modem setting sequence:
> > >
> > > ppp.opt
> > >
> > > connect /tmp/Ppp.ChFr/ppp.chat
> > > debug
> > > crtscts
> > > modem
> > > ipcp-accept-local
> > > ipcp-accept-remote
> > > sync
> > > lock
> > >
> > > ppp.chat
> > >
> > > /usr/sbin/chat -v ABORT BUSY ABORT 'NO ANSWER' ABORT 'NO
> > > CARRIER' \
> > > '' 'ATZ' 'OK' 'AT&FZE0X8' 'OK' 'ATV1&D2&C1S0=0' 'OK' \
> > > 'AT&L1S38.3=1S48.2=1' 'OK' 'ATS84.4=1S118.3=1' 'OK' \
> > > 'ATCN<0>' 'OK' 'ATCI<00>' 'OK' \
> > > 'ATS7=60S50=0L4M1&K3*E0&K00&H3B0' 'OK' \
> > > 'ATDIxxxxxxxx' 'CONNECT 115200' \
> > > '\r\r' erid:-BREAK-erid: xxxx 'ssword?' xxxx
> > >
> > > /etc/ppp/options
> > >
> > > lock
> > > noauth
> > >
> > > connection log
> > > Jan 21 16:48:45 localhost pppd[5599]: pppd 2.3.10 started by root, uid
> > > 0
> > > Jan 21 16:48:46 localhost chat[5601]: abort on (BUSY)
> > > Jan 21 16:48:46 localhost chat[5601]: abort on (NO ANSWER)
> > > Jan 21 16:48:46 localhost chat[5601]: abort on (NO CARRIER)
> > > Jan 21 16:48:46 localhost chat[5601]: send (ATZ^M)
> > > Jan 21 16:48:46 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:46 localhost chat[5601]: ^M
> > > Jan 21 16:48:46 localhost chat[5601]: OK
> > > Jan 21 16:48:46 localhost chat[5601]: -- got it
> > > Jan 21 16:48:46 localhost chat[5601]: send (AT&FZE0X8^M)
> > > Jan 21 16:48:46 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:46 localhost chat[5601]: ^M
> > > Jan 21 16:48:46 localhost chat[5601]: AT&FZE0X8^M^M
> > > Jan 21 16:48:46 localhost chat[5601]: OK
> > > Jan 21 16:48:46 localhost chat[5601]: -- got it
> > > Jan 21 16:48:46 localhost chat[5601]: send (ATV1&D2&C1S0=0^M)
> > > Jan 21 16:48:46 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:46 localhost chat[5601]: ^M
> > > Jan 21 16:48:46 localhost chat[5601]: ^M
> > > Jan 21 16:48:46 localhost chat[5601]: OK
> > > Jan 21 16:48:46 localhost chat[5601]: -- got it
> > > Jan 21 16:48:46 localhost chat[5601]: send (AT&L1S38.3=1S48.2=1^M)
> > > Jan 21 16:48:47 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:47 localhost chat[5601]: ^M
> > > Jan 21 16:48:47 localhost chat[5601]: ^M
> > > Jan 21 16:48:47 localhost chat[5601]: OK
> > > Jan 21 16:48:47 localhost chat[5601]: -- got it
> > > Jan 21 16:48:47 localhost chat[5601]: send (ATS84.4=1S118.3=1^M)
> > > Jan 21 16:48:47 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:47 localhost chat[5601]: ^M
> > > Jan 21 16:48:47 localhost chat[5601]: ^M
> > > Jan 21 16:48:47 localhost chat[5601]: OK
> > > Jan 21 16:48:47 localhost chat[5601]: -- got it
> > > Jan 21 16:48:47 localhost chat[5601]: send (ATCN<0>^M)
> > > Jan 21 16:48:47 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:47 localhost chat[5601]: ^M
> > > Jan 21 16:48:47 localhost chat[5601]: ^M
> > > Jan 21 16:48:47 localhost chat[5601]: OK
> > > Jan 21 16:48:47 localhost chat[5601]: -- got it
> > > Jan 21 16:48:47 localhost chat[5601]: send (ATCI<00>^M)
> > > Jan 21 16:48:48 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:48 localhost chat[5601]: ^M
> > > Jan 21 16:48:48 localhost chat[5601]: ^M
> > > Jan 21 16:48:48 localhost chat[5601]: OK
> > > Jan 21 16:48:48 localhost chat[5601]: -- got it
> > > Jan 21 16:48:48 localhost chat[5601]: send
> > > (ATS7=60S50=0L4M1&K3*E0&K00&H3B0^M)
> > > Jan 21 16:48:48 localhost chat[5601]: expect (OK)
> > > Jan 21 16:48:48 localhost chat[5601]: ^M
> > > Jan 21 16:48:48 localhost chat[5601]: ^M
> > > Jan 21 16:48:48 localhost chat[5601]: OK
> > > Jan 21 16:48:48 localhost chat[5601]: -- got it
> > > Jan 21 16:48:48 localhost chat[5601]: send (ATDIxxxxxxxx^M)
> > > Jan 21 16:48:49 localhost chat[5601]: expect (CONNECT 115200)
> > > Jan 21 16:48:49 localhost chat[5601]: ^M
> > > Jan 21 16:48:52 localhost chat[5601]: ^M
> > > Jan 21 16:48:52 localhost chat[5601]: CARRIER 64000^M
> > > Jan 21 16:48:52 localhost chat[5601]: ^M
> > > Jan 21 16:48:52 localhost chat[5601]: PROTOCOL: PPP^M
> > > Jan 21 16:48:52 localhost chat[5601]: ^M
> > > Jan 21 16:48:52 localhost chat[5601]: ERROR CONTROL: NONE^M
> > > Jan 21 16:48:52 localhost chat[5601]: ^M
> > > Jan 21 16:48:52 localhost chat[5601]: CONNECT 115200^M
> > > Jan 21 16:48:52 localhost chat[5601]: ^M
> > > Jan 21 16:48:54 localhost chat[5601]: ~^?}#@!}$U} }&}
> > > }"]q~^?}#@!}!}#} }!}$}%r}"}&} } } } }#},@'}!} } }#} } } }.}%}&Vn@
> > > Jan 21 16:48:58 localhost chat[5601]: d}7^Y~^?}#@!}!}$} }!}$}%r}"}&}
> > > } } } }#},@'}!} } }#} } } }.}%}&Vn@d9R~^?}#@!}!}%}
> > > Jan 21 16:49:00 localhost chat[5601]: }!}$}%r}"}&} } } } }#},@'}!} }
> > > }#} } } }.}%}&Vn@d^M}7~^?}#@!}!}&} }!}$}%r}"}&} }
> > > Jan 21 16:49:02 localhost chat[5601]: } } }#},@'}!} } }#} } }
> > > }.}%}&Vn@d@P~^?}#@!}!}'} }!}$}%r}"}&} } } } }#},@'}!} }
> > > Jan 21 16:49:04 localhost chat[5601]: }#} } }
> > > }.}%}&Vn@dt^U~^?}#@!}!}(} }!}$}%r}"}&} } } } }#},@'}!} } }#} } }
> > > }.}%}&V
> > > Jan 21 16:49:08 localhost chat[5601]: n@d^\G~^?}#@!}!})} }!}$}%r}"}&}
> > > } } } }#},@'}!} } }#} } } }.}%}&Vn@d(}"~^?}#@!}!}*
> > > Jan 21 16:49:10 localhost chat[5601]: } }!}$}%r}"}&} } } } }#},@'}!}
> > > } }#} } } }.}%}&Vn@deE~^?}#@!}!}+} }!}$}%r}"}&}
> > > Jan 21 16:49:12 localhost chat[5601]: } } } }#},@'}!} } }#} } }
> > > }.}%}&Vn@dQ^@~^?}#@!}!},} }!}$}%r}"}&} } } } }#},@'}!}
> > > Jan 21 16:49:14 localhost chat[5601]: } }#} } }
> > > }.}%}&Vn@d^?K~^?}#@!}!}-} }!}$}%r}"}&} } } } }#},@'}!} } }#} } }
> > > }.}%}&
> > > Jan 21 16:49:17 localhost chat[5601]: Vn@dK}.~^M
> > > Jan 21 16:49:17 localhost chat[5601]: NO CARRIER
> > > Jan 21 16:49:17 localhost chat[5601]: -- failed
> > > Jan 21 16:49:17 localhost chat[5601]: Failed (NO CARRIER)
> > > Jan 21 16:49:17 localhost pppd[5599]: Connect script failed
> > > Jan 21 16:49:18 localhost pppd[5599]: Exit.
> > >
> > >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu

-- 
John LeMay Jr.
Senior Enterprise Consultant
NJMC, LLC.

The rules have changed... Get paid to surf the web!!! http://www.alladvantage.com/go.asp?refid=bdc893


- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:33 EST