- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kermit vs uucp
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
09-15-2004 02:47 AM
09-15-2004 02:47 AM
We have 48 modems attached to a 64 port mux card in an L3000. I would like to automate using kermit to test out the modems to see if they accept "AT" commands and then exit, is this possible? If so how?
Todd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 02:56 AM
09-15-2004 02:56 AM
Re: kermit vs uucp
There are many scripting langauges that will accomplish this feat. A shell script will work, perl, expect, etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 03:06 AM
09-15-2004 03:06 AM
Re: kermit vs uucp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 03:16 AM
09-15-2004 03:16 AM
Re: kermit vs uucp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 05:03 AM
09-15-2004 05:03 AM
Re: kermit vs uucp
I recommend the "Using C-Kermit" book by da Cruz/Gianone published by Digital Press. There's a lot of info in there about writing scripts and getting Expect-type functionality.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 06:09 AM
09-15-2004 06:09 AM
Re: kermit vs uucp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 03:44 PM
09-15-2004 03:44 PM
Re: kermit vs uucp
You might want to even force a Dial on one modem to your office phone, and get NO-HandShake/Modem present...
There has to be some public domain software to do what your expect.. have you search under google.com or maybe even Linux to get the "cu" source code.
The problem with Cu, I think it reads from standard-input... would be nice to change this to read from a script, much like, what uucp does.
a Great Reference Book:
UNIX Network Programming, W. Richard Stevens, Prentice Hall, 1990. ISBN 0-13-949871-1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 10:55 PM
09-15-2004 10:55 PM
SolutionI'm not sure I understand why you need to test the modems on a regular basis. If they are used for dial in via a getty then they should be configured such that they reset back to the correct settings when the line drops. If it's dial out usage, then your application should be closing the port correctly when it has finished. Prevention is better than cure ;)
Anyway, here's a basic Kermit script I've just put together. It could be improved by adding exit codes and formatting the text a little but it should give you a starting point:
set line /dev/tty1p0
set speed 9600
output at\13
input 5 ok
if success echo Modem OK
else echo Modem problem
exit
You can run this by using kermit -y
You can then write a loop that creates the script file and uses the appropriate device file and speed for each one, before it gets run by kermit.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 01:46 AM
09-16-2004 01:46 AM
Re: kermit vs uucp
That was exactly what I needed. I intend on getting this book, but needed something to just test AT commands to our modems. A few months ago we had problem with 7-10 of our modems that became unresponsive. HP came out with first a MUX patch and then said we needed to add a MUX panel terminator. Of course now we need to be able to test these modems just to be proactive. The only way to get these modems back was to reboot the system. Thanks again.
After doing some testing with this I found again 3 of our modems are not responding again. The problem is when I send an AT command to the modem it gives me "Lost Carrier" and then disconnects me right away.