* ppp dial-out connection problems
@ 1999-01-11 5:00 jonasjonsson
1999-01-11 5:00 ` Charles M Richmond
0 siblings, 1 reply; 2+ messages in thread
From: jonasjonsson @ 1999-01-11 5:00 UTC (permalink / raw)
I'm having a hard time configuring an Alpha 433/au, Digital Unix 4.0D (with
what I believe all relevant patches applied) to dial up an ISP. It looks
like if ppp doesn't start negociations with the ISP (i.e. ppp doesn't start
the IPCP- talking from what I understand), it gets stuck with LCP-packet
sending. I can't figure out what's wrong, hopefully somebody out there might
give me the clue that I need to solve this. I'm sending (hopefully) relevant
extra information:
First line below should read #asynchmap 200a0000 but this MSie4.01 don't
accept that ...... :-(
My options-file:
# asynchmap
200a0000
# escape 7e,7f,fe,ff,93
# mru 296
# lcp-echo-interval 60
# lcp-echo-failure 5
# lcp-restart 14
# -mn
# -pap
# -chap
# -bsdcomp
lock
# ipcp-restart 30
ipcp-accept-local
ipcp-accept-remote
debug 2
kdebug 4
crtscts
defaultroute
# netmask 255.255.255.0
passive
# lcp-echo-interval 4
# silent
I use the following command line to start up my furious attempts:
pppd /dev/tty00 57600 connect 'chat -v -f /etc/ppp/ISP-name.chat' -detach
defaultroute
From ppp-log:
Jan 11 08:48:05 gemini pppd[15971]: Connecting with <chat -v -f
/etc/ppp/ISP-name.chat>
Jan 11 08:48:06 gemini chat[15981]: abort on (BUSY)
Jan 11 08:48:06 gemini chat[15981]: abort on (NO CARRIER)
Jan 11 08:48:06 gemini chat[15981]: send (ATZ^M)
Jan 11 08:48:06 gemini chat[15981]: expect (OK)
Jan 11 08:48:07 gemini chat[15981]: ATZ^M^M
Jan 11 08:48:07 gemini chat[15981]: OK -- got it
Jan 11 08:48:07 gemini chat[15981]: send (ATDT--PhoneNo^M)
Jan 11 08:48:07 gemini chat[15981]: expect (CONNECT)
Jan 11 08:48:07 gemini chat[15981]: ^M
Jan 11 08:48:34 gemini chat[15981]: ATDT--PhoneNo^M^M
Jan 11 08:48:34 gemini chat[15981]: CONNECT -- got it
Jan 11 08:48:34 gemini chat[15981]: send (^M)
Jan 11 08:48:34 gemini chat[15981]: expect (rname:)
Jan 11 08:48:34 gemini chat[15981]: 33333/ARQ/V90/LAPM/V42BIS^M
Jan 11 08:48:35 gemini chat[15981]: ^M
Jan 11 08:48:35 gemini chat[15981]: ^M
Jan 11 08:48:35 gemini chat[15981]: User Access Verification^M
Jan 11 08:48:35 gemini chat[15981]: ^M
Jan 11 08:48:35 gemini chat[15981]: Username: -- got it
Jan 11 08:48:35 gemini chat[15981]: send (Oh-no,not-this-one^M)
Jan 11 08:48:35 gemini chat[15981]: expect (sword:)
Jan 11 08:48:35 gemini chat[15981]: Oh-no,not-this-one^M
Jan 11 08:48:35 gemini chat[15981]: Password: -- got it
Jan 11 08:48:35 gemini chat[15981]: send (And-not-this-one-either!^M)
Jan 11 08:48:35 gemini chat[15981]: expect (ISP-prompt>)
Jan 11 08:48:35 gemini chat[15981]: ^M
Jan 11 08:48:35 gemini chat[15981]: ISP-prompt> -- got it
Jan 11 08:48:35 gemini chat[15981]: send (ppp^M)
Jan 11 08:48:35 gemini chat[15981]: timeout set to 5 seconds
Jan 11 08:48:35 gemini chat[15981]: expect (Entering)
Jan 11 08:48:35 gemini chat[15981]: ppp^M
Jan 11 08:48:35 gemini chat[15981]: Entering -- got it
Jan 11 08:48:35 gemini pppd[15971]: Serial connection established.
Jan 11 08:48:36 gemini pppd[15971]: Using interface ppp0
Jan 11 08:48:36 gemini pppd[15971]: Connect: ppp0 <--> /dev/tty00
Jan 11 08:48:36 gemini pppd[15971]: sent [LCP ConfReq id=0x1 <mru 1500> <magic
0x238a7099> <pcomp> <accomp>]
Jan 11 08:48:36 gemini pppd[15971]: fsm_sdata(LCP): Sent code 1, id 1.
Jan 11 08:48:36 gemini pppd[15971]: Timeout 120008210:140007fc0 in 3 seconds.
Jan 11 08:48:36 gemini pppd[15971]: LCP: sending Configure-Request, id 1
Jan 11 08:48:39 gemini pppd[15971]: sent [LCP ConfReq id=0x1 <mru 1500> <magic
0x238a7099> <pcomp> <accomp>]
Jan 11 08:48:39 gemini pppd[15971]: fsm_sdata(LCP): Sent code 1, id 1.
Jan 11 08:48:39 gemini pppd[15971]: Timeout 120008210:140007fc0 in 3 seconds.
Jan 11 08:48:39 gemini pppd[15971]: LCP: sending Configure-Request, id 1
Jan 11 08:48:42 gemini pppd[15971]: sent [LCP ConfReq id=0x1 <mru 1500> <magic
0x238a7099> <pcomp> <accomp>]
These four last lines repeats some ten times (default) and then the connection
is aborted... I get the following stuff into the syslog:
(With kdebug 1)
Jan 11 08:45:16 gemini pppd[15977]: pppd started by root, uid 0
Jan 11 08:45:48 gemini vmunix: ppp_if0: init
Jan 11 08:45:48 gemini vmunix: ppp_async: SIFASYNCMAP ffffffffffffffff
Jan 11 08:45:48 gemini vmunix: ppp_async: SIFCOMPPROT 0
Jan 11 08:45:48 gemini vmunix: ppp_async: SIFCOMPAC 0
Jan 11 08:45:48 gemini vmunix: ppp_async: SIFRASYNCMAP 0
Jan 11 08:45:48 gemini vmunix: ppp_async: SIFCOMPPROT 2
Jan 11 08:45:48 gemini vmunix: ppp_async: SIFCOMPAC 2
Jan 11 08:45:48 gemini pppd[15977]: Connect: ppp0 <--> /dev/tty00
Jan 11 08:46:11 gemini vmunix: ppp_if0: closed
Jan 11 08:46:11 gemini vmunix: ppp_async0: closing
(With kdebug 4)
Jan 11 08:46:21 gemini pppd[15970]: pppd started by root, uid 0
Jan 11 08:46:21 gemini pppd[15970]: Removed stale lock on tty00 (pid 15977)
Jan 11 08:46:53 gemini vmunix: ppp_if0: init
Jan 11 08:46:53 gemini vmunix: ppp_async0: sent output frame of 41 bytes
Jan 11 08:46:53 gemini vmunix: ppp_async:
7eff7d23c0217d217d217d207d327d217d247d25dc7d257d2669417d>
Jan 11 08:46:53 gemini pppd[15970]: Connect: ppp0 <--> /dev/tty00
Jan 11 08:47:07 gemini vmunix: ppp_async0: sent output frame of 41 bytes
Jan 11 08:47:07 gemini vmunix: ppp_async:
7eff7d23c0217d217d217d207d327d217d247d25dc7d257d2669417d>
Jonas Jonsson, Prevas AB, Stockholm, Sweden
E-mail: jonas.jonsson@prevas.ohno (.ohno is really .se)
WWW : http://home5.swipnet.se/~w-57924
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ppp dial-out connection problems
1999-01-11 5:00 ppp dial-out connection problems jonasjonsson
@ 1999-01-11 5:00 ` Charles M Richmond
0 siblings, 0 replies; 2+ messages in thread
From: Charles M Richmond @ 1999-01-11 5:00 UTC (permalink / raw)
jonasjonsson@my-dejanews.com wrote:
>
> I'm having a hard time configuring an Alpha 433/au, Digital Unix 4.0D (with
> what I believe all relevant patches applied) to dial up an ISP. It looks
> like if ppp doesn't start negociations with the ISP (i.e. ppp doesn't start
> the IPCP- talking from what I understand), it gets stuck with LCP-packet
> sending. I can't figure out what's wrong, hopefully somebody out there might
> give me the clue that I need to solve this. I'm sending (hopefully) relevant
> extra information:
>
> First line below should read #asynchmap 200a0000 but this MSie4.01 don't
> accept that ...... :-(
>
> My options-file:
> # asynchmap
> 200a0000
> # escape 7e,7f,fe,ff,93
Are you sure that you do not want to escape these?
> # mru 296
While not pertinent to your problem, I have found a marked
improvement in throughput by setting:
mtu 1006
> # lcp-echo-interval 60
> # lcp-echo-failure 5
> # lcp-restart 14
> # -mn
> # -pap
> # -chap
> # -bsdcomp
> lock
> # ipcp-restart 30
> ipcp-accept-local
> ipcp-accept-remote
> debug 2
> kdebug 4
> crtscts
Did you really want to disable H/W flow control?
> defaultroute
> # netmask 255.255.255.0
> passive
You might try commenting out both 'passive' and 'silent'
If that does not help, then try 'silent' instead of 'passive'
> # lcp-echo-interval 4
> # silent
>
> I use the following command line to start up my furious attempts:
>
> pppd /dev/tty00 57600 connect 'chat -v -f /etc/ppp/ISP-name.chat' -detach
> defaultroute
>
I use an options file that contains only:
************BEGIN****************
asyncmap 200a0000 # XOFF, XON, and ^] (the default telnet escape)
escape 7e,7f,fe,ff,93 # 7-bit and 8-bit variants of rlogin escapes
# 0x93 is XOFF or-ed with top bit (0x80)
mtu 1006 # "ISP" reccommended
************END****************
--
***********************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net *
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W *
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 *
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 *
***********************************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-01-11 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-11 5:00 ppp dial-out connection problems jonasjonsson
1999-01-11 5:00 ` Charles M Richmond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox