Administrative

Projects

Active

Future

Finished

Reference

Abandoned

DecServer 700 configuration notes

Here I keep some notes on the configuration of a DecServer 700. I own the -16 model, so some of these notes may be specific to the 16-port model.

Basic port configuration and telnet forwarding

Booting the DS700

Obtaining the WWENG2 boot image

To make the DecServer 700 work, you need to provide it with a kind of operating system. This can be loaded from the network over different protocols, or stored on and loaded from a PCMCIA flash memory card.

For the DecServer 700, the file you want to use is named WWENG2.

Please note that I will not copy and distribute the WWENG2 boot file. This is copyrighted material, and is still sold for serious money by Vnetek Communications today. Please inquire there for your required boot software.
Thank you.

Booting from TCP/IP

The DS700 wants configuration by bootp or dhcp. It's quite easy to set up a bootp server (what makes more sense here than dhcp) on a dhcp server program. All that's needed is an entry like this in the dhcp.conf (you might want to consult the dhcpd's manual page):

host serial-01 {
  hardware ethernet 08:00:2b:38:fe:4f;
  fixed-address 10.0.1.241;
  filename "/srv/tftp/WWENG2";
}

Of course, there has to be a tftp server set up and running, with access to the bootfile given in the bootp (or dhcp) configuration.

Booting from flash memory

When a flash memory card is installed in the DecServer, and the boot image is stored thereon, the system can be booted from the flash card even if the boot server is down (or there is no boot server any more).

I have installed a regular PCMCIA flash memory card in my DecServer, and it is working happily with it. There seems to be a problem with current storage sizes, though: When I installed a 16 MB card, the DS recognized it as flash memory, but was not able to write the boot file to it. I then bought (on eBay) a 2 MB memory card, and with this, it worked.

When the card is installed, you need to do the following to write the boot image to the card. You have to provide a boot server with tftp support as described above for this:

Local> INITIALIZE FROM ETHERNET UPDATE FLASHRAM DELAY 0

Connection will then be closed immediately, and a reboot process will take place. Writing to the flash RAM takes some minutes, please be patient when the 7-segment display shows three horizontal dashes. It's writing to the card then.

After successful installation, you can verify that the boot file has been written:

Local> SHOW MEMORY

Dynamic RAM:                                     4 M bytes

Non-Volatile RAM:                               32 K bytes

Flash RAM:                                                
  Installed:                                           Yes
  Total size:                                    2 M bytes
  Boot block:                                        Valid
  Load Image:                                             
    Name:                                           WWENG2
    Size:                                    1568144 bytes
    Version:                Network Access SW V2.0 BL10-40

Basic port configuration and telnet forwarding

As an example, we will here set up one of the ports so that a user can connect to a serial console attached to it through telnet to a defined port number.

When the TC is booted, one can telnet into it, using the default password "access" if not configured otherwise. Please see the manual for this. Now there's some configuration to do to configure it for telnet access to serial consoles attached to it.

First, we set up the basic connection parameters (adjust as necessary):

CHANGE PORT 1 DEFAULT PROTOCOL DIAL
CHANGE PORT 1 ACCESS REMOTE
CHANGE PORT 1 FLOW CONTROL XON
CHANGE PORT 1 PARITY NONE
CHANGE PORT 1 SPEED 9600

Then we set up the telnet listener:

DEFINE PORT 1 ACCESS REMOTE AUTOBAUD DISABLED AUTOCONNECT DISABLED
DEFINE PORT 1 BREAK DISABLED DEDICATED NONE DSRLOGOUT DISABLED
DEFINE PORT 1 DTRWAIT ENABLED INACTIVITY LOGOUT DISABLED
DEFINE PORT 1 INTERRUPTS DISABLED LONGBREAK LOGOUT DISABLED
LOGOUT PORT 1
CHANGE TELNET LISTENER 2001 PORTS 1 ENABLED
CHANGE TELNET LISTENER 2001 IDENTIFICATION "computer name goes here"
CHANGE TELNET LISTENER 2001 CONNECTIONS ENABLED

Finally, you can check the configuration against one that's proven to work:

Example: working config for DecServer 700

Here's just how to check it and how it should look like...

"Local>" is the DecServer's prompt, so everything after it can be assumed to be user's input...

2[thiemo@gea:~]> telnet serial-01
Trying 10.0.1.241...
Connected to serial-01.ham01.thiemo.net.
Escape character is '^]'.

[press return once]

# [enter password here]

Network Access SW V2.0 for DS700-16 (BL10-40)

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

Please type HELP if you need assistance

Enter username> thiemo

Local>  set priv
Password> [enter priviledged password here]
Local> show port 1

Port  1:                               Server: SERIAL-01

Character Size:            8           Input Speed:               9600
Flow Control:            XON           Output Speed:              9600
Parity:                 None           Signal Control:        Disabled
Stop Bits:           Dynamic           Signal Select:  CTS-DSR-RTS-DTR

Access:               Remote           Local Switch:              None
Backwards Switch:       None           Name:                    PORT_1
Break:              Disabled           Session Limit:                2
Forwards Switch:        None           Type:                      Soft
Default Protocol:       Dial           Default Menu:              None
                                       Dialer Script:             None
                                       Preferred Service: None

                                       Authorized Groups:   0
                                       (Current)  Groups:   0

                                       Enabled Characteristics:
                                       DTRwait,  Failover,  Input Flow
Control,  Lock,  Loss Notification,
Message Codes,  Output Flow Control,  Verification

Local> show port 1 status

Port  1:                               Server: SERIAL-01

Access:        Remote                  Current Service:                   
Status:          Idle                  Current Node:                      
Sessions:           0                  Current Port:

Input XOFFed:      No                  Output Signals: DTR RTS
Output XOFFed:     No                  Input Signals:  CTS DSR RXD

Local> show listener 2001

Listener TCP-port:  2001                     Listener Type:  TELNET 
Identification:     sunrise console
Ports:              1
Connections:        Enabled

Local> logout
Connection closed by foreign host.

That's pretty much it. Now we can test the thing...

3[thiemo@gea:~]> telnet serial-01 2001
Trying 10.0.1.241...
Connected to serial-01.ham01.thiemo.net.
Escape character is '^]'.

<#0> ok banner
SPARCserver 1000E, No Keyboard
ROM Rev. 2.30, 1280 MB memory installed, Serial #77?????.
Ethernet address 8:0:20:??:??:??, Host ID: 80??????.



<#0> ok  [press ^]]
telnet> [press ^D]Connection closed.

Configuring a LAT service

DecServer 700 Dialin configuration

Please note: This page describes configuration for a DS700-16. Configuration for the -08 model differs, as this supports Full Modem Control. Please see the manual for this.

This configuration is what I use for dialing into my DS700 with an attached modem.

The modem is attached to port 16 here, so I will show the configuration for this port. Please consult the manual or the excellent online help to find out how to set your configuration this way.

Basic port configuration

Local> show port 16

Port 16: PHONE                         Server: SERIAL-01

Character Size:            8           Input Speed:              19200
Flow Control:            CTS           Output Speed:             19200
Parity:                 None           Signal Control:         Enabled
Stop Bits:           Dynamic           Signal Select:  CTS-DSR-RTS-DTR

Access:              Dynamic           Local Switch:              None
Backwards Switch:       None           Name:                 MOD-HAM-1
Break:              Disabled           Session Limit:                2
Forwards Switch:        None           Type:                      Hard
Default Protocol:        LAT           Default Menu:              MAIN
                                       Dialer Script:            PHONE
                                       Preferred Service: None

Authorized Groups:   0
(Current)  Groups:   0

Enabled Characteristics: Autoconnect, Broadcast, Dialup, Inactivity Logout,
Input Flow Control, Lock, Loss Notification, Message Codes, Output Flow
Control, Password, Verification

"FYI" only, the port status output:

Local> show port 16 status

Port 16: PHONE                         Server: SERIAL-01

Access:       Dynamic                  Current Service:                   
Status:          Idle                  Current Node:                      
Sessions:           0                  Current Port:

Input XOFFed:      No                  Output Signals: DTR RTS
Output XOFFed:     No                  Input Signals:  CTS DSR RXD

After the basic port characteristics are CHANGEd, there are some other things that might have to be tweaked: A dialer script for modem configuration (optional, if your modem works out-of-the-box), and LAT services for the console connections once you have logged in on the terminal server. You might also want to install a custom menu that shall be presented to the user.

Dialer script

Local> show dialer script phone

Dial Script :      PHONE

Init String:       ATS0=2              
Reset String:      ATS0=2                                                      
Command String:    AT                                                          
Prefix String:     DT                                                          
Connect String:    CONNECT

It is important that the modem answers a dialing phone after a defined number of rings (after the second ring signal in this configuration).

Example dialin session
1[root@xen:~]# kermit
C-Kermit 7.0.196, 1 Jan 2000, for FreeBSD 3.0
 Copyright (C) 1985, 2000,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/thiemo/) C-Kermit>dial 22
 Trying: 22...
 Device: /dev/cuaa4, modem: generic-high-speed, speed: 19200
 Dial timeout: 70 seconds
 To cancel: type your interrupt character (normally Ctrl-C).
 Call complete: "CONNECT 19200/REL - LAPM".
Connecting to /dev/cuaa4, speed 19200.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------

# [ enter password here ]

Network Access SW V2.0 for DS700-16 (BL10-40)

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

Please type HELP if you need assistance
                            Digital Equipment Corporation
                           Network Access Server Main Menu


 1 Connect to sunrise console
 2 Connect to dawn console
 3 Connect to mayflower console

 4 Show Sessions

 5 Next Session

 6 Close Session

 7 GOTO Command Line

 8 Quit




Enter item number to make your choice.
Press <Return> to execute your choice.
7
LEAVE MENU
Local> show server

Network Access SW V2.0 for DS700-16 BL10-40  ROM V4.0-0  Uptime:   0 00:30:04

Address:   08-00-2B-38-FE-4F   Name:   SERIAL-01          Number:     0

Identification:

Circuit Timer:            80           Password Limit:            5
Console Port:              1           Prompt:              Local> 
Inactivity Timer:         30           Queue Limit:             100
Keepalive Timer:          20           Retransmit Limit:          8
Multicast Timer:          30           Session Limit:            64
Node Limit:              200           Software:             WWENG2

Service Groups:   0

Enabled Characteristics:
Broadcast,  Dump

Local> logout
[ press ^\u in kermit ]
Hanging up (Back at xenophon)
----------------------------------------------------
(/home/thiemo/) C-Kermit>exit
Closing /dev/cuaa4...OK
2[root@xen:~]# exit

LAT service

To be able to connect to other ports when having dialed in, you have to define LAT services. To prevent the DS700 from announcing these services over the network, you might want to do

CHANGE SERVER ANNOUNCEMENTS DISABLED

Then you have to create a LAT service for each console you want to be able to connect to from the Local> prompt.

In this example the service is named "dawn_cons", and it connects to port 2. You have to use LIST here, not SHOW, as only LIST shows the local devices on this DS system.

Local> DEFINE SERVICE dawn_cons
Local> CHANGE SERVICE dawn_cons QUEUE DISABLED
Local> CHANGE SERVICE dawn_cons IDENT "dawn console"
Local> CHANGE SERVICE dawn_cons PORTS 2
Local> LIST SERVICE dawn_cons

Service: DAWN_CONS
Identification: dawn console
Ports:  2
Rating:   0
Enabled Characteristics:
Connections

Please note that I have disabled the QUEUE characteristic for the port, it is enabled by default. You may want to make sure that exactly one port is added to one service.

If you want to remove a service, you can PURGE it.

You can now connect to the serial port by issuing

CONNECT LAT DAWN_CONS

from the 'Local>' prompt.

Setting up a menu

As seen in the basic characteristics, you can define a MENU per port.

The important lines look like this:

Local> SHOW MENU MAIN

[ ... stuff deleted ... ]
Line 6 Display:
Connect to dawn console

Line 6 Execute:
CONNECT LAT dawn_cons
[ ... stuff deleted ... ]

For general help on defining menus, either read the default MAIN menu (you can just SHOW MENU MAIN), or consult the documentation.

Telnet listener

For debugging purposes, I have also set up a telnet listener on the modem port:

Local> show telnet listener 2016

Listener TCP-port:  2016                     Listener Type:  TELNET 
Identification:     Dialout
Ports:              16
Connections:        Enabled

Wiring of the RJ45 port connectors

"Straight" wiring of the RJ45 sockets

With the connector sockets in the TC numbered as shown, the cable should be wired like this to provide a direct connection:

RJ45DB-9DB-25signal
157RxD GND
223RxD
357TxD GND
485CTS
574RTS
632TxD
7420DTR
866DSR
+------------+
|            |
|  12345678  |
+---+    +---+
    \____/

Wiring with included null-modem cable

This wiring layout is to be used for connecting the TC directly with a serial console port on a computer.

RJ45DB-25 male
1 + 37
22
48
58
63
76 + 22
820
./.4 + 5

Wiring for Cisco Catalyst 2948G-L3

This cable can be used to connect the serial console port of a Cat 2948G-L3 to the DS700. It should also work for a Sun Microsystems Netra t1 Model 105.

RJ45RJ45
15
28
32
41
53
66
77
84

Serial-01 Terminal Server Port Information

Mostly for my personal use, here's a reference for my own DS700 and its connected systems.

Port    Telnet  LAT service Function

eth 23  -       serial-01 console
01  2001    SUNRISE_CONS    sunrise system board 0 console
02  2002    DAWN_CONS   dawn console
03  2003    MAYFLW_CONS mayflower console
04  2004    MYGIEA_CONS mygiea console
05  2005    RAGNA_CONS  ragnaroek console
06  2006    HEIMDALL_CONS   heimdall console
07  2007    MJOELLNIR_CONS  mjoellnir console
08  2008    -       switch-03 console
15  -   -       DEC vt510 terminal
16  -   -       modem serial line

Logbook