HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cu command on inetd
Operating System - HP-UX
1834414
Members
1900
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 02:02 AM
06-10-2002 02:02 AM
cu command on inetd
Hi.
I'd like to use "cu" command on inetd in below way,but my input was indicated in twice on screen.
Do you know good idea or this way is wrong?
--Configuration on server(sv_a)
1.added below line in /etc/inetd.conf
tty2a4 stream tcp nowait root /usr/bin/cu cu -l /dev/tty2a4
2.added below line in /etc/services
tty2a4 8004/tcp
3.restarted inetd
sv_a #kill -HUP INETD_PID
--
4.connect this server(sv_a) from another host(ws_a).
ws_a #telnet sv_a 8004
5.my input was indicated in twice on screen.
sv_a # ls /etc/hosts
ls /etc/hosts
/etc/hosts
sv_a #
sv_a #
Thanks.
T.Ikuta
I'd like to use "cu" command on inetd in below way,but my input was indicated in twice on screen.
Do you know good idea or this way is wrong?
--Configuration on server(sv_a)
1.added below line in /etc/inetd.conf
tty2a4 stream tcp nowait root /usr/bin/cu cu -l /dev/tty2a4
2.added below line in /etc/services
tty2a4 8004/tcp
3.restarted inetd
sv_a #kill -HUP INETD_PID
--
4.connect this server(sv_a) from another host(ws_a).
ws_a #telnet sv_a 8004
5.my input was indicated in twice on screen.
sv_a # ls /etc/hosts
ls /etc/hosts
/etc/hosts
sv_a #
sv_a #
Thanks.
T.Ikuta
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 02:08 AM
06-10-2002 02:08 AM
Re: cu command on inetd
Hi,
I have no idea. But I noticed this option -h which allows you to emulate local echo.
-h Emulate local echo, supporting calls to other computer systems that expect terminals to be set to half-duplex mode.
You might want to give that a try if that is of any help.
Hope this helps. Regards.
Steven Sim Kok Leong
I have no idea. But I noticed this option -h which allows you to emulate local echo.
-h Emulate local echo, supporting calls to other computer systems that expect terminals to be set to half-duplex mode.
You might want to give that a try if that is of any help.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 03:57 AM
06-11-2002 03:57 AM
Re: cu command on inetd
Hi
I fear I have some bad news for you , inetd as you describe isn't used to start commands it is in fact used for launching daemons that are listening on certain ports (no mather what you put in /etc/services) e.g. you cannot simply set telnet as command in the inetd , you have to put telnetd which is the telnet application itself to which the telnet command send a request , cu is a command not a daemon running so inetd doesn't know exactly what to do with it so that can cause all kinds of strange behaviour, I have no idea why you would like to use cu in this way , what exactly are you trying to achieve ? CU doesn't have a socket itself , it in fact is used for serial communications .. e.g. device files , thay are physical HardWare definitions and not virtual ports like sockets used by telnet
I fear I have some bad news for you , inetd as you describe isn't used to start commands it is in fact used for launching daemons that are listening on certain ports (no mather what you put in /etc/services) e.g. you cannot simply set telnet as command in the inetd , you have to put telnetd which is the telnet application itself to which the telnet command send a request , cu is a command not a daemon running so inetd doesn't know exactly what to do with it so that can cause all kinds of strange behaviour, I have no idea why you would like to use cu in this way , what exactly are you trying to achieve ? CU doesn't have a socket itself , it in fact is used for serial communications .. e.g. device files , thay are physical HardWare definitions and not virtual ports like sockets used by telnet
...knowing one ignores a greath many things is the first step to wisdom...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 05:16 PM
06-13-2002 05:16 PM
Re: cu command on inetd
Hi
Thanks for your helping.
As sven say,I think that cu command acted strange behavior.
I make a wrong use of cu command on inetd.
First of all,I'd like to develop a training system of operation on console for beginners in my company.
I have already developed a training system that user can connect on console with using cu command after login server.
But I'd like to make user to connect directly without using cu command.
Is there good idea?
Regards.
**Now system**
click a link(URL=telnet://sv_a) on web
open terminal window
input from here
| login:serial
| passwword:****
| $cu -l /dev/tty2a4
connected.
**My plan**
click a link on web(URL=telnet://sv_a:8004)
connected.
Thanks for your helping.
As sven say,I think that cu command acted strange behavior.
I make a wrong use of cu command on inetd.
First of all,I'd like to develop a training system of operation on console for beginners in my company.
I have already developed a training system that user can connect on console with using cu command after login server.
But I'd like to make user to connect directly without using cu command.
Is there good idea?
Regards.
**Now system**
click a link(URL=telnet://sv_a) on web
open terminal window
input from here
| login:serial
| passwword:****
| $cu -l /dev/tty2a4
connected.
**My plan**
click a link on web(URL=telnet://sv_a:8004)
connected.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP