From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,46160a467fbecb7d X-Google-Attributes: gidfee84,public From: Seonho Choi Subject: Re: PPP setup on Alpha OSF1 V4.0 Date: 1999/08/23 Message-ID: <37C15447.EBBCDF2F@jlab.org> X-Deja-AN: 516170226 References: <37BAD4C0.895AC3F6@jlab.org> X-Accept-Language: en Content-Type: multipart/alternative; boundary="------------3A722753939198CE67E3A7D8" Organization: Temple University Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 --------------3A722753939198CE67E3A7D8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for the tip. I will try it immediately. Balaji Chandrasekar wrote: > Hi > > You can view the ppp.html file which I have attached which describes the > way to configure PPP on Digital Alpha machines running Digital Unix. > > Balaji/ > > > > > > > > >

CONFIGURING PPP ON A DIGITAL UNIX MACHINE >
  > >

Please read thru these instructions completely before beginning. > >

**NOTE: These instructions assume that you have already configured > and >
tested a modem connection on your system. If this has not been done, > refer to >
the the man pages on uucpsetup, the modem configuration procedure for >
Digital Unix. >
  > >

 Test modem using 'tip' > >

 Make sure you have added a line to your /etc/remote > file  such as : > >

modem:dv=/dev/ttyd0:br#9600:pa=none: >
  > >

Then issue the command > >

#tip modem >
  > >

atdt 5925555 (number of remote modem) >
  > >

DO NOT PROCEED until you have made a successful > connection to the remote modem. > >

Step 1: > >

Verify that PPP support has been built into your kernel by >
issuing the command: >
  >
#sysconfig -s | grep ppp >
  > >

If ppp has not been built into your kernel, issue the command: >
  >
#sysconfig -c ppp > >

Step 2: > >

Gather the following necessary information: >
                         > local host ip address >
                         > remote system ip address >
                         > network mask >
                         > tty device name (same one you tipped to) >
                         > baud rate (as in the /etc/remote file) >
                         > level of authentification >
  >
OUTGOING PPP CONNECTIONS (for incoming > connections, skip to step 7 >
below) > >

Step 3: > >

Insure that PPP passive is an enabled port characteristic if >
connecting to a terminal server. Please refer to your terminal >
server configuration documentation for the necessary setup instructions. >
If connecting to a remote host, insure that that system has >
been  configured for dial in modem access, and has ppp support > built >
into its kernel. DO NOT PROCEDE until modem connectability has been >
successfully tested on your remote terminal server port or host tty. >
  >
Now we can start up a ppp session! > >

Step 4: > >

Establish a modem dial in session into your target system via >
tip. Log into the remote machine and invoke the ppp daemon on >
 the remote system by issuing the command > >

#pppd passive >
  > >

If the remote sysetm is a terminal server, issue the command: >
  >
local>connect ppp >
  > >

Step 5: >
  > >

In another window on the local system, issue the following command: >
  >
#pppd ttyd1 9600 16.66.80.205:16.66.80.205 netmask > 255.255.255.0  (dev)(speed) >
 (local ip:local ip)  (mask) > >

local ip address is used for both source and destination >
address only when remote host is a terminal server. >
If the remote host is a system, the syntax is as follows: >
  >
#pppd ttyd1 9600 16.66.80.205:16.66.80.42 netmask > 255.255.255.0 >
  (dev)(speed)  (local ip:remote ip) > (mask) > >

If you are dialing into an internet service provider that uses >
pap for authentication, use the following ppp command: > >

# pppd +ua /passwdfile locip remip netmask /dev/ttyd1 > 38400 > >

The +ua option tells pppd to use pap, and the /passwdfile is the file >
that contains your username/password info.  If the ISP is using > DHCP, >
you can leave off the locip, remip, and netmask. > >

It should be noted that with the next major release of Digital Unix >
the +ua qualifier will no longer be supported.  This switch allowed >
the user to specify a username and password for logging into a >
remote system or Internet Service Provider (ISP). > >

To specify a username and password the following example will show >
the use of the /etc/ppp/pap-secrets file > as the preferred method >
for access control.  The script below shows an example of the > use >
of the name keyword to work in conjunction with an entry in a >
pap-secrets file.  This name should also >
be listed in the /etc/ppp/pap-secrets or > /etc/ppp/chap-secrets file >
depending on whether the remote system uses pap or chap security: > >

pppd /dev/tty00 19200 connect 'usr/ucb/chat -v > "" "atdt{phone number}" "CONNECT"' name smith defaultroute > >

The corresponding pap-secrets file would contain one or several entries >
for various users: > >

miller * millers'_password >
smith  * smiths'_password >
johnson * johnsons'_password > >

The man pages for pppd discuss the various forms that the fields in >
the pap-secrets file can represent.   These fields will contain >
combinations of usernames, hostnames, host address and other strings. > >

  >
Step 6:  > >

In the 'tip' window, do a ~. to kill the > tip session. The ppp  session will remain active. > >

Optionally, you can use a 'chat script' to initate the tip session, >
start up the remote ppp daemon, and initiate the pppd connect from > the local system. >
Included below is an EXAMPLE of what a chat script might look like. >
  > >

#!/bin/sh >
/usr/sbin/pppd connect '/usr/ucb/chat -v "" "atdt5925555" > "CONNECT" "\r" "\#" >
"secret" "ocal>" "c\sppp"' /dev/ttyd1 9600 -detach > defaultroute  16.66.80.205 >
:16.66.80.205 netmask 255.255.255.0 >
exit 0 >
  > >

To verify that this ppp connection is working, > netstat -i will show >
incoming and outgoing ppp packets. You'll notice that there will be > NO outgoing >
ppp packets until you ping a remote node. You may have to add an entry > into >
your route table for the system you're pinging, to force it thru the > modem >
line. >
Or, when you issue your pppd connection initally, you can use the >
'defaultroute' option. Syntax would be as follows: > >

#pppd ttyd1 9600 defaultroute 16.66.80.205:16.66.80.42 > netmask >
255.255.255.0 > >

INCOMING PPP CONNECTIONS >
  > >

HARDWARE SETTING ON MODEM > (Optional) You might have to do this > >

# tip  <phone no> >
connected >
at >
OK >
at&c1 >
OK >
at&s1 >
OK >
at&d2 >
OK >
ats0=1 >
OK >
at&w >
  >
  >
  > >

Step 7: > >

Start a getty on the tty by adding an entry to /etc/inittab > such as: > >

ppp:23:respawn:/usr/sbin/getty /dev/ttyd1 M9600 > vt100 > >

After editing /etc/inittab, have the system read the new entry by doing: > >

# init q > >

You should see a getty process on the tty. > >

Step 8: > >

Dial in from the remote system, log in as a normal user, then: > >

$ pppd passive > >

This will start ppp on the tty.  You can then start ppp on the > remote >
system to establish the connection. > >

Alternatively, if you are dialing into Digital UNIX from a system which >
uses pap for ppp authentication (such as Windows 95) you will not want >
to run a getty.  Instead, start pppd from /etc/inittab, > and leave it >
running all the time: > >

ppp:23:respawn:/usr/sbin/pppd +pap -detach /dev/ttyd1 > 38400 login passive > >

The +pap option on pppd tell it to use pap for authentication, and the >
login option tells it to use the /etc/passwd > file for password >
information (instead of /etc/ppp/pap-secrets).  > The -detach flag is >
necessary to prevent init from respawning the process excessively. > >

Step 9: > >

Now you can fill in the UNIX account information (username, >
password) in the Dial-Up Networking/Connection dialog box in Windows > 95, >
and connect to the UNIX system.  When you disconnect, the UNIX > system will >
respawn pppd and wait for another connection. > >

If you are having trouble establishing the ppp connection, you can >
enable debugging by adding an entry to /etc/syslog.conf: > >

local2.debug    /var/adm/syslog.dated/daemon.log > >

Then find the /usr/sbin/syslogd process > and send it a hangup signal: > >

# ps ax | grep syslog >
  153 ??       > S        0:35.88 /usr/sbin/syslogd >
16986 ttyqc    S  +     > 0:00.01 grep syslog >
# kill -1 153 > >

Now you can start pppd with a "-d" flag and look in daemon.log for messages. > >

For additional pppd options please review the online or hardcopy documentation > on ppp configuration. > >

If you have followed these instructions and still cannot establish a > ppp >
link, please refer to the ppp troubleshooting portion of the Network >
Administration  Guide, chapter 13. > >

If you are still encountering difficulties, please call the Digital >
Customer   Support Center at 1-800-354-9000 and ask for Unix > Networking Assistance. >
  > >

Below is a sample ppp connection setup on a digital unix V4.0 system >
connecting into a digital ds700 terminal server using a DECmodem V32 > at 9600 baud. >
  >
  > >

On the terminal server port, > we see the following.. > >

Local> show internet > >

Internet Address:  16.66.80.50 >
Subnet Mask:       > 255.255.255.0 >
  > >

Local> show port 3 >
Port  3:MYNAME                         > Server: OSDMP3 > >

Character Size:            > 8           Input Speed:               > 9600 >
Flow Control:            > CTS           Output > Speed:              > 9600 >
Parity:                 > None           Modem > Control:          Enabled >
Stop Bits:           > Dynamic > >

Access:                > Local           Local > Switch:              > None >
Backwards Switch:       > None           Name:                    > PORT_3 >
Break:              > Disabled           Session > Limit:                > 4 >
Forwards Switch:        > None           Type:                      > Ansi >
Default Protocol:        > LAT           Default > Menu:              > None > >

Preferred Service: None > >

Authorized Groups:   0 >
(Current)  Groups:   0 > >

Enabled Characteristics: >
Autoconnect,  Broadcast,  Failover,  Input Flow Control,  > Lock, >
Loss Notification,  Message Codes,  Output Flow Control,  > Password, >
PPP, >
SLIP,  Verification > >

Local> >
Local> show port 3 ppp ipcp >
Port  3: MYNAME                       > Server: OSDMP3 > >

IPCP Characteristics: > >

IPCP:                               > Enabled >
Passive Open:                      > Disabled >
Restart Timer:                            > 3 seconds >
Max Configure:                           > 10 transmissions >
Max Terminate:                            > 2 transmissions >
Max Failure:                             > 10 transmissions > >

IPCP Options:                > Local: > >

Negotiate Address:         Disabled >
Remote IP Address:          > 0.0.0.0 >
Compress Header:           > Disabled >
Compress States:                 > 16 >
  > >

Local> >
Local> show port 3 ppp lcp char >
Port  3: MYNAME                       > Server: OSDMP3 > >

LCP Characteristics: > >

LCP:                                > Enabled >
Passive Open:                      > Disabled >
Restart Timer:                            > 3 seconds >
Max Configure:                           > 10 transmissions >
Max Terminate:                            > 2 transmissions >
Max Failure:                             > 10 transmissions > >

LCP Options:               > Local: > >

MRU:                         > 1500 >
Character Map:           > FFFFFFFF >
Authentication:          > Disabled >
Link Quality:            > Disabled >
Magic Number:            > Disabled >
PF  Compress:            > Disabled >
ACF Compress:            > Disabled >
FCS Size:                  > 16 Bit >
  > >

Local> >
Local> change port 3 ppp ipcp host address 16.66.80.205 >
  >
  > >

in window #1 of the digital unix system, we do > the following... >
  > >

# !tip >
tip modem >
connected >
atdt5925555 >
CONNECT 9600 > >

# >
Network Access SW V1.4 for DS700-08 (BL91-32) > >

(c) Copyright 1994, Digital Equipment Corporation - All Rights Reserved > >

Please type HELP if you need assistance > >

Local> c ppp >
Local -561- Starting SLIP or PPP datalink session~}#@!}!} } >
}$}-o~~}#@!}!}!} }$Q >
5~ >
  >
  > >

in window #2 fo the digital unix system, we do > the following... >
  > >

(note: a few previous informational command are given to show changes... >
       prior to starting up the pppd > deamon) > >

# ifconfig ppp0 >
ppp0: flags=10<POINTOPOINT> > >

# netstat -in >
Name  Mtu   Network     > Address               > Ipkts Ierrs    Opkts Oerrs >
Coll >
ln0   1500  <Link>      > 08:00:2b:3e:2e:3a    206319     0   > 215821     0 >
33 >
ln0   1500  DLI         > none                 > 206319     0   215821     > 0 >
33 >
ln0   1500  16.66.96.96 16.66.96.105         > 206319     0   215821     > 0 >
33 >
sl0*  296   <Link>                                > 0     0        0     > 0 >
0 >
lo0   1536  <Link>                            > 19399     0    19399     > 0 >
0 >
lo0   1536  127         > 127.0.0.1             > 19399     0    19399     > 0 >
0 >
ppp0* 1500  <Link>                              > 250    12     1403     > 3 >
0 > >

# netstat -rn >
Routing tables >
Destination      Gateway            > Flags     Refs     Use  Interface >
Netmasks: >
Inet             > 255.255.255.0 >
Inet             > 255.255.225.224 > >

Route Tree for Protocol Family 2: >
default          > 16.66.96.100       UG         > 11   139251  ln0 >
16.66.96.96      16.66.96.105       > U          53    > 83193  ln0 >
127.0.0.1        > 127.0.0.1          UH          > 1        0  lo0 > >

# pppd ttyd1 9600 16.66.80.205:16.66.80.205 netmask > 255.255.255.0 > >

# ifconfig ppp0 >
ppp0: flags=51<UP,POINTOPOINT,RUNNING> >
     inet 16.66.80.205 --> > 16.66.80.205 netmask ffffff00  ipmtu 1500 > >

# netstat -in >
Name  Mtu   Network     > Address               > Ipkts Ierrs    Opkts Oerrs >
Coll >
ln0   1500  <Link>      > 08:00:2b:3e:2e:3a    206487     0   > 215939     0 >
33 >
ln0   1500  DLI         > none                 > 206487     0   215939     > 0 >
33 >
ln0   1500  16.66.96.96 16.66.96.105         > 206487     0   215939     > 0 >
33 >
sl0*  296   <Link>                                > 0     0        0     > 0 >
0 >
lo0   1536  <Link>                            > 19406     0    19406     > 0 >
0 >
lo0   1536  127         > 127.0.0.1             > 19406     0    19406     > 0 >
0 >
ppp0  1500  <Link>                              > 257    12     1403     > 3 >
0 >
ppp0  1500  16.66.80    > 16.66.80.205            > 257    12     1403     > 3 >
0 > >

# netstat -rn >
Routing tables >
Destination      Gateway            > Flags     Refs     Use  Interface >
Netmasks: >
Inet             > 255.255.255.0 >
Inet             > 255.255.225.224 > >

Route Tree for Protocol Family 2: >
default          > 16.66.96.100       UG         > 11   139260  ln0 >
16.66.80.205     16.66.80.205       > UH          1        > 0  ppp0 >
16.66.96.96      16.66.96.105       > U          55    > 83306  ln0 >
127.0.0.1        > 127.0.0.1          UH          > 1        0  lo0 > >

# route add -net 16.66.80 16.66.80.205 1 >
old usage of trailing digit, assuming route via > gateway >
add net 16.66.80: gateway 16.66.80.205 > >

# ping 16.66.80.2 >
PING 16.66.80.2 (16.66.80.2): 56 data bytes >
64 bytes from 16.66.80.2: icmp_seq=0 ttl=254 > time=304 ms >
64 bytes from 16.66.80.2: icmp_seq=1 ttl=254 > time=303 ms >
64 bytes from 16.66.80.2: icmp_seq=2 ttl=254 > time=302 ms >
  > >

----16.66.80.2 PING Statistics---- >
3 packets transmitted, 3 packets received, 0% > packet loss >
round-trip (ms)  min/avg/max = 302/303/304 > ms > >

# traceroute 16.66.80.2 >
traceroute to 16.66.80.2 (16.66.80.2), 30 hops > max, 40 byte packets >
 1  osdmp3 (16.66.80.50)  203 > ms  203 ms  202 ms >
 2  tsc (16.66.80.2)  206 ms  > 206 ms  204 ms >
# >
  >
  > > > > On Wed, 18 Aug 1999, Seonho Choi wrote: > > > Hello > > > > I am trying to setup PPP server on alpha OSF1 V4.0 machine (more > > specifically, > > Personal Workstation 600au) so that Windows9x PC's and Mac's can > > connect. I > > have set up modem and am able to initiate normal text-based connection > > using simple terminal programs on PC's or Mac's. But when I try to > > initiate PPP connection, it looks like PC's or Mac's do not understand > > what Alpha is talking about. If you have PPP server set up on Alpha > > machines, please give me some > > advice. Thanks. > > > > -- > > Seonho Choi > > > > ============================================================================= > > Physics Dept., Temple University Phone : 215-204-1331 > > Barton Hall, 1900 N. 13th St. FAX : 561-258-7689 > > Philadelphia PA19122, USA E-mail : choi@jlab.org > > > > > > -- Seonho Choi ============================================================================= Physics Dept., Temple University Phone : 215-204-1331 Barton Hall, 1900 N. 13th St. FAX : 561-258-7689 Philadelphia PA19122, USA E-mail : choi@jlab.org --------------3A722753939198CE67E3A7D8 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for the tip. I will try it immediately.

Balaji Chandrasekar wrote:

Hi

You can view the ppp.html file which I have attached which describes the
way to configure PPP on Digital Alpha machines running Digital Unix.

Balaji/

<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (X11; I; OSF1 V4.0 alpha) [Netscape]">
</HEAD>
<BODY>

<P><U><FONT COLOR="#3333FF"><FONT SIZE=+1>CONFIGURING&nbsp;PPP&nbsp;ON&nbsp;A&nbsp;DIGITAL&nbsp;UNIX&nbsp;MACHINE</FONT></FONT></U>
<BR>&nbsp;

<P>Please read thru these instructions completely before beginning.

<P><B>**NOTE</B>: These instructions assume that you have already configured
and
<BR>tested a modem connection on your system. If this has not been done,
refer to
<BR>the the man pages on uucpsetup, the modem configuration procedure for
<BR>Digital Unix.
<BR>&nbsp;

<P>&nbsp;<B>Test modem using <FONT COLOR="#990000">'tip'</FONT></B>

<P>&nbsp;Make sure you have added a line to your <FONT COLOR="#990000">/etc/remote</FONT>
file&nbsp; such as :<FONT COLOR="#FF0000"></FONT>

<P><FONT COLOR="#990000">modem:dv=/dev/ttyd0:br#9600:pa=none:</FONT>
<BR>&nbsp;

<P>Then issue the command

<P><FONT COLOR="#990000">#tip modem</FONT>
<BR><FONT COLOR="#990000"></FONT>&nbsp;<FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">atdt 5925555 </FONT>(number of remote modem)
<BR>&nbsp;

<P><FONT COLOR="#3333FF">DO NOT PROCEED</FONT> until you have made a successful
connection to the remote modem.

<P><FONT COLOR="#3333FF">Step 1:</FONT>

<P>Verify that PPP support has been built into your kernel by
<BR>issuing the command:
<BR>&nbsp;
<BR><FONT COLOR="#990000">#sysconfig -s | grep ppp</FONT>
<BR>&nbsp;

<P>If ppp has not been built into your kernel, issue the command:
<BR>&nbsp;
<BR><FONT COLOR="#990000">#sysconfig -c ppp</FONT>

<P><FONT COLOR="#3333FF">Step 2:</FONT>

<P>Gather the following necessary information:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
local host ip address
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
remote system ip address
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
network mask
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tty device name (same one you tipped to)
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
baud rate (as in the /etc/remote file)
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
level of authentification
<BR>&nbsp;
<BR><FONT COLOR="#3333FF">OUTGOING PPP CONNECTIONS</FONT> (for <FONT COLOR="#FF0000">incoming
</FONT>connections,<FONT COLOR="#FF0000"> skip to step 7</FONT>
<BR>below)

<P><FONT COLOR="#3333FF">Step 3</FONT>:

<P>Insure that PPP passive is an enabled port characteristic if
<BR>connecting to a terminal server. Please refer to your terminal
<BR>server configuration&nbsp;documentation for the necessary setup instructions.
<BR>If connecting to a remote host, insure that that system has
<BR>been&nbsp; configured for dial in modem access, and has ppp support
built
<BR>into its kernel. DO NOT PROCEDE until modem connectability has been
<BR>successfully tested on your remote terminal server port or host tty.
<BR>&nbsp;
<BR>Now we can start up a ppp session!

<P><FONT COLOR="#3333FF">Step 4:</FONT>

<P>Establish a modem dial in session into your target system via
<BR>tip. Log into the remote machine and invoke the ppp daemon on
<BR>&nbsp;the remote system by issuing the command

<P><FONT COLOR="#990000">#pppd passive</FONT>
<BR>&nbsp;

<P>If the remote sysetm is a terminal server, issue the command:
<BR>&nbsp;
<BR><FONT COLOR="#990000">local>connect ppp</FONT>
<BR><FONT COLOR="#990000"></FONT>&nbsp;

<P><FONT COLOR="#3333FF">Step 5:</FONT>
<BR><FONT COLOR="#3333FF"></FONT>&nbsp;

<P>In another window on the local system, issue the following command:
<BR>&nbsp;
<BR><FONT COLOR="#990000">#pppd ttyd1 9600 16.66.80.205:16.66.80.205 netmask
255.255.255.0&nbsp; (dev)(speed)</FONT>
<BR><FONT COLOR="#990000">&nbsp;(local ip:local ip)&nbsp; (mask)</FONT><FONT COLOR="#990000"></FONT>

<P>local ip address is used for both source and destination
<BR>address only when remote host is a terminal server.
<BR>If the remote host is a system, the syntax is as follows:
<BR>&nbsp;
<BR><FONT COLOR="#990000">#pppd ttyd1 9600 16.66.80.205:16.66.80.42 netmask
255.255.255.0</FONT>
<BR><FONT COLOR="#990000">&nbsp; (dev)(speed)&nbsp; (local ip:remote ip)
(mask)</FONT><FONT COLOR="#990000"></FONT>

<P>If you are dialing into an internet service provider that uses
<BR>pap for authentication, use the following ppp command:<FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># pppd +ua /passwdfile locip remip netmask /dev/ttyd1
38400</FONT><FONT COLOR="#990000"></FONT>

<P>The +ua option tells pppd to use pap, and the /passwdfile is the file
<BR>that contains your username/password info.&nbsp; If the ISP is using
DHCP,
<BR>you can leave off the locip, remip, and netmask.

<P>It should be noted that with the next major release of Digital Unix
<BR>the +ua qualifier will no longer be supported.&nbsp; This switch allowed
<BR>the user to specify a username and password for logging into a
<BR>remote system or Internet Service Provider (ISP).

<P>To specify a username and password the following example will show
<BR>the use of the <FONT COLOR="#990000">/etc/ppp/pap-secrets</FONT> file
as the preferred method
<BR>for access control.&nbsp; The script below shows an example of the
use
<BR>of the name keyword to work in conjunction with an entry in a
<BR>pap-secrets file.&nbsp; This name should also
<BR>be listed in the <FONT COLOR="#990000">/etc/ppp/pap-secrets </FONT>or<FONT COLOR="#990000">
/etc/ppp/chap-secrets</FONT> file
<BR>depending on whether the remote system uses pap or chap security:

<P><FONT COLOR="#990000">pppd /dev/tty00 19200 connect 'usr/ucb/chat -v
"" "atdt{phone number}" "CONNECT"' name smith defaultroute</FONT><FONT COLOR="#990000"></FONT>

<P>The corresponding pap-secrets file would contain one or several entries
<BR>for various users:

<P>miller * millers'_password
<BR>smith&nbsp; * smiths'_password
<BR>johnson * johnsons'_password

<P>The man pages for pppd discuss the various forms that the fields in
<BR>the pap-secrets file can represent.&nbsp;&nbsp; These fields will contain
<BR>combinations of usernames, hostnames, host address and other strings.

<P>&nbsp;
<BR><FONT COLOR="#3333FF">Step 6:&nbsp;</FONT>

<P>In the <FONT COLOR="#990000">'tip'</FONT> window, do a ~. to kill the
tip session. The ppp&nbsp; session will remain active.

<P>Optionally, you can use a 'chat script' to initate the tip session,
<BR>start up the remote ppp daemon, and initiate the pppd connect from
the local system.
<BR>Included below is an EXAMPLE of what a chat script might look like.
<BR>&nbsp;<FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">#!/bin/sh</FONT>
<BR><FONT COLOR="#990000">/usr/sbin/pppd connect '/usr/ucb/chat -v "" "atdt5925555"
"CONNECT" "\r" "\#"</FONT>
<BR><FONT COLOR="#990000">"secret" "ocal>" "c\sppp"' /dev/ttyd1 9600 -detach
defaultroute&nbsp; 16.66.80.205</FONT>
<BR><FONT COLOR="#990000">:16.66.80.205 netmask 255.255.255.0</FONT>
<BR><FONT COLOR="#990000">exit 0</FONT>
<BR><FONT COLOR="#990000"></FONT>&nbsp;

<P>To verify that this ppp connection is working,<FONT COLOR="#990000">
netstat -i </FONT>will show
<BR>incoming and outgoing ppp packets. You'll notice that there will be
NO outgoing
<BR>ppp packets until you ping a remote node. You may have to add an entry
into
<BR>your route table for the system you're pinging, to force it thru the
modem
<BR>line.
<BR>Or, when you issue your pppd connection initally, you can use the
<BR>'defaultroute' option. Syntax would be as follows:<FONT COLOR="#660000"></FONT>

<P><FONT COLOR="#660000">#pppd ttyd1 9600 defaultroute 16.66.80.205:16.66.80.42
netmask</FONT>
<BR><FONT COLOR="#660000">255.255.255.0</FONT><B><U></U></B>

<P><B><U><FONT COLOR="#3333FF">INCOMING PPP CONNECTIONS</FONT></U></B>
<BR>&nbsp;<U><FONT COLOR="#3333FF"></FONT></U>

<P><B><U><FONT COLOR="#3333FF">HARDWARE&nbsp;SETTING&nbsp;ON&nbsp;MODEM
(Optional) You might have to do this</FONT></U></B><FONT COLOR="#3333FF"></FONT>

<P><B><FONT COLOR="#3333FF"># tip&nbsp; &lt;phone no></FONT></B>
<BR><B><FONT COLOR="#3333FF">connected</FONT></B>
<BR><B><FONT COLOR="#3333FF">at</FONT></B>
<BR><B><FONT COLOR="#3333FF">OK</FONT></B>
<BR><B><FONT COLOR="#3333FF">at&amp;c1</FONT></B>
<BR><B><FONT COLOR="#3333FF">OK</FONT></B>
<BR><B><FONT COLOR="#3333FF">at&amp;s1</FONT></B>
<BR><B><FONT COLOR="#3333FF">OK</FONT></B>
<BR><B><FONT COLOR="#3333FF">at&amp;d2</FONT></B>
<BR><B><FONT COLOR="#3333FF">OK</FONT></B>
<BR><B><FONT COLOR="#3333FF">ats0=1</FONT></B>
<BR><B><FONT COLOR="#3333FF">OK</FONT></B>
<BR><B><FONT COLOR="#3333FF">at&amp;w</FONT></B>
<BR><FONT COLOR="#3333FF"></FONT>&nbsp;
<BR><B><FONT COLOR="#3333FF"></FONT></B>&nbsp;
<BR><FONT COLOR="#3333FF"></FONT>&nbsp;<FONT COLOR="#3333FF"></FONT>

<P><FONT COLOR="#3333FF">Step 7:</FONT>

<P>Start a getty on the tty by adding an entry to <FONT COLOR="#990000">/etc/inittab</FONT>
such as:<FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">ppp:23:respawn:/usr/sbin/getty /dev/ttyd1 M9600
vt100</FONT>

<P>After editing /etc/inittab, have the system read the new entry by doing:

<P><FONT COLOR="#990000"># init q</FONT>

<P>You should see a getty process on the tty.

<P><FONT COLOR="#3333FF">Step 8:</FONT>

<P>Dial in from the remote system, log in as a normal user, then:

<P><FONT COLOR="#660000">$ pppd passive</FONT>

<P>This will start ppp on the tty.&nbsp; You can then start ppp on the
remote
<BR>system to establish the connection.

<P>Alternatively, if you are dialing into Digital UNIX from a system which
<BR>uses pap for ppp authentication (such as Windows 95) you will not want
<BR>to run a getty.&nbsp; Instead, start pppd from <FONT COLOR="#990000">/etc/inittab</FONT>,
and leave it
<BR>running all the time:

<P><FONT COLOR="#990000">ppp:23:respawn:/usr/sbin/pppd +pap -detach /dev/ttyd1
38400 login passive</FONT>

<P>The +pap option on pppd tell it to use pap for authentication, and the
<BR>login option tells it to use the <FONT COLOR="#990000">/etc/passwd
</FONT>file for password
<BR>information (instead of <FONT COLOR="#990000">/etc/ppp/pap-secrets</FONT>).&nbsp;
The <FONT COLOR="#990000">-detach</FONT> flag is
<BR>necessary to prevent init from respawning the process excessively.

<P><FONT COLOR="#3333FF">Step 9:</FONT>

<P>Now you can fill in the UNIX account information (username,
<BR>password) in the Dial-Up Networking/Connection dialog box in Windows
95,
<BR>and connect to the UNIX system.&nbsp; When you disconnect, the UNIX
system will
<BR>respawn pppd and wait for another connection.

<P>If you are having trouble establishing the ppp connection, you can
<BR>enable debugging by adding an entry to <FONT COLOR="#990000">/etc/syslog.conf:</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">local2.debug&nbsp;&nbsp;&nbsp; /var/adm/syslog.dated/daemon.log</FONT>

<P>Then find the <FONT COLOR="#990000">/usr/sbin/syslogd </FONT>process
and send it a hangup signal:<FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># ps ax | grep syslog</FONT>
<BR><FONT COLOR="#990000">&nbsp; 153 ??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:35.88 /usr/sbin/syslogd</FONT>
<BR><FONT COLOR="#990000">16986 ttyqc&nbsp;&nbsp;&nbsp; S&nbsp; +&nbsp;&nbsp;&nbsp;&nbsp;
0:00.01 grep syslog</FONT>
<BR><FONT COLOR="#990000"># kill -1 153</FONT><FONT COLOR="#990000"></FONT>

<P>Now you can start pppd with a "-d" flag and look in daemon.log for messages.

<P>For additional pppd options please review the online or hardcopy documentation
on ppp configuration.

<P>If you have followed these instructions and still cannot establish a
ppp
<BR>link, please refer to the ppp troubleshooting portion of the Network
<BR>Administration&nbsp; Guide, chapter 13.

<P>If you are still encountering difficulties, please call the Digital
<BR>Customer&nbsp;&nbsp; Support Center at 1-800-354-9000 and ask for Unix
Networking Assistance.
<BR>&nbsp;

<P>Below is a sample ppp connection setup on a digital unix V4.0 system
<BR>connecting into a digital ds700 terminal server using a DECmodem V32
at 9600 baud.
<BR>&nbsp;
<BR>&nbsp;

<P><B><U><FONT COLOR="#3333FF"><FONT SIZE=+1>On the terminal server port,
we see the following..</FONT></FONT></U></B><B><U><FONT COLOR="#990000"><FONT SIZE=+1></FONT></FONT></U></B>

<P><FONT COLOR="#990000">Local> show internet</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">Internet Address:&nbsp; 16.66.80.50</FONT>
<BR><FONT COLOR="#990000">Subnet Mask:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.255.0</FONT>
<BR><FONT COLOR="#990000"></FONT>&nbsp;<FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">Local> show port 3</FONT>
<BR><FONT COLOR="#990000">Port&nbsp; 3:MYNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Server: OSDMP3</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">Character Size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Input Speed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
9600</FONT>
<BR><FONT COLOR="#990000">Flow Control:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CTS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Output
Speed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
9600</FONT>
<BR><FONT COLOR="#990000">Parity:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modem
Control:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enabled</FONT>
<BR><FONT COLOR="#990000">Stop Bits:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Dynamic</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">Access:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Local&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Local
Switch:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
None</FONT>
<BR><FONT COLOR="#990000">Backwards Switch:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PORT_3</FONT>
<BR><FONT COLOR="#990000">Break:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Session
Limit:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
4</FONT>
<BR><FONT COLOR="#990000">Forwards Switch:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Ansi</FONT>
<BR><FONT COLOR="#990000">Default Protocol:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
LAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Default
Menu:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
None</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">Preferred Service: None</FONT><FONT COLOR="#990000"></FONT>

<P>Authorized Groups:&nbsp;&nbsp; 0
<BR>(Current)&nbsp; Groups:&nbsp;&nbsp; 0

<P>Enabled Characteristics:
<BR>Autoconnect,&nbsp; Broadcast,&nbsp; Failover,&nbsp; Input Flow Control,&nbsp;
Lock,
<BR>Loss Notification,&nbsp; Message Codes,&nbsp; Output Flow Control,&nbsp;
Password,
<BR>PPP,
<BR>SLIP,&nbsp; Verification

<P>Local>
<BR>Local> show port 3 ppp ipcp
<BR>Port&nbsp; 3: MYNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Server: OSDMP3

<P>IPCP Characteristics:

<P>IPCP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Enabled
<BR>Passive Open:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>Restart Timer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3 seconds
<BR>Max Configure:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
10 transmissions
<BR>Max Terminate:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2 transmissions
<BR>Max Failure:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
10 transmissions

<P>IPCP Options:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Local:

<P>Negotiate Address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disabled
<BR>Remote IP Address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0.0.0.0
<BR>Compress Header:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>Compress States:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16
<BR>&nbsp;

<P>Local>
<BR>Local> show port 3 ppp lcp char
<BR>Port&nbsp; 3: MYNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Server: OSDMP3

<P>LCP Characteristics:

<P>LCP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Enabled
<BR>Passive Open:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>Restart Timer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3 seconds
<BR>Max Configure:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
10 transmissions
<BR>Max Terminate:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2 transmissions
<BR>Max Failure:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
10 transmissions

<P>LCP Options:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Local:

<P>MRU:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1500
<BR>Character Map:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
FFFFFFFF
<BR>Authentication:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>Link Quality:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>Magic Number:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>PF&nbsp; Compress:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>ACF Compress:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disabled
<BR>FCS Size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16 Bit
<BR>&nbsp;

<P>Local>
<BR>Local> change port 3 ppp ipcp host address 16.66.80.205
<BR>&nbsp;
<BR>&nbsp;

<P><FONT COLOR="#3366FF">in window #1 of the digital unix system, we do
the following...</FONT>
<BR><FONT COLOR="#3366FF"></FONT>&nbsp;

<P><FONT COLOR="#990000"># !tip</FONT>
<BR><FONT COLOR="#990000">tip modem</FONT>
<BR><FONT COLOR="#990000">connected</FONT>
<BR><FONT COLOR="#990000">atdt5925555</FONT>
<BR><FONT COLOR="#990000">CONNECT 9600</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">#</FONT>
<BR>Network Access SW V1.4 for DS700-08 (BL91-32)

<P>(c) Copyright 1994, Digital Equipment Corporation - All Rights Reserved

<P>Please type HELP if you need assistance

<P>Local> c ppp
<BR>Local -561- Starting SLIP or PPP datalink session~}#@!}!} }
<BR>}$}-o~~}#@!}!}!} }$Q
<BR>5~
<BR>&nbsp;
<BR>&nbsp;

<P><FONT COLOR="#3366FF">in window #2 fo the digital unix system, we do
the following...</FONT>
<BR><FONT COLOR="#3366FF"></FONT>&nbsp;

<P>(note: a few previous informational command are given to show changes...
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prior to starting up the pppd
deamon)

<P><FONT COLOR="#990000"># ifconfig ppp0</FONT>
<BR><FONT COLOR="#990000">ppp0: flags=10&lt;POINTOPOINT></FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># netstat -in</FONT>
<BR><FONT COLOR="#990000">Name&nbsp; Mtu&nbsp;&nbsp; Network&nbsp;&nbsp;&nbsp;&nbsp;
Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Ipkts Ierrs&nbsp;&nbsp;&nbsp; Opkts Oerrs</FONT>
<BR><FONT COLOR="#990000">Coll</FONT>
<BR><FONT COLOR="#990000">ln0&nbsp;&nbsp; 1500&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
08:00:2b:3e:2e:3a&nbsp;&nbsp;&nbsp; 206319&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;
215821&nbsp;&nbsp;&nbsp;&nbsp; 0</FONT>
<BR><FONT COLOR="#990000">33</FONT>
<BR><FONT COLOR="#990000">ln0&nbsp;&nbsp; 1500&nbsp; DLI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
206319&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 215821&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">33</FONT>
<BR><FONT COLOR="#990000">ln0&nbsp;&nbsp; 1500&nbsp; 16.66.96.96 16.66.96.105&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
206319&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 215821&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">33</FONT>
<BR><FONT COLOR="#990000">sl0*&nbsp; 296&nbsp;&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">0</FONT>
<BR><FONT COLOR="#990000">lo0&nbsp;&nbsp; 1536&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
19399&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 19399&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">0</FONT>
<BR><FONT COLOR="#990000">lo0&nbsp;&nbsp; 1536&nbsp; 127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
19399&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 19399&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">0</FONT>
<BR><FONT COLOR="#990000">ppp0* 1500&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
250&nbsp;&nbsp;&nbsp; 12&nbsp;&nbsp;&nbsp;&nbsp; 1403&nbsp;&nbsp;&nbsp;&nbsp;
3</FONT>
<BR><FONT COLOR="#990000">0</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># netstat -rn</FONT>
<BR><FONT COLOR="#990000">Routing tables</FONT>
<BR><FONT COLOR="#990000">Destination&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Flags&nbsp;&nbsp;&nbsp;&nbsp; Refs&nbsp;&nbsp;&nbsp;&nbsp; Use&nbsp; Interface</FONT>
<BR><FONT COLOR="#990000">Netmasks:</FONT>
<BR><FONT COLOR="#990000">Inet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.255.0</FONT>
<BR><FONT COLOR="#990000">Inet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.225.224</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">Route Tree for Protocol Family 2:</FONT>
<BR><FONT COLOR="#990000">default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16.66.96.100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
11&nbsp;&nbsp; 139251&nbsp; ln0</FONT>
<BR><FONT COLOR="#990000">16.66.96.96&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16.66.96.105&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
U&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 53&nbsp;&nbsp;&nbsp;
83193&nbsp; ln0</FONT>
<BR><FONT COLOR="#990000">127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; lo0</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># pppd ttyd1 9600 16.66.80.205:16.66.80.205 netmask
255.255.255.0</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># ifconfig ppp0</FONT>
<BR><FONT COLOR="#990000">ppp0: flags=51&lt;UP,POINTOPOINT,RUNNING></FONT>
<BR><FONT COLOR="#990000">&nbsp;&nbsp;&nbsp;&nbsp; inet 16.66.80.205 -->
16.66.80.205 netmask ffffff00&nbsp; ipmtu 1500</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># netstat -in</FONT>
<BR><FONT COLOR="#990000">Name&nbsp; Mtu&nbsp;&nbsp; Network&nbsp;&nbsp;&nbsp;&nbsp;
Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Ipkts Ierrs&nbsp;&nbsp;&nbsp; Opkts Oerrs</FONT>
<BR><FONT COLOR="#990000">Coll</FONT>
<BR><FONT COLOR="#990000">ln0&nbsp;&nbsp; 1500&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
08:00:2b:3e:2e:3a&nbsp;&nbsp;&nbsp; 206487&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;
215939&nbsp;&nbsp;&nbsp;&nbsp; 0</FONT>
<BR><FONT COLOR="#990000">33</FONT>
<BR><FONT COLOR="#990000">ln0&nbsp;&nbsp; 1500&nbsp; DLI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
206487&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 215939&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">33</FONT>
<BR><FONT COLOR="#990000">ln0&nbsp;&nbsp; 1500&nbsp; 16.66.96.96 16.66.96.105&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
206487&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 215939&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">33</FONT>
<BR><FONT COLOR="#990000">sl0*&nbsp; 296&nbsp;&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">0</FONT>
<BR><FONT COLOR="#990000">lo0&nbsp;&nbsp; 1536&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
19406&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 19406&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">0</FONT>
<BR><FONT COLOR="#990000">lo0&nbsp;&nbsp; 1536&nbsp; 127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
19406&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 19406&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT>
<BR><FONT COLOR="#990000">0</FONT>
<BR><FONT COLOR="#990000">ppp0&nbsp; 1500&nbsp; &lt;Link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
257&nbsp;&nbsp;&nbsp; 12&nbsp;&nbsp;&nbsp;&nbsp; 1403&nbsp;&nbsp;&nbsp;&nbsp;
3</FONT>
<BR><FONT COLOR="#990000">0</FONT>
<BR><FONT COLOR="#990000">ppp0&nbsp; 1500&nbsp; 16.66.80&nbsp;&nbsp;&nbsp;
16.66.80.205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
257&nbsp;&nbsp;&nbsp; 12&nbsp;&nbsp;&nbsp;&nbsp; 1403&nbsp;&nbsp;&nbsp;&nbsp;
3</FONT>
<BR><FONT COLOR="#990000">0</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># netstat -rn</FONT>
<BR><FONT COLOR="#990000">Routing tables</FONT>
<BR><FONT COLOR="#990000">Destination&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Flags&nbsp;&nbsp;&nbsp;&nbsp; Refs&nbsp;&nbsp;&nbsp;&nbsp; Use&nbsp; Interface</FONT>
<BR><FONT COLOR="#990000">Netmasks:</FONT>
<BR><FONT COLOR="#990000">Inet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.255.0</FONT>
<BR><FONT COLOR="#990000">Inet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.225.224</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">Route Tree for Protocol Family 2:</FONT>
<BR><FONT COLOR="#990000">default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16.66.96.100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
11&nbsp;&nbsp; 139260&nbsp; ln0</FONT>
<BR><FONT COLOR="#990000">16.66.80.205&nbsp;&nbsp;&nbsp;&nbsp; 16.66.80.205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
UH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp; ppp0</FONT>
<BR><FONT COLOR="#990000">16.66.96.96&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16.66.96.105&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
U&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 55&nbsp;&nbsp;&nbsp;
83306&nbsp; ln0</FONT>
<BR><FONT COLOR="#990000">127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; lo0</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># route add -net 16.66.80 16.66.80.205 1</FONT>
<BR><FONT COLOR="#990000">old usage of trailing digit, assuming route via
gateway</FONT>
<BR><FONT COLOR="#990000">add net 16.66.80: gateway 16.66.80.205</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># ping 16.66.80.2</FONT>
<BR><FONT COLOR="#990000">PING 16.66.80.2 (16.66.80.2): 56 data bytes</FONT>
<BR><FONT COLOR="#990000">64 bytes from 16.66.80.2: icmp_seq=0 ttl=254
time=304 ms</FONT>
<BR><FONT COLOR="#990000">64 bytes from 16.66.80.2: icmp_seq=1 ttl=254
time=303 ms</FONT>
<BR><FONT COLOR="#990000">64 bytes from 16.66.80.2: icmp_seq=2 ttl=254
time=302 ms</FONT>
<BR><FONT COLOR="#990000"></FONT>&nbsp;<FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000">----16.66.80.2 PING Statistics----</FONT>
<BR><FONT COLOR="#990000">3 packets transmitted, 3 packets received, 0%
packet loss</FONT>
<BR><FONT COLOR="#990000">round-trip (ms)&nbsp; min/avg/max = 302/303/304
ms</FONT><FONT COLOR="#990000"></FONT>

<P><FONT COLOR="#990000"># traceroute 16.66.80.2</FONT>
<BR><FONT COLOR="#990000">traceroute to 16.66.80.2 (16.66.80.2), 30 hops
max, 40 byte packets</FONT>
<BR><FONT COLOR="#990000">&nbsp;1&nbsp; osdmp3 (16.66.80.50)&nbsp; 203
ms&nbsp; 203 ms&nbsp; 202 ms</FONT>
<BR><FONT COLOR="#990000">&nbsp;2&nbsp; tsc (16.66.80.2)&nbsp; 206 ms&nbsp;
206 ms&nbsp; 204 ms</FONT>
<BR><FONT COLOR="#990000">#</FONT>
<BR><FONT COLOR="#990000"></FONT>&nbsp;
<BR><FONT COLOR="#990000"></FONT>&nbsp;
</BODY>
</HTML>

On Wed, 18 Aug 1999, Seonho Choi wrote:

> Hello
>
> I am trying to setup PPP server on alpha OSF1 V4.0 machine (more
> specifically,
> Personal Workstation 600au) so that Windows9x PC's and Mac's can
> connect. I
> have set up modem and am able to initiate normal text-based connection
> using simple terminal programs on PC's or Mac's. But when I try to
> initiate PPP connection, it looks like PC's or Mac's do not understand
> what Alpha is talking about. If you have PPP server set up on Alpha
> machines, please give me some
> advice. Thanks.
>
> --
>                                                    Seonho Choi
>
> =============================================================================
> Physics Dept., Temple University           Phone  : 215-204-1331
> Barton Hall, 1900 N. 13th St.              FAX    : 561-258-7689
> Philadelphia PA19122, USA                  E-mail : choi@jlab.org
>
>
>

-- 
                                                   Seonho Choi

=============================================================================
Physics Dept., Temple University           Phone  : 215-204-1331
Barton Hall, 1900 N. 13th St.              FAX    : 561-258-7689
Philadelphia PA19122, USA                  E-mail : choi@jlab.org
  --------------3A722753939198CE67E3A7D8-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,46160a467fbecb7d,start X-Google-Attributes: gidfee84,public From: Seonho Choi Subject: PPP setup on Alpha OSF1 V4.0 Date: 1999/08/18 Message-ID: <37BAD4C0.895AC3F6@jlab.org>#1/1 X-Deja-AN: 514249287 X-Accept-Language: en Content-Type: multipart/alternative; boundary="------------826EFC021840B1EEA546DB9D" Organization: Temple University Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 --------------826EFC021840B1EEA546DB9D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello I am trying to setup PPP server on alpha OSF1 V4.0 machine (more specifically, Personal Workstation 600au) so that Windows9x PC's and Mac's can connect. I have set up modem and am able to initiate normal text-based connection using simple terminal programs on PC's or Mac's. But when I try to initiate PPP connection, it looks like PC's or Mac's do not understand what Alpha is talking about. If you have PPP server set up on Alpha machines, please give me some advice. Thanks. -- Seonho Choi ============================================================================= Physics Dept., Temple University Phone : 215-204-1331 Barton Hall, 1900 N. 13th St. FAX : 561-258-7689 Philadelphia PA19122, USA E-mail : choi@jlab.org --------------826EFC021840B1EEA546DB9D Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
Hello
I am trying to setup PPP server on alpha OSF1 V4.0 machine (more specifically,
Personal Workstation 600au) so that Windows9x PC's and Mac's can connect. I
have set up modem and am able to initiate normal text-based connection using simple terminal programs on PC's or Mac's. But when I try to initiate PPP connection, it looks like PC's or Mac's do not understand what Alpha is talking about. If you have PPP server set up on Alpha machines, please give me some
advice. Thanks.
-- 
                                                   Seonho Choi

=============================================================================
Physics Dept., Temple University           Phone  : 215-204-1331
Barton Hall, 1900 N. 13th St.              FAX    : 561-258-7689
Philadelphia PA19122, USA                  E-mail : choi@jlab.org
  --------------826EFC021840B1EEA546DB9D-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,46160a467fbecb7d X-Google-Attributes: gidfee84,public From: Balaji Chandrasekar Subject: Re: PPP setup on Alpha OSF1 V4.0 Date: 1999/08/18 Message-ID: X-Deja-AN: 514285023 References: <37BAD4C0.895AC3F6@jlab.org> To: Seonho Choi X-Sender: digital@tempest.ocis.temple.edu Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Temple University Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi You can view the ppp.html file which I have attached which describes the way to configure PPP on Digital Alpha machines running Digital Unix. Balaji/

CONFIGURING PPP ON A DIGITAL UNIX MACHINE
 

Please read thru these instructions completely before beginning.

**NOTE: These instructions assume that you have already configured and
tested a modem connection on your system. If this has not been done, refer to
the the man pages on uucpsetup, the modem configuration procedure for
Digital Unix.
 

 Test modem using 'tip'

 Make sure you have added a line to your /etc/remote file  such as :

modem:dv=/dev/ttyd0:br#9600:pa=none:
 

Then issue the command

#tip modem
 

atdt 5925555 (number of remote modem)
 

DO NOT PROCEED until you have made a successful connection to the remote modem.

Step 1:

Verify that PPP support has been built into your kernel by
issuing the command:
 
#sysconfig -s | grep ppp
 

If ppp has not been built into your kernel, issue the command:
 
#sysconfig -c ppp

Step 2:

Gather the following necessary information:
                         local host ip address
                         remote system ip address
                         network mask
                         tty device name (same one you tipped to)
                         baud rate (as in the /etc/remote file)
                         level of authentification
 
OUTGOING PPP CONNECTIONS (for incoming connections, skip to step 7
below)

Step 3:

Insure that PPP passive is an enabled port characteristic if
connecting to a terminal server. Please refer to your terminal
server configuration documentation for the necessary setup instructions.
If connecting to a remote host, insure that that system has
been  configured for dial in modem access, and has ppp support built
into its kernel. DO NOT PROCEDE until modem connectability has been
successfully tested on your remote terminal server port or host tty.
 
Now we can start up a ppp session!

Step 4:

Establish a modem dial in session into your target system via
tip. Log into the remote machine and invoke the ppp daemon on
 the remote system by issuing the command

#pppd passive
 

If the remote sysetm is a terminal server, issue the command:
 
local>connect ppp
 

Step 5:
 

In another window on the local system, issue the following command:
 
#pppd ttyd1 9600 16.66.80.205:16.66.80.205 netmask 255.255.255.0  (dev)(speed)
 (local ip:local ip)  (mask)

local ip address is used for both source and destination
address only when remote host is a terminal server.
If the remote host is a system, the syntax is as follows:
 
#pppd ttyd1 9600 16.66.80.205:16.66.80.42 netmask 255.255.255.0
  (dev)(speed)  (local ip:remote ip) (mask)

If you are dialing into an internet service provider that uses
pap for authentication, use the following ppp command:

# pppd +ua /passwdfile locip remip netmask /dev/ttyd1 38400

The +ua option tells pppd to use pap, and the /passwdfile is the file
that contains your username/password info.  If the ISP is using DHCP,
you can leave off the locip, remip, and netmask.

It should be noted that with the next major release of Digital Unix
the +ua qualifier will no longer be supported.  This switch allowed
the user to specify a username and password for logging into a
remote system or Internet Service Provider (ISP).

To specify a username and password the following example will show
the use of the /etc/ppp/pap-secrets file as the preferred method
for access control.  The script below shows an example of the use
of the name keyword to work in conjunction with an entry in a
pap-secrets file.  This name should also
be listed in the /etc/ppp/pap-secrets or /etc/ppp/chap-secrets file
depending on whether the remote system uses pap or chap security:

pppd /dev/tty00 19200 connect 'usr/ucb/chat -v "" "atdt{phone number}" "CONNECT"' name smith defaultroute

The corresponding pap-secrets file would contain one or several entries
for various users:

miller * millers'_password
smith  * smiths'_password
johnson * johnsons'_password

The man pages for pppd discuss the various forms that the fields in
the pap-secrets file can represent.   These fields will contain
combinations of usernames, hostnames, host address and other strings.

 
Step 6: 

In the 'tip' window, do a ~. to kill the tip session. The ppp  session will remain active.

Optionally, you can use a 'chat script' to initate the tip session,
start up the remote ppp daemon, and initiate the pppd connect from the local system.
Included below is an EXAMPLE of what a chat script might look like.
 

#!/bin/sh
/usr/sbin/pppd connect '/usr/ucb/chat -v "" "atdt5925555" "CONNECT" "\r" "\#"
"secret" "ocal>" "c\sppp"' /dev/ttyd1 9600 -detach defaultroute  16.66.80.205
:16.66.80.205 netmask 255.255.255.0
exit 0
 

To verify that this ppp connection is working, netstat -i will show
incoming and outgoing ppp packets. You'll notice that there will be NO outgoing
ppp packets until you ping a remote node. You may have to add an entry into
your route table for the system you're pinging, to force it thru the modem
line.
Or, when you issue your pppd connection initally, you can use the
'defaultroute' option. Syntax would be as follows:

#pppd ttyd1 9600 defaultroute 16.66.80.205:16.66.80.42 netmask
255.255.255.0

INCOMING PPP CONNECTIONS
 

HARDWARE SETTING ON MODEM (Optional) You might have to do this

# tip  <phone no>
connected
at
OK
at&c1
OK
at&s1
OK
at&d2
OK
ats0=1
OK
at&w
 
 
 

Step 7:

Start a getty on the tty by adding an entry to /etc/inittab such as:

ppp:23:respawn:/usr/sbin/getty /dev/ttyd1 M9600 vt100

After editing /etc/inittab, have the system read the new entry by doing:

# init q

You should see a getty process on the tty.

Step 8:

Dial in from the remote system, log in as a normal user, then:

$ pppd passive

This will start ppp on the tty.  You can then start ppp on the remote
system to establish the connection.

Alternatively, if you are dialing into Digital UNIX from a system which
uses pap for ppp authentication (such as Windows 95) you will not want
to run a getty.  Instead, start pppd from /etc/inittab, and leave it
running all the time:

ppp:23:respawn:/usr/sbin/pppd +pap -detach /dev/ttyd1 38400 login passive

The +pap option on pppd tell it to use pap for authentication, and the
login option tells it to use the /etc/passwd file for password
information (instead of /etc/ppp/pap-secrets).  The -detach flag is
necessary to prevent init from respawning the process excessively.

Step 9:

Now you can fill in the UNIX account information (username,
password) in the Dial-Up Networking/Connection dialog box in Windows 95,
and connect to the UNIX system.  When you disconnect, the UNIX system will
respawn pppd and wait for another connection.

If you are having trouble establishing the ppp connection, you can
enable debugging by adding an entry to /etc/syslog.conf:

local2.debug    /var/adm/syslog.dated/daemon.log

Then find the /usr/sbin/syslogd process and send it a hangup signal:

# ps ax | grep syslog
  153 ??       S        0:35.88 /usr/sbin/syslogd
16986 ttyqc    S  +     0:00.01 grep syslog
# kill -1 153

Now you can start pppd with a "-d" flag and look in daemon.log for messages.

For additional pppd options please review the online or hardcopy documentation on ppp configuration.

If you have followed these instructions and still cannot establish a ppp
link, please refer to the ppp troubleshooting portion of the Network
Administration  Guide, chapter 13.

If you are still encountering difficulties, please call the Digital
Customer   Support Center at 1-800-354-9000 and ask for Unix Networking Assistance.
 

Below is a sample ppp connection setup on a digital unix V4.0 system
connecting into a digital ds700 terminal server using a DECmodem V32 at 9600 baud.
 
 

On the terminal server port, we see the following..

Local> show internet

Internet Address:  16.66.80.50
Subnet Mask:       255.255.255.0
 

Local> show port 3
Port  3:MYNAME                         Server: OSDMP3

Character Size:            8           Input Speed:               9600
Flow Control:            CTS           Output Speed:              9600
Parity:                 None           Modem Control:          Enabled
Stop Bits:           Dynamic

Access:                Local           Local Switch:              None
Backwards Switch:       None           Name:                    PORT_3
Break:              Disabled           Session Limit:                4
Forwards Switch:        None           Type:                      Ansi
Default Protocol:        LAT           Default Menu:              None

Preferred Service: None

Authorized Groups:   0
(Current)  Groups:   0

Enabled Characteristics:
Autoconnect,  Broadcast,  Failover,  Input Flow Control,  Lock,
Loss Notification,  Message Codes,  Output Flow Control,  Password,
PPP,
SLIP,  Verification

Local>
Local> show port 3 ppp ipcp
Port  3: MYNAME                       Server: OSDMP3

IPCP Characteristics:

IPCP:                               Enabled
Passive Open:                      Disabled
Restart Timer:                            3 seconds
Max Configure:                           10 transmissions
Max Terminate:                            2 transmissions
Max Failure:                             10 transmissions

IPCP Options:                Local:

Negotiate Address:         Disabled
Remote IP Address:          0.0.0.0
Compress Header:           Disabled
Compress States:                 16
 

Local>
Local> show port 3 ppp lcp char
Port  3: MYNAME                       Server: OSDMP3

LCP Characteristics:

LCP:                                Enabled
Passive Open:                      Disabled
Restart Timer:                            3 seconds
Max Configure:                           10 transmissions
Max Terminate:                            2 transmissions
Max Failure:                             10 transmissions

LCP Options:               Local:

MRU:                         1500
Character Map:           FFFFFFFF
Authentication:          Disabled
Link Quality:            Disabled
Magic Number:            Disabled
PF  Compress:            Disabled
ACF Compress:            Disabled
FCS Size:                  16 Bit
 

Local>
Local> change port 3 ppp ipcp host address 16.66.80.205
 
 

in window #1 of the digital unix system, we do the following...
 

# !tip
tip modem
connected
atdt5925555
CONNECT 9600

#
Network Access SW V1.4 for DS700-08 (BL91-32)

(c) Copyright 1994, Digital Equipment Corporation - All Rights Reserved

Please type HELP if you need assistance

Local> c ppp
Local -561- Starting SLIP or PPP datalink session~}#@!}!} }
}$}-o~~}#@!}!}!} }$Q
5~
 
 

in window #2 fo the digital unix system, we do the following...
 

(note: a few previous informational command are given to show changes...
       prior to starting up the pppd deamon)

# ifconfig ppp0
ppp0: flags=10<POINTOPOINT>

# netstat -in
Name  Mtu   Network     Address               Ipkts Ierrs    Opkts Oerrs
Coll
ln0   1500  <Link>      08:00:2b:3e:2e:3a    206319     0   215821     0
33
ln0   1500  DLI         none                 206319     0   215821     0
33
ln0   1500  16.66.96.96 16.66.96.105         206319     0   215821     0
33
sl0*  296   <Link>                                0     0        0     0
0
lo0   1536  <Link>                            19399     0    19399     0
0
lo0   1536  127         127.0.0.1             19399     0    19399     0
0
ppp0* 1500  <Link>                              250    12     1403     3
0

# netstat -rn
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
Netmasks:
Inet             255.255.255.0
Inet             255.255.225.224

Route Tree for Protocol Family 2:
default          16.66.96.100       UG         11   139251  ln0
16.66.96.96      16.66.96.105       U          53    83193  ln0
127.0.0.1        127.0.0.1          UH          1        0  lo0

# pppd ttyd1 9600 16.66.80.205:16.66.80.205 netmask 255.255.255.0

# ifconfig ppp0
ppp0: flags=51<UP,POINTOPOINT,RUNNING>
     inet 16.66.80.205 --> 16.66.80.205 netmask ffffff00  ipmtu 1500

# netstat -in
Name  Mtu   Network     Address               Ipkts Ierrs    Opkts Oerrs
Coll
ln0   1500  <Link>      08:00:2b:3e:2e:3a    206487     0   215939     0
33
ln0   1500  DLI         none                 206487     0   215939     0
33
ln0   1500  16.66.96.96 16.66.96.105         206487     0   215939     0
33
sl0*  296   <Link>                                0     0        0     0
0
lo0   1536  <Link>                            19406     0    19406     0
0
lo0   1536  127         127.0.0.1             19406     0    19406     0
0
ppp0  1500  <Link>                              257    12     1403     3
0
ppp0  1500  16.66.80    16.66.80.205            257    12     1403     3
0

# netstat -rn
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
Netmasks:
Inet             255.255.255.0
Inet             255.255.225.224

Route Tree for Protocol Family 2:
default          16.66.96.100       UG         11   139260  ln0
16.66.80.205     16.66.80.205       UH          1        0  ppp0
16.66.96.96      16.66.96.105       U          55    83306  ln0
127.0.0.1        127.0.0.1          UH          1        0  lo0

# route add -net 16.66.80 16.66.80.205 1
old usage of trailing digit, assuming route via gateway
add net 16.66.80: gateway 16.66.80.205

# ping 16.66.80.2
PING 16.66.80.2 (16.66.80.2): 56 data bytes
64 bytes from 16.66.80.2: icmp_seq=0 ttl=254 time=304 ms
64 bytes from 16.66.80.2: icmp_seq=1 ttl=254 time=303 ms
64 bytes from 16.66.80.2: icmp_seq=2 ttl=254 time=302 ms
 

----16.66.80.2 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 302/303/304 ms

# traceroute 16.66.80.2
traceroute to 16.66.80.2 (16.66.80.2), 30 hops max, 40 byte packets
 1  osdmp3 (16.66.80.50)  203 ms  203 ms  202 ms
 2  tsc (16.66.80.2)  206 ms  206 ms  204 ms
#
 
  On Wed, 18 Aug 1999, Seonho Choi wrote: > Hello > > I am trying to setup PPP server on alpha OSF1 V4.0 machine (more > specifically, > Personal Workstation 600au) so that Windows9x PC's and Mac's can > connect. I > have set up modem and am able to initiate normal text-based connection > using simple terminal programs on PC's or Mac's. But when I try to > initiate PPP connection, it looks like PC's or Mac's do not understand > what Alpha is talking about. If you have PPP server set up on Alpha > machines, please give me some > advice. Thanks. > > -- > Seonho Choi > > ============================================================================= > Physics Dept., Temple University Phone : 215-204-1331 > Barton Hall, 1900 N. 13th St. FAX : 561-258-7689 > Philadelphia PA19122, USA E-mail : choi@jlab.org > > >