02-25-2019
Tty port
Is there an easy to see which /dev/tty a printer is on on SCO Unix 3.2.4.2?
9 More Discussions You Might Find Interesting
1. IP Networking
Hi Linux/Unix Guru,
I am setting Linux Hopping Station to another different servers.
My current config to connect to another servers is using different port to connect.
e.g
ssh -D 1080 -p 22 username@server1.com
ssh -D 1081 -p 22 username@server2.com
Now what I would like to have... (3 Replies)
Discussion started by: regmaster
3 Replies
2. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
3. IP Networking
Hi,
I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies
4. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
5. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
6. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
7. Shell Programming and Scripting
Hi Expert,
Anybody can figure it out on how to generate new port base on my last port let say my last port var1=124 and increment for new port 125,126 but this new two ports need to look at first if this port is not in used by any service, if the port is in used add 1 to new port and if in used... (6 Replies)
Discussion started by: lxdorney
6 Replies
8. Shell Programming and Scripting
In bash, you can do something like this:
#!/bin/bash
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
#!/usr/bin/python2.7
import getpass
import sys
import telnetlib
import... (2 Replies)
Discussion started by: SkySmart
2 Replies
9. UNIX for Beginners Questions & Answers
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Discussion started by: yossi
2 Replies
LEARN ABOUT DEBIAN
spattach
KISSATTACH(8) Linux System Managers Manual KISSATTACH(8)
NAME
kissattach, spattach - Attach a KISS or 6PACK interface
SYNOPSIS
kissattach [-b] [-6] [-l] [-m mtu] [-v] tty port [inetaddr]
spattach [-b] [-l] [-m mtu] [-v] tty port [inetaddr]
DESCRIPTION
Attach a KISS or a 6PACK interface to what is normally a tty line connected to a TNC in KISS or 6PACK mode. This program will turn itself
into a background process. To down an interface send its attach process a SIGTERM.
Kissattach takes many of the parameters for the port from the axports(5) file. If the speed parameter in the file is not equal to zero then
it is used for the serial port speed, a zero value means that no speed is set. The paclen parameter is used for the device mtu unless over-
ridden by a value on the command line.
The tty argument will typically be that of a serial port with a KISS or 6PACK TNC attached, although it could be a pseudo tty or a KISS
port emulator such as an SCC card. Kissattach supports BSD-style pseudo-terminals as well as the Unix98 pty's. If the tty argument is
"/dev/ptmx", then Unix98 behaviour will automaticaly take effekt. With Unix98 pty's, the slave tty name could not be forseen. That's why
kissattach will print the corresponding slave pty name as a separate line on stdout.
The port argument is the name of a port as given in the axports(5) file.
The optional inetaddr argument is the IP address of the new interface. Some time it was mandatory argument (although due to historical rea-
sons this restriction is lifted if the old -i option is used). But there's really not a need for the interface to have an IP address
assigned to.
OPTIONS
-6 Use the 6PACK line discipline instead of KISS. This is the default if the program is called as spattach.
-i inetaddr Set the internet address of the interface. This address may either be a dotted decimal address or a host name. This option
is now depreciated and the program will complain about it, though still work.
-l Log messages to the system log, the default is not to.
-b Allow broadcasts on the interface (default no - because for e.g. samba broadcasts are a pain..)
-m mtu Sets the mtu of the interface. If this value is not given then the value is taken from the paclen parameter in axports.
-v Display the version.
SEE ALSO
kill(1), stty(1), ax25(4), axparms(4), axports(5), ifconfig(8).
AUTHOR
Alan Cox GW4PTS <alan@cymru.net>
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
Linux 4 July 1999 KISSATTACH(8)