Problems with ppp dial-in access for remote pc

From: Dr. John J. Rux <rux_at_wistar.upenn.edu>
Date: Mon, 28 May 2001 00:26:24 -0400

Dear Tru64 Unix Managers,
         I have an XP1000 running Tru64 UNIX V5.1 and I am trying to setup
a dial-in connection with a U.S. Robotics 56K external modem connected to
tty00 to make a ppp connection with a remote PC running Win98. I have
looked through the manuals and previous posts to tru64-unix-managers, but I
still haven't figured this out yet.
I am able to connect to the unix server from the PC using the windows
hyperterm application so I think that the hardware setup is O.K. Here are
some of the things I've tried...

1. added a line in /etc/remote as follows
         modem:dv=/dev/tty00:br#115200:pa=none

2. added a line in /etc/inittab as follows
         modem:23:respawn:/usr/lib/uucp/uugetty -r -t 60 tty00 115200
and did "init q" to get the process running.

3. set the modem to autoanswer, quiet mode, echo off, etc. as described in
section 6.3.2.1 of networking docs.

4. created a new account ppp with the following
         ppp:*:200:15:Remote PPP access:/usr/users/ppp:/usr/sbin/startppp

listing for startppp file
-rwxr-xr-x 1 bin bin 1274 May 27 2036 /usr/sbin/startppp
the file contains only one non-comment line
exec /usr/sbin/pppd

listing for pppd
-rwsr-sr-x 1 root daemon 206608 Aug 24 2000 /usr/sbin/pppd

Contents of /etc/ppp/options file
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)
mru 296 # IP header plus 256 more octets

Contents of /etc/ppp/options.tty00 file
tty00
115200
asyncmap 200a0000
defaultroute
escape 7e,7f,fe,ff,93
mru 296
netmask 255.255.252.000
hostname:ip address to be assigned to pc
debug
kdebug 7
proxyarp
ms-dns 128.91.2.13
ms-dns 128.91.254.4

Contents of /etc/ppp/chap-secrets file
ppp hostname "secret password(s)"

When I dial from the PC, I hear the modems handshake and connect, but the
pppd never gets started and I don't get anything in the ppp log file
/etc/ppp/ppp-log

When I change the ppp account to login into a shell with
         ppp:*:200:15:Remote PPP access:/usr/users/ppp:/usr/local/bin/tcsh

I can connect to the server from the pc, manually login via a terminal
window, and start the ppp daemon with
"/usr/sbin/pppd proxyarp"
The ppp connection starts and then dies and creates the following output in
the log file:

May 27 220824 host pppd[53461] pppd 2.3.1 started by ppp, uid 200
May 27 220824 host pppd[53461] Using interface ppp0
May 27 220824 host pppd[53461] Connect ppp0 <--> /dev/tty00
May 27 220824 host pppd[53461] sent [LCP ConfReq id=0x1 <mru 296> <asyncmap
  0x200a0000> <magic 0xb4e8b7c9> <pcomp> <accomp>]
May 27 220824 host pppd[53461] fsm_sdata(LCP) Sent code 1, id 1.
May 27 220824 host pppd[53461] Timeout 12000a7b014000a4e0 in 3 seconds.
May 27 220824 host pppd[53461] LCP sending Configure-Request, id 1
May 27 220827 host pppd[53461] sent [LCP ConfReq id=0x1 <mru 296> <asyncmap
  0x200a0000> <magic 0xb4e8b7c9> <pcomp> <accomp>]
May 27 220827 host pppd[53461] fsm_sdata(LCP) Sent code 1, id 1.
May 27 220827 host pppd[53461] Timeout 12000a7b014000a4e0 in 3 seconds.
May 27 220827 host pppd[53461] LCP sending Configure-Request, id 1
...
May 27 220851 host pppd[53461] fsm_sdata(LCP) Sent code 1, id 1.
May 27 220851 host pppd[53461] Timeout 12000a7b014000a4e0 in 3 seconds.
May 27 220851 host pppd[53461] LCP sending Configure-Request, id 1
May 27 220854 host pppd[53461] LCP timeout sending Config-Requests
May 27 220854 host pppd[53461] Connection terminated.
May 27 220854 host pppd[53481] slave died EOF on pipe.
May 27 220855 host pppd[53461] Exit.

It seems to me that I am having a problem with the ppp authentication step,
but I don't know how to fix it. Any help would be appreciated.

- John


----------
Dr. John J. Rux
The Wistar Institute
3601 Spruce Street
Philadelphia, PA 19104
Email: rux_at_wistar.upenn.edu
WWW: http://hexon.wistar.upenn.edu/
Phone: (215) 898-0126 / Fax: (215) 898-3868
PGP Key ID: 0x989F36BA
Received on Mon May 28 2001 - 04:21:16 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT