HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring a modem on ttyd1p0
Operating System - HP-UX
1832857
Members
3448
Online
110047
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-08-2001 04:25 AM
06-08-2001 04:25 AM
Configuring a modem on ttyd1p0
Dear all,
I would like to disable (definitely stop the ungetty process) in order to be able to use the ttyd1p0 for an other application.
I get the messagae Device Temporarily Unavailable, certainly because of :
ps -ef |grep ttyd1p0
root 13273 1 0 14:16:12 ? 0:00 /usr/lbin/uucp/uugetty -r -t 60 -h ttyd1p0 9600
Could you please tell me where do I have to stop the process ?
I would like to disable (definitely stop the ungetty process) in order to be able to use the ttyd1p0 for an other application.
I get the messagae Device Temporarily Unavailable, certainly because of :
ps -ef |grep ttyd1p0
root 13273 1 0 14:16:12 ? 0:00 /usr/lbin/uucp/uugetty -r -t 60 -h ttyd1p0 9600
Could you please tell me where do I have to stop the process ?
Pascal Haeny
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2001 04:36 AM
06-08-2001 04:36 AM
Re: Configuring a modem on ttyd1p0
Found this...maybe it will help you:
==================================
How to access a port without a getty/uugetty running.
DocId: KBAN00000224
Updated: 20000224
DOCUMENT
How to open up a port and set the stty characteristics on a port without a getty/uugetty process.
1. Create the /dev entry by adding a modem using SAM for call-in and callout.
(This will create 3 device files ttyd#p#, cul#p#, and cua#p#).
2. Edit the last line in /etc/inittab and replace respawn to off.
a0:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p0 19200
a0:3:off:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p0 19200
Example using ttyd0p0 on the D series system
#fuser ?k /dev/ttyd0p0 (This will kill all processes on that port)
#nohup sleep 9999999 < /dev/ttyd0p0 &(Opens the port with a sleep for 9999999 seconds)
#ps ?ef |grep sleep (Check for the sleep running on the port)
#stty ?a < /dev/ttyd0p0 (Displays the current stty port settings *You will see the baud rate set to 300 *
#stty 9600 < /dev/ttyd0p0 (This will set the baud rate to 9600)
At this point one can setup parity and stop bits if the applications call for it. The port will keep this stty setting until the sleep times out or the system is rebooted.
Regards,
Rita
==================================
How to access a port without a getty/uugetty running.
DocId: KBAN00000224
Updated: 20000224
DOCUMENT
How to open up a port and set the stty characteristics on a port without a getty/uugetty process.
1. Create the /dev entry by adding a modem using SAM for call-in and callout.
(This will create 3 device files ttyd#p#, cul#p#, and cua#p#).
2. Edit the last line in /etc/inittab and replace respawn to off.
a0:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p0 19200
a0:3:off:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p0 19200
Example using ttyd0p0 on the D series system
#fuser ?k /dev/ttyd0p0 (This will kill all processes on that port)
#nohup sleep 9999999 < /dev/ttyd0p0 &(Opens the port with a sleep for 9999999 seconds)
#ps ?ef |grep sleep (Check for the sleep running on the port)
#stty ?a < /dev/ttyd0p0 (Displays the current stty port settings *You will see the baud rate set to 300 *
#stty 9600 < /dev/ttyd0p0 (This will set the baud rate to 9600)
At this point one can setup parity and stop bits if the applications call for it. The port will keep this stty setting until the sleep times out or the system is rebooted.
Regards,
Rita
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