Lucent Technologies PortMaster Manuel D’Utilisation

Page de 364
Configuration Steps for Shared Device Access
18-8
PortMaster Configuration Guide
Parallel Port (P0) Settings
You can also configure the parallel port P0 to access a printer. To configure the P0 port 
for a printer, use the values shown in Table 18-5.
Leave all other settings at their default values. 
After you have configure port P0 as shown in Table 18-5, enter the following commands 
to reset the port and save the configuration:
Command> reset  P0
Command> save  all
Configuring a Network Device for Telnet Access
To access modems or other devices attached to PortMaster ports via Telnet, use the 
general configuration given earlier in this chapter but use the settings shown in 
Table 18-6. This example is for port S1.
After resetting port S1, you can access it using Telnet from your host or by entering the 
following commands:
Command> reset s1
Command> telnet pm1 6001
Table 18-5
Parallel Port (P0) Values
Setting
Command
Port type
set P0 device /dev/ttyre
Host
set P0 host default
Device service
set P0 service_device portmaster
Table 18-6
Serial Port Values to Allow a Telnet Connection to Ports S0 through S29
Setting
Command
Port type
set s1 device /dev/network
Modem control
set s1 cd off
Device service
set s1 service_device telnet 6001