If I am understanding your post correctly, your modem was working for dialin and then quit. I am a little confused about you mentioning 3 different modems. Did you try all three because the first one didn't work?
The reason the modem AA light is flashing and the modem isn't answering is because it is not set up for auto answer mode. Modem auto answer is configured within the modem dialer files. Unless these files were changed you should be able to reset the modem by disabling and re-enabling the ttyport.
Code:
disable tty2a #should always be disabled
disable tty2A #disable modem port
enable tty2A #enable modem port
The modem lights should flash after re-enabling the port, and the AA light should turn on.
If doing this does not solve the problem it means you have a bad modem, a bad port, or your configuration files have been changed. (Note: fixing symbolic links does NOT changed the files, so that is not the cause of your problem).
For configurations, here are the things to check:
1) Make sure the port is listed in both the /etc/inittab file and the /etc/conf/init.d/sio file:
Code:
Se2a:2:off:/etc/getty tty2a o1
Se2A:2:off:/etc/getty -t60 tty2A o1
2) Make sure the gettydefs referenced by the inittabs file and sio file match, and are defined in /etc/gettydefs:
Code:
o1 # B38400 HUPCL # B38400 CS8 SANE HUPCL TAB3 RTSFLOW CTSFLOW #\r\nlogin: # o1
3) Make sure the port is defined in the /usr/lib/uucp/Devices file, and has both an ACU and Direct entry. The ACU entry must be before the Direct entry:
Code:
ACU tty2A - 38400 normal
Direct tty2A - 38400 direct
Even if the line is only used for dialin you must have the ACU entry or the modems will not reset correctly.
4) Make sure sure the Devices ACU line refers to a valid dialer. You can use compiled dialers provided by UNIX or the modem manufacturer, or you can define a dialer string in the /usr/lib/uucp/Dialers file.
For dialin only modems, the easiest configuration is a dialer string in the Dialers file:
Code:
normal =,-, "" \r\pAT&F\r\pE0Q0S0=0S2=128 OK\r \dATDT\T CONNECT
&normal =,-, "" \r\pAT&F\r\pATS0=1\r\pAT&W0\r
Note: The "&normal" line is critical for the modem to reset properly. The "ATS0=1" part of the line turns the modem auto answer on. These lines should be customized for the particular modem being used.
Note: Permissions of the configuration files should be set to the following:
Code:
inittab -rw-rw-r-- root audit
sio -rw-r--r-- root audit
gettydefs -rw-r--r-- root sys
Devices -rw-r--r-- uucp uucp
Dialers -rw-r--r-- uucp uucp
You should disable and re-enable the modem port after any changes to the configuration files.
Code:
disable tty2a #should always be disabled
disable tty2A #disable modem port
enable tty2A #enable modem port