07-31-2001
Re: socket by serial port
Thanks Neo for your reply.
Can you help me again ?
Do you know where I can find the value of my serial ports on Irix (port 1 ?, 25 ?, 200 ?,... ?) because I have to specify it to connect my socket ?
Kintoo
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We're running SCO Unix Openserver 5.05 and I'm having trouble with serial communication between the com2 serial port and a handheld device. Downloading data from Unix to the handheld works perfectly, but the other way around creates a major problem. I don't know whether it's a buffer overflow or... (1 Reply)
Discussion started by: Aretha
1 Replies
2. Programming
Helo,
i have one serial device which consists of 30 com ports. after installing driver of this device,it will detects 30 com ports like /dev/ttys0,/dev/ttys1 ....../dev/ttys30.
now 30 com ports are connected with telephny model(each modem has com port).
now i want to establish commnucation b/w... (1 Reply)
Discussion started by: amitpansuria
1 Replies
3. UNIX for Dummies Questions & Answers
I need make serial data from virtual serial ports available on a TCP/IP network.
For communications with hardware COM ports to send and receive serial data over a local network or the Internet.
Example:
POSIX machine (/dev/ttyS0) <--- TCP/IP ---> Windows machine COM1
Please help! I try use... (0 Replies)
Discussion started by: steel98
0 Replies
4. Programming
I have a need to determine when a string has been completely sent via a serial port from a standard 'C' application. The code is as follows:
SerialPort_Send = open (pPortString, O_WRONLY | O_NOCTTY | O_NONBLOCK);
write (SerialPort_Send, pCommandString, strlen (pCommandString));
... (2 Replies)
Discussion started by: ExDes
2 Replies
5. Windows & DOS: Issues & Discussions
Hello all.
I have an old computer with M$-DOS 7. I want to use it like a dumb terminal, with telnet. I need to connect it to my desktop These are my questions:
How can i configure the serial port on dos?
How can i telnet form dos to the serial port?
How can i set up a telnet server on the... (12 Replies)
Discussion started by: mghis
12 Replies
6. Shell Programming and Scripting
Hi,
I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies
7. 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
8. Web Development
I am trying to write to a serial port and capture the reponse in a file -
adduser ethan dialout
The user `ethan' is already a member of `dialout'
root@meow:/home/ethan# ls -l /dev/ttyS0
crw-rw-r-- 1 ethan dialout 4, 64 Oct 7 20:55 /dev/ttyS0
$fh1 = fopen("/dev/ttyS0", "w+");... (74 Replies)
Discussion started by: Meow613
74 Replies
9. Web Development
I need to set a serial port to 9600 7E1. How do I accomplish this?
I've tried every combination, with no luck. (6 Replies)
Discussion started by: Meow613
6 Replies
10. 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
LEARN ABOUT DEBIAN
snmp::info::layer1::cyclades
Info::Layer1::Cyclades(3pm) User Contributed Perl Documentation Info::Layer1::Cyclades(3pm)
NAME
SNMP::Info::Layer1::Cyclades - SNMP Interface to Cyclades terminal servers
AUTHOR
Eric Miller
SYNOPSIS
#Let SNMP::Info determine the correct subclass for you.
my $cyclades = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $cyclades->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
Provides abstraction to the configuration information obtainable from a Cyclades device through SNMP.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $cyclades = new SNMP::Info::Layer1::Cyclades(...);
Inherited Classes
SNMP::Info::Layer1
Required MIBs
CYCLADES-ACS-SYS-MIB
CYCLADES-ACS-CONF-MIB
CYCLADES-ACS-INFO-MIB
Inherited MIBs
See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP
$cyclades->os_ver()
("cyACSversion")
$cyclades->serial()
("cyACSDevId")
$cyclades->root_ip()
("cyEthIPaddr")
$cyclades->ps1_status()
("cyACSPw1")
$cyclades->ps2_status()
("cyACSPw2")
Overrides
$cyclades->layers()
Returns 01000001. These devices don't have a FDB and we probably don't want to poll for an ARP cache so turn off reported Layer 2 and
Layer 3.
$cyclades->vendor()
Returns 'cyclades'
$cyclades->os()
Returns 'cyclades'
$cyclades->model()
Returns lower case ("cyACSpname")
Globals imported from SNMP::Info::Layer1
See "GLOBALS" in SNMP::Info::Layer1 for details.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Overrides
$cyclades->i_index()
Returns reference to map of IIDs to Interface index.
Extended to include serial ports. Serial ports are indexed with the alternative labeling system for the serial port, the listening
socket port "cySPortSocketPort" to avoid conflicts with "ifIndex".
$cyclades->interfaces()
Returns reference to map of IIDs to physical ports. Extended to include serial ports, "cyISPortTty".
$cyclades->i_speed()
Returns interface speed. Extended to include serial ports, "cyISPortSpeed".
$cyclades->i_up()
Returns link status for each port. Extended to include serial ports, "cyISPortSigCD".
$cyclades->i_description()
Returns description of each port. Extended to include serial ports, "cyISPortName".
$cyclades->i_name()
Returns name of each port. Extended to include serial ports, "cyISPortName".
Table Methods imported from SNMP::Info::Layer1
See "TABLE METHODS" in SNMP::Info::Layer1 for details.
perl v5.12.4 2011-09-28 Info::Layer1::Cyclades(3pm)