GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Callback from internal modem
Operating System - HP-UX
1844090
Members
2508
Online
110227
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
01-06-2001 05:34 AM
01-06-2001 05:34 AM
Callback from internal modem
I would like to be able get the internal modem on my D250 to call me back when I dial in from home.
I have noticed a command called ct, but I can't figure out how to configure it, secure it, and ensure an appropriate fail condition if the callback fails.
The modem is restricted to only allow me to login in, but sam doesn't appear to have any callback config abilities.
Thanks
Chris
I have noticed a command called ct, but I can't figure out how to configure it, secure it, and ensure an appropriate fail condition if the callback fails.
The modem is restricted to only allow me to login in, but sam doesn't appear to have any callback config abilities.
Thanks
Chris
Moving along nicely
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2001 05:54 AM
01-06-2001 05:54 AM
Re: Callback from internal modem
Maybe the following will be of some use ?
How to make ct callback your system
Solution
Create two files that will be located on the remote system:
One has the commands in it and the other has an answer for the command file.
The command file(dct) contains the following:
#!/bin/sh
sleep 20
ct -h -x9 -s($1) ($2) < no > /tmp/ct.log 2>&1
The answer file(no) contains a ascii n which is required for the ct command.
Pass the baud rate($1) and the phone number($2) to the dct script.
Process:
1). Dialin to the remote.
cu -s(baud rate) -l(call out port) -m dir.
atdt(phone number)
(connect)
2). Login in.
3). Execute a batch request.
batch
dct (baud rate) (call back phone number)
control d
4). Exit from the system.
5). The remote system will call after about one minute.
The system will log you off and clean up the port and other house
keeping. With a 20 delay in the batch process that allows more than
enough time for the port to clear. Next ct is spawned on a port with
the speed and number indicated in the command.
Now you must have a modem port waiting to accept a call back on the
local. This can be accomplished in unix by using cu command with the dir
option or through kermit. Both can be used to keep control of a modem
How to make ct callback your system
Solution
Create two files that will be located on the remote system:
One has the commands in it and the other has an answer for the command file.
The command file(dct) contains the following:
#!/bin/sh
sleep 20
ct -h -x9 -s($1) ($2) < no > /tmp/ct.log 2>&1
The answer file(no) contains a ascii n which is required for the ct command.
Pass the baud rate($1) and the phone number($2) to the dct script.
Process:
1). Dialin to the remote.
cu -s(baud rate) -l(call out port) -m dir.
atdt(phone number)
(connect)
2). Login in.
3). Execute a batch request.
batch
dct (baud rate) (call back phone number)
control d
4). Exit from the system.
5). The remote system will call after about one minute.
The system will log you off and clean up the port and other house
keeping. With a 20 delay in the batch process that allows more than
enough time for the port to clear. Next ct is spawned on a port with
the speed and number indicated in the command.
Now you must have a modem port waiting to accept a call back on the
local. This can be accomplished in unix by using cu command with the dir
option or through kermit. Both can be used to keep control of a modem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2001 01:58 AM
01-08-2001 01:58 AM
Re: Callback from internal modem
Thanks Alex.
I have now been able to get the machine to call me back using the above, or a straight ct followed by phone number.
However, after providing the login name I am getting an error stating 'Cannot obtain database information on this terminal'. This seems to be a problem with my trusted system configuration.
My modem device is listed in these files;
/tcb/files/devassign
/tcb/files/ttys
a requirement noted in A4317489 but the config steps are a little vague.
I think I will now log a support call.
Thanks,
Chris
I have now been able to get the machine to call me back using the above, or a straight ct followed by phone number.
However, after providing the login name I am getting an error stating 'Cannot obtain database information on this terminal'. This seems to be a problem with my trusted system configuration.
My modem device is listed in these files;
/tcb/files/devassign
/tcb/files/ttys
a requirement noted in A4317489 but the config steps are a little vague.
I think I will now log a support call.
Thanks,
Chris
Moving along nicely
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