Michael,

With all due respect, I'd say that even under DOS, it's not enough to
just get the prompt back. I'd send the AT command and expect an OK back.
Any time I try to talk to any of my modems.

If you put an external modem on your ttys1 and use minicom (as you
said), then type AT and hit return. If you get OK back, then you know:
- That your system is correctly setup to talk to 'something' on that
serial port.

That's half the way. But an important achievement. Don't bother looking
at your UPS until you can talk to something that will give a known
answer on the port. (Like an external modem, answering OK.)

>From there, you should *probably* be able to just plug the UPS in the
serial port and run. If that doesn't work, you may want to read up on
your UPS. Also, remember that the APC UPS's require a specific serial
cable, provided by APC. To make things even worse, there are two
versions of those cables, identified by APC as "the black cable" and
"the gray cable" IIRC.

My Smart-UPS has a set of DIP switches on the back. Yours may or may not
have this. The UPS manual is your friend. :-)

Regards
Gustav

"Michael J. McGillick" wrote:
> 
> Gustav:
> 
> The answer is that nothing comes back when I do this under DOS, just the
> prompt.  A buddy of mine who was very good with serial ports under DOS and
> Windows said that this is exactly the state I'm looking for.  He said that
> if it reports anything, it's usually a misconfiguration.  The first time
> through configuring the two COM ports, I was getting error messages back.
> Now, when I echo AT to COM 1, I do hear the internal click.  I don't have
> any other machines or OSes to be able to try the modem on, but it was
> working before when I had Windows installed, with no problems.  I loved
> the performance.
> 
> I looked at the APC UPS, it's one of the Smart UPS, but I didn't see any
> dip switches.  Maybe I need to look elsewhere on the unit, or there is
> something internal that needs to be set.  I'm sure I can hunt around for
> the manuals, or go to their web site to start, but I wanted to work from
> the machine back to test everything on the machine first before talking to
> APC, if they will offer any help to me at all.
> 
> BTW, I did swap the cable that comes with the unit, as I had another lying
> around.
> 
> I have minicom on my machine now.  How would I test to make sure that the
> modem is working properly?  I should be able to start up minicom with the
> -s option, and then configure it, correct?  I should then be able to type
> AT commands in the window and get a response back from the modem, right?
> 
> - Mike
> 
> On Fri, 4 Feb 2000, Gustav Schaffter wrote:
> 
> > Michael,
> >
> > When you say, "I get the prompt back", does the APC on COM2 actually
> > *tell* you something? If so, what?
> >
> > Do you have any old external modem laying around? Even a 2400bps or
> > slower will do.
> >
> > If so, connect it to ttys1 (Yes, COM2) and use minicom to talk to it.
> > Your 'AT' commnad should return 'OK'. So, you have contact with the
> > outside world through ttys1.
> >
> > Some (most?) APC units need to have the DIP switches correctly set to be
> > able to talk to a PowerChute software. (Read the APC manuals.) Have you
> > been able to run PowerChute to this unit under another OS?
> >
> >
> > Regards
> > Gustav
> >
> >
> > "Michael J. McGillick" wrote:
> > >
> > > Evening:
> > >
> > > I'm working on trying to get the APC Powerchute software to work on my
> > > Linux box.  The first thing I did was go in and check the BIOS settings
> > > for my machine.  I have COM 1 disabled, because I have an internal U.S.
> > > Robotics Courier V.Everything installed.  Com 2 is configured and has the
> > > normal ioports associated with it (I believe this is 2F8 or something like
> > > that).  I also booted to a DOS disk, adn tried from the command line the
> > > following 2 commands:
> > >
> > >    echo "AT" > com1
> > >    echo "AT" > com2
> > >
> > > In both cases, I get the prompt back, which tells me that the machine is
> > > recognizing both ports and is able to talk to them.
> > >
> > > I then booted my machine into Linux, and downloaded and installed the
> > > latest powerchute rpm from APC's site.  It installed just fine, and I
> > > followed the directions to run the configuration script.  I am able to
> > > answer everything in the installation, and when it asks where the UPS is
> > > connected to, I select /dev/ttyS1 (COM2 I believe) because this is where
> > > the cable is connected to on the computer.
> > >
> > > When the script finishes, it keeps telling me that /dev/ttyS1 does not
> > > appear to be a valid tty.  What am I doing wrong?  Where or what should I
> > > be looking at to try and resolve this issue?
> > >
> > > - Mike
> > >
> > > --
> > > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > > as the Subject.
> >
> > --
> > pgp = Pretty Good Privacy.
> >
> > To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]
> >
> > Visit my web site at http://www.schaffter.com
> >
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
> >
> 
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.

-- 
pgp = Pretty Good Privacy.

To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]

Visit my web site at http://www.schaffter.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to