>Hie all.
>Here's my configuration
> SunSparc Station 10
> Solaris 2.5
> Modem USR 56K Professional Moessages Modem
>I tried to configure this modem with admintool and I'have a little problem.
>I want to use it for telemaintenance (to be able to this station with a PC).
>I tried a lot of things. The modem connect but it hang up 1s after (I
>configure it with admintool on dial-out and dial-in and bidirectonnal and
>it's the same). It's for one of my customer.
The basic steps for attaching any modem to a Solaris machine are:
Make sure the modem is not plugged into the computer before
you follow these steps.
1. Turn off the login service on the port with admintool:
Run admintool
Select Browse->Serial Ports
Single click on the port ('a' for ttya)
Select Edit->Delete
When admintool asks if you really want to delete, click Yes
2. Connect the modem to the serial port. Make sure the cable is a
straight-through cable. Do not use a "null modem" cable to
connect a modem.
3. Log in as root, and use tip to talk to the modem:
tip -9600 /dev/cua/a (or /dev/cua/b for ttyb)
AT (you type "AT" and press Return)
OK (modem responds "OK")
AT &F &C1 &D2 S0=1 &W (you type this modem command)
OK (modem responds "OK")
~. (you type tilde, then period)
[EOT] (tip responds with "[EOT]" and exits)
4. Turn the login service on with admintool:
Run admintool
Select Browse->Serial Ports
Single click on the port
Select Edit->Modify
Click on Template, select "Modem - Bidirectional"
Click on Speed (or Baud Rate), select 9600
Fill in the Terminal Type, if you want (vt100 is usually good)
Clock the "OK" button (not the "Apply" button)
Now test your dial-in operation.
The modem command "AT &F &C1 &D2 S0=1 &W" works for a large
majority of Hayes compatible modems, including most US Robotics
models. Substitute the appropriate commands for your modem
that reset the modem to factory default settings, turn the
DCD signal on when connected to another modem and off when not
connected, hang up when the computer turns off the DTR signal,
automatically answer the phone after 1 ring of the phone, and
save the current settings in the modem's non-volatile memory.
Some modems also need commands to tell them which speed to use
on the RS232 port when answering a call.
If you want the modem and computer to talk to each other faster
than 9600 bps, then repeat Step 3 using the new speed in tip's
first argument (e.g. -19200 instead of -9600). You can re-type
the whole modem command, or just type "AT &W". Then exit tip
and repeat Step 4, selecting the new speed. Many Hayes-compatible
modems remember the speed at which the "AT &W" command was typed,
and use that speed when answering. Other models need a different
command to select the new speed.
My advice with the Sparc 10 hardware is to start with the computer
and modem using 9600 bps. After you've tested that it works, do
Step 3 and 4 for 19200 bps. After you're sure that works, you can
try 38400. This procedure will find the highest speed you can use
reliably between the computer and modem. If you change speeds and
things break, you know it's caused by the new speed because it worked
properly at the slower speed.
-Greg
--
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::