
893-741-B
A6-7
Modems
In the following example, a port is configured for a 9600-baud bidirectional modem:
command:port 16
command:set port speed 9600 control_lines both
command:type_of_modem T2500 type dial_in mode adaptive
command:output_is_activity y inactivity_timer 20
command:input_flow_control eia output_flow_control eia
Setting Up Applications
The following subsections provide set-up procedures that allow applications to access the Model
5390 port to which a modem is attached. These procedures use the rtelnet utility (see rtelnet on
page C4-8 for more details). All ports to which rtelnet attaches must be in adaptive or auto_adapt
mode. Set the port parameter mode to either adaptive or auto_adapt.
tip and uucp
The following procedure sets up applications, such as tip and uucp, to access a modem:
1
Use the rtelnet utility to create a special file that references the Model 5390 port.
Using rtelnet allows setting up the application as if /dev/modem is directly connected. The
following example ties /dev/modem to port 13 on
5390_02
.
# rtelnet –mr 5390_02 13 /dev/modem
In the previous example, the –m argument instructs the Model 5390 server to momentarily drop
the network connection to the Model 5390 port when the pseudo device is closed; it also causes
the modem to hang up when the application exits. The –r argument directs rtelnet
to remove
the
device
name
if it already exists; without –r, rtelnet
exits with an error message if the
device
name
already exists.
2
Add rtelnet to /etc/rc (or the appropriate file) so that the special file is created when the
host boots.
3
Configure the application to use the special file created by rtelnet to access the
modem.
Summary of Contents for 5390
Page 28: ...893 741 B Figures xxviii ...
Page 44: ...893 741 B Preface xliv ...
Page 45: ......
Page 48: ......
Page 60: ...A1 12 893 741 B Introduction to the Model 5390 Server ...
Page 106: ...A3 18 893 741 B Configuring Ports ...
Page 142: ...A5 12 893 741 B Printers ...
Page 152: ...A6 10 893 741 B Modems ...
Page 168: ...A7 16 893 741 B Serial Line Internet Protocol SLIP ...
Page 224: ...A9 38 893 741 B Internetwork Packet Exchange IPX Protocol ...
Page 258: ...A11 12 893 741 B Dial up Networking ...
Page 289: ...893 741 B A12 31 Internet Protocol IP Routing that are possible ...
Page 506: ...A15 86 893 741 B Using Model 5390 Security ...
Page 507: ......
Page 544: ...B1 36 893 741 B Network Administration ...
Page 574: ...B2 30 893 741 B Simple Network Management Protocol SNMP ...
Page 575: ......
Page 606: ...C1 30 893 741 B na Commands ...
Page 676: ...C2 70 893 741 B Configuration Parameters ...
Page 772: ...C3 96 893 741 B Using the CLI Commands ...
Page 794: ...C5 12 893 741 B Network Protocols ...
Page 795: ......
Page 796: ... Appendix D1 Software Reference Part D Appendixes ...