<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: kermit vs uucp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379532#M197262</link>
    <description>Something else - you can configure the /etc/uucp/Systems file and then add an entry in the cron to connect to the modem. From there you can collect the return responses from the modem.</description>
    <pubDate>Wed, 15 Sep 2004 10:06:04 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2004-09-15T10:06:04Z</dc:date>
    <item>
      <title>kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379530#M197260</link>
      <description>Im trying to come up with a way to test modems automatically.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Todd</description>
      <pubDate>Wed, 15 Sep 2004 09:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379530#M197260</guid>
      <dc:creator>Todd Bowden</dc:creator>
      <dc:date>2004-09-15T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379531#M197261</link>
      <description>If all you need to do is test for the AT response you can use the "cu" command. &lt;BR /&gt;&lt;BR /&gt;There are many scripting langauges that will accomplish this feat. A shell script will work, perl, expect, etc...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 09:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379531#M197261</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-09-15T09:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379532#M197262</link>
      <description>Something else - you can configure the /etc/uucp/Systems file and then add an entry in the cron to connect to the modem. From there you can collect the return responses from the modem.</description>
      <pubDate>Wed, 15 Sep 2004 10:06:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379532#M197262</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-09-15T10:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379533#M197263</link>
      <description>I have tried scripting it but have not gotten it to work.  I try giving it the AT commands but it doesnt seem to see them.</description>
      <pubDate>Wed, 15 Sep 2004 10:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379533#M197263</guid>
      <dc:creator>Todd Bowden</dc:creator>
      <dc:date>2004-09-15T10:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379534#M197264</link>
      <description>Hi Todd,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Wed, 15 Sep 2004 12:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379534#M197264</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-09-15T12:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379535#M197265</link>
      <description>So does no one in the forums test out their modems?  If so how are you doing it?  Im just looking for a simple way to send AT commands to a modem and get back an OK.  I have had problems with sending AT commands to some of our modems and get a Lost Carrier.  So now Im trying to come up with a simple way of testing them.  I guess its not so simple, except if you do it manually.</description>
      <pubDate>Wed, 15 Sep 2004 13:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379535#M197265</guid>
      <dc:creator>Todd Bowden</dc:creator>
      <dc:date>2004-09-15T13:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379536#M197266</link>
      <description>You might want to RESET, besides ATTENTION (AT).&lt;BR /&gt;&lt;BR /&gt;You might want to even force a Dial on one modem to your office phone, and get NO-HandShake/Modem present...&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;a Great Reference Book:&lt;BR /&gt;&lt;BR /&gt;UNIX Network Programming, W. Richard Stevens, Prentice Hall, 1990.  ISBN 0-13-949871-1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 22:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379536#M197266</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2004-09-15T22:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379537#M197267</link>
      <description>Hi Todd,&lt;BR /&gt;&lt;BR /&gt;I'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 ;)&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;set line /dev/tty1p0&lt;BR /&gt;set speed 9600&lt;BR /&gt;output at\13&lt;BR /&gt;input 5 ok&lt;BR /&gt;if success echo Modem OK&lt;BR /&gt;else echo Modem problem&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;You can run this by using kermit -y &lt;FILENAME of="" script=""&gt;&lt;/FILENAME&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Thu, 16 Sep 2004 05:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379537#M197267</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-09-16T05:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: kermit vs uucp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379538#M197268</link>
      <description>Darren,&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Thu, 16 Sep 2004 08:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kermit-vs-uucp/m-p/3379538#M197268</guid>
      <dc:creator>Todd Bowden</dc:creator>
      <dc:date>2004-09-16T08:46:30Z</dc:date>
    </item>
  </channel>
</rss>

