Bernd wrote:
On Friday, 26 September, 2003 08:49, Basil Chupin wrote: <snip>
THANKS very much for getting all this back to me. It really makes me question any of the init strings, and look for redundancies. I'm going to be taking this step at a time, and I've got a lot on my plate the next two days, sooo...
If it is &F1 then this is re-setting the modem to factory default settings for Profile1 - which may NOT be the same as the ones in Profile0. And it is Profile0 that you would normally be working with. In fact the ATZ mentioned below (and used in wvdial and so on) loads Profile0 into the active profile - but you have not reset it to factory defaults because you have used AT&F1 and reset Profile1.
Change the beginning of the above string to AT &F (&F0 which is the same thing; &F automatically means &F0 in modem language).
In the manual, it states, "All defaults are based on the &F1 Hardware Control template loaded in NVRAM". It says that the defaults are listed in italics, but the font is such that I can't tell what the italics are.
I believe you, but there is something not quite right here in light of what is said below (re Y). You see, the Y command is all about enabling or disabling Long Distance Disconnect. If anything, it should be &Y - not simly Y - because &Y/&Y0 or &Y1 is issued internally by the modem when it is first switched on to use either Profile0 or Profile1.
I'm looking for a command I can send the modem that will print the defaults to stdout, but I don't find one. Do you know how I can find out??? I'm on my 3rd day waiting for a response from the manufacturers techs!!!
The command is AT &V which will "dump" to the screen the Active Profile and what is in the other Profiles (0 and 1, if you have a 1 profile [some modems only have Profile0 but no Profile1]).
'Z' - resets modem to NVRAM profile selected by 'Y' command or dip 7.
Unless you have some really special modem then the Y is wrong :-). It must be &Y as I explain above.
Seeing as how this is a PCI modem, I have no dip switches (yes, I even checked, just in case). As there is no 'Y' command in the init, this could be a problem. So, when I use 'ATZ' I am resetting the modem to something it can't recognize, even though I get an 'ok' response?!? Windoze only uses the AT command for init string #1.
You do not need the Y parameter in there -- unless you are calling on LD and have the need to have Y enabled. If you get the OK response from a modem then all it is indicating is that the modem ACCEPTS the string just sent to it, but it does not mean that what was sent to the modem was correct- ie, what you really need to send it. If you tell the modem to jump it will jump and respond to you with an OK :-).
I'm going to test the following, and reply on this and the rest later:
Init 1: AT
The AT on its own is really "useless". All it is used for is to wake up/alert the modem that a parameter/command is about to be sent to it.
Init 2: AT&F1
I'll let you know the results.
Bernd
There is one command that I have been trying to remember (I knew what it does but couldn't remember what was the form of this command) and I finally found it while looking thru the manual for my modem (I had to find the manual first because it is a file and is sitting on one of dozens of CDs :-)). OK, let's do some more "investigative work". You are able to use the Terminal mode in kppp? or some other piece of software which will allow you to access the modem thru a Terminal program? For example, in Windows if you go to Start/Programs/Accessories/Communications/Hyper Terminal you can use Hyper Terminal to access the modem. (I am working from memory here about how to get to Hyper Terminal so you may have to find your own route to get to it :-).) There is a command AT &V1 (a brother to the AT &V command mentioned above) which is MOST useful - provided your modem has it. Check your manual to see if this command used by your modem or there is another set of characters (not the &V1) which gives the same result. After you have finished a connection to your ISP (or a BBS, etc) the modem actually STORES information about this (last) call. Provided you do NOT use the modem to make another call or reset it using the ATZ command, this information is accessible using the AT&V1 command. When you issue it in the Terminal program the modem will "dump" to the screen info re the last connection. YOur mmanual will have the details about what will be "dumped". Use this to see what comes up after you get disconnected from your ISP. In SuSE, if you bring up kppp you can get to a Terminal by selecting Setup/Modem/Terminal where - provided your modem is recognised - you can issue the AT&V1 command. Cheers. -- Hire teenagers while they still know everything.