[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | CMW Ultrix MLS+ notesfile |
|
Moderator: | SMURF::BAT |
|
Created: | Tue Dec 04 1990 |
Last Modified: | Thu May 29 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 780 |
Total number of notes: | 3034 |
779.0. "How to PPP on ULTRIX MLS+" by SMURF::BAT (Segui la tua beatitudine) Fri May 02 1997 21:22
This is the ULTRIX MLS+ V2 version of "howto.ppp"
PPP setup for ULTRIX TO DECserver.
I have specified 19200 as the baud rate, you may use whatever your serial
port will allow.
************MAKE SURE THAT***************
ON ULTRIX MACHINE -
UDXINET440 TCP/IP Networking Util Extension is installed on the ULTRIX
machine. (UDXINET430 or UDXINET435 depending on os version - 440 on
ULTRIX 4.4)
*****************************************
Install the modem on the home machine using:
(TYPE) uucpsetup -m
Add the following to the /etc/remote file on both machines:
modem|19200 Baud attributes|test:\
:dv=/dev/ttyd0:br#19200:pa=none:
/*
For example, on a MIPS box, type:
# file /dev/tty??
You will get a list of the external ports, e.g., :
/dev/tty00: character special (34/2) VS_SLU #0 terminal #2 modem_control off
/dev/tty01: character special (34/3) VS_SLU #0 terminal #3 modem_control off
One of these is the port into which you have plugged the modem cable.
Add either or both of these entries to /etc/remote, e.g.,:
con0:dv=/dev/tty00:br#9600:pa=none:
con1:dv=/dev/tty01:br#9600:pa=none:
In the above case, we're using a V.32 9600 baud modem */
ON THE HOME MACHINE
-------------------
MAKE SURE THAT NO TTYD*'s ARE NOT RUNNING ON THE HOME MACHINE!
Copy /tools/src/dialins/ultrix/ppp-2.2.tar.Z (or .gz, whichever) to your home
machine, uncompress (or gunzip), and untar it.
(I installed mine in /usr/local.)
/* Before rebooting after the kernel rebuild in the instructions
below, also edit the /etc/rc.local file, as described further below. */
Follow the README files pretaining to ULTRIX. Once the software has been
installed, follow the SETUP file info.
edit the /etc/rc.local file:
comment out the line that configures ln0
It should be something like:
/etc/ifconfig ln0 ...
/* If you are already up and running on the ethernet card port,
you can disable it with #ifconfig ln0 down */
/* Add an entry to your /tcb/files/TNETIDB file for the ppp port,
for example:
#
# ppp interface
#
ppp0: min_sl = syslo:\
max_sl = syshi:\
def_sl = syslo:\
def_ilb = syslo:\
def_uid = guest:\
def_gid = guest:\
def_luid = guest:\
flags = import, export:\
def_ngrps = 1:\
def_gids = guest:\
def_sid = 0:\
def_privs = execsuid,allowwindevaccess:
(The above is just a copy of the ln0 interface entry). */
Reboot your home machine.
TO START PPP
-------------
# (TYPE) tip modem
/* in the example above, # tip con1 */
(RESPONSE) connected
(TYPE) ate1
(RESPONSE) OK
(TYPE) atdt [one of the 28.8 modem phone numbers]
/* e.g., atdt11138 if you are testing in-house */
(RESPONSE) RINGING
(RESPONSE) CONNECT [baud rate]/ARQ/V34/LAPM/V42BIS
**** SLOWLY TYPE RETURN UNTIL YOU GET A \"#\" PROMPT ****
(RESPONSE) # (TYPE IN THE PASSWORD)
(RESPONSE) Network Access SW V1.5 for DS700-08 (BL95-33)
(RESPONSE) digital
(RESPONSE) (c) Copyright 1994, Digital Equipment Corporation - All Rights Reserved
(RESPONSE) Please type HELP if you need assistance
(RESPONSE) Enter username> (TYPE IN YOUR USERNAME)
(RESPONSE) ZK12C8> (OR SOME SUCH)
(TYPE) c ppp
(RESPONSE) Local -561- Starting SLIP or PPP datalink session (or some such info)
To get back to a prompt in this window:
(TYPE) ~!
To start ppp on your home machine:
/*
(TYPE) /usr/local/etc/pppd tty01 9600 &
*/
**** DO NOT GET RID OF THIS WINDOW, SAVE IT, YOU WILL NEED IT TO DISCONNECT. ****
/* Continue with the instructions below to add the
IP addresses to /etc/hosts and make entries in /tcb/files/TNETRHDB
*/
You should be able to telnet to any server and bring up xterms or whatever.
In order to use Xterms, you must get the default routing information on your
home machine.
(TYPE) netstat -r
(RESPONSE) Routing Table:
(RESPONSE) Destination Gateway Flags Ref Use Interface
(RESPONSE) -------------------- -------------------- ----- ----- ------ ---------
(RESPONSE) localhost localhost UH 0 8 lo0
(RESPONSE) default [IP ADDRESS] U
When you connect to a server, use the IP ADDRESS above to set your display.
(TYPE) setenv DISPLAY IP ADDRESS:0
/* To be able to connect, you will have to identify the
local and remote ends of the ppp connection in your /etc/hosts
and /tcb/files/TNETRHDB files.
netstat -r might look like:
Routing tables
Destination Gateway Flags Refcnt Use Interface
localhost localhost UH 3 32 lo0
16.29.16.38 16.29.16.41 UH 0 0 ppp0
16.141.96 dtmok U 0 21 ln0
You have to add both the server end and the route end of the
connection, e.g., :
127.0.0.1 localhost
16.141.96.176 dtmok.zk3.dec.com dtmok
#
# Host Database
#
16.141.96.3 kamlia.zk3.dec.com kamlia
16.141.96.43 abitok.zk3.dec.com abitok
16.29.16.38 ppp.zk3.dec.com ppp
16.29.16.41 routeppp.zk3.dec.com routeppp
tail /tcb/files/TNETRDB:
ppp.zk3.dec.com: default_spec = default_single_level:
routeppp.zk3.dec.com: default_spec = default_single_level:
Now, set up a route:
# /etc/route add default routeppp 99
NOTE:
The "Gateway" address will change every time you log in.
The "Destination" will only change if you use a different
phone number (server). You can either just invent a
new name each time (and eventually you'll have them
all defined), or you can re-use the old name. But
you must delete the default before you change /etc/hosts.
To remote an old value:
# /etc/route delete default routeppp
*/
TO HANG UP WHEN DONE GO TO YOUR SAVED WINDOW
--------------------------------------------
Make sure that you are on your machine at home.
(TYPE) hostname
(RESPONSE) (what your machine is called.)
(TYPE) kill `cat /etc/ppp/ppp0.pid`
(TYPE) ^D
then:
(TYPE) ~#~#~. (this will show up as ~~~)
/* only needed to type ~# once */
/* or ~. */
(RESPONSE) [EOT]
#
You are now out of ppp!
If you have any problems or helpful input,
please send mail to [email protected].
T.R | Title | User | Personal Name | Date | Lines
|
---|