Setportenable Sets the port operation state. Controls are: DTRHI, DTRLO Turns on and off the DTR line. Setportcontrol Modify dynamic port controls. LOCAL ignores (- checks) the modem control lines (DCD, DTR, etc.) RTSCTS turns on (- off) hardware flow control. XONXOFF turns on (- off) XON/XOFF support. 7DATABITS,ĨDATABITS set the number of data bits. 1STOPBIT, 2STOPBITS set the number of stop bits. Note that these will not change until the port is disconnected and connected again. If conflicting options are specified, the last option willīe the one used. Setportconfig Set the port configuration as in the device configuration in the /etc/nf file. Setporttimeout Set the amount of time in seconds before the port connection will be shut down if no activity has been seen on the port. A controller may only monitor one thing and a port may only be monitored by one controller.ĭisconnect Disconnect the tcp connection on the port. Term and specifies whether to monitor data from the TCP port or from the serial port Note that data monitoring is best effort, if the controller portĬannot keep up the data will be silently dropped. Only one direction may be monitored at a time. Monitor Display all the input for a given port on the calling control port. Version Display the version of this program. Help Display a short list and summary of commands. If no port is given, all ports are displayed. Showshortport Show information about a port, each port on one line. To accomplish this, it has the following commands: The control port provides a simple interface for controlling the ports and viewing their If the port number is zero, that means that standard in/out will be used for the only input/output, and only one port should be specified in the config. Otherwise, it will bind to all the addresses on the machine. If this is specified, it will only bind to the IP address specified for the port. A port number may be of the form port, such as 127.0.0.1,2000 or v Prints the version of the program and exits.Įnables the control port and sets the TCP port to listen to for the control port. This option sets the IOS version of setting the b Cisco IOS uses a different mechanism for specifying the baud rates than the mechanism described in RFC2217. u If UUCP locking is enabled, this will disable the use of UUCP locks. #Linux test serial connection fullNote also that this filename must be specific with the full path, as ser2net will change directory to "/" when it becomes a If specified, put the process id (pid) of ser2net in the pidfile, replacing whatever was in that file previously. This is most useful for debugging purposes. d Like -n, but also sends the system logs to standard output. n Stops the daemon from forking and detaching from the controlling terminal. This disables theĭefault config file, you must specify a -c after the last -C to have it read a config file, too. This is just like a line in the config file. This may be specified multiple times for multiple lines. Options -c config-file Set the configuration file to one other than the default of /etc/nf -C config-line Handle a single configuration line. If another user is already using the connection or serial port, the connection is refused Program attempts to set up the connection and open the serial port. The program comes up normally as a daemon, opens the TCP ports specified in the configuration file, and waits for connections. The ser2net daemon allows telnet and tcp sessions to be established with a unit's serial
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |