|
|
Follow these steps to test whether you can send commands to your modem:
Direct tty1A - 9600 direct
You should see a message
such as OK
(AT-compatible modems)
or 0
to indicate that the modem is ready to accept commands.
If you see the message cu: dir permission denied
,
you do not have write permission on the
/usr/lib/uucp/Devices file.
Set the correct ownership and permissions using the commands:
chown uucp:uucp /usr/lib/uucp/Devices
chmod 644 /usr/lib/uucp/Devices
If you do not see a message indicating that the modem is ready to accept commands:
Testing a modem connection
OK
.
If you have set the modem to
return numeric result codes rather than text,
you see 0
.
If you do see OK
, your modem is ready to dial out.
OK
response from the modem, enable the modem's echo
capability and responses to commands by entering
ATE1Q0
If your terminal still does not display OK
or 0
,
connect the modem to another port (COM1 or COM2).
If the modem works with the new port, check that
the device is using the correct interrupt vector.
(Serial port COM1 uses interrupt 4;
COM2 uses interrupt 3.)
If the terminal does not echo the OK
message
when it is connected to the new port,
check your cable again. You can also connect a
terminal to the port (with a proper terminal cable)
and verify that the port works. If the modem returns
garbage, then try connecting at different speeds; some
modems can be set to communicate at the DTE connect
speed, while others communicate at a fixed speed.
If the modem still does not respond properly, the
modem may be defective.