Date: Thu, 14 Nov 1996 21:51:58 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Robert J Fowler <rjf@cs.rice.edu> Cc: questions@freebsd.org Subject: Re: PPP dialup script/ protocol initialization problem. Message-ID: <Pine.BSI.3.94.961114214730.28188Y-100000@gdi.uoregon.edu> In-Reply-To: <199611141812.MAA21244@helena.cs.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Nov 1996, Robert J Fowler wrote: > I'm having problems getting user ppp to work using a dialing script. > The main symptoms are ppp gets a SIGHUP and freezes before either > a "login OK!" or "login failed." appears. Furthermore, > the log messages appear in a strange order. It's repeatable in that > I get the same screen outputs and log messages each time. It appears that the login script throws a fit and passes a SIGHUP back to the calling agent. Check your login script. > -- Mini-flame on : The man page and examples for ppp have problems. > In particular, there's no complete reference for commands. It was > necessary to browse the source to determine that the debug level > variable modified by the "set debug" command is in fact a bit vector > and that the commant takes a sequence of integers in [0-5] ( or ascii > strings naming the features to log). Also, the examples use > "ername:-\\r-ername:", though my reading of the parser in chat.c > indicates that it's really expecting "ername:-\r-ername:". I intend > to merge my notes about this with the man page some time soon. > OTOH, it's like the early days of Unix when the only reliable > documentation was the source.;-) Mini-flame off. iijppp's docs were originally written in Japanese. They have been translated to English recently and are available in PostScript format. I think it's on freefall.freebsd.org but I'm not sure. > alae2: {66} ppp rice28 > User Process PPP. Written by Toshiharu OHNO. > Log level is 0f > Using interface: tun0 > Interactive mode > ppp on alae2> passwd xxxxx > ppp ON alae2> term > Enter to terminal mode. > Type `~?' for help. > atdt9423324 > CONNECT 26400/ARQ/V34/LAPM/V42BIS > -------------- Approx. 16 lines of greeting message deleted > Username: rjf > Password: > lethe.rice.edu>ppp > Entering PPP mode. > Async interface address is unnumbered (Ethernet0) > Your IP address is 128.42.5.45. MTU is 1500 bytes > Header compression will match your system. > > ~ppp ON alae2> Packet mode. > > PPP ON alae2> add 0 0 HISADDR > PPP ON alae2> > Ah, a Cisco terminal server. We use the same units here at the UO. Here is my login script: set login "TIMEOUT 5 Username:-\\r-Username: username word: password UOnet ppp" Just replace username, password with your info and replace 'UOnet' with something like 'rice.edu' as the string to look for. (Our cisco reports UOnet> for the prompt.) > 11-14 00:09:55 [8631] Expecting rice.edu> > 11-14 00:09:55 [8631] Wait for (12): rice.edu> --> rice.edu> Try removing that > off the end and try again. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961114214730.28188Y-100000>