On Wed, 21 Jan 2004 14:27:20 +0100
snip of ~ 1000 lines
It's so simple then ... 1. start your inet connection 2. kill the program which communicates with modem (kill -9 something) 3. start "minicom -o" (without initialization of modem) 4. command at&v will show u actual modem setup
Modems talk in ALL CAPS btw. AT&V. You can also check the manufacturer's manual, if you received one. Check their website, if necessary and download it.
I don't know which modems did u use, but all modems I know are happy with lower case commands as well, but it's true they answer in CAPS.
U can save actual setup using at&w command.
you can also save it to one of up to [ number of profiles set by manufacturer ]. It's in the manual. AT&W1, AT&W2, etc.
Right, I had a modem with 6 user profiles, but I never needed more then factory one, since my init string always starts with at&f.
In case, when the guy just need to catch init string used by M$hit, the simplest is the best way, so to use profiles numbers is really not necessary.
U can restore saved setup by atz command.
ATZ
That should reset the modem to the default. It's a good idea to issue that particular command before you close your com program, btw.
U are wrong, profile "0" will be loaded. (atz = atz0)
Command at&f restores setup to factory predefined.
Unless you have changed it, which is possible with the AT&W command. Use AT&W1 to save whatever you want, and load that with AT&F1.
U are wrong again, u can't change default factory profile by at&w. (It can be changed in other ways.)
So u exchanged the meaning of at&f and atz, please rtfm if in doubt.
99% of modems has only one factory profile, which is accessible by at&f, and two user profiles (write access at&w0 or 1, list access at&v0 or 1, restore setup from profile atz0 or 1)
noro
Years ago, I burnt out a modems eprom by making it write the commands every time I initialized it. duh.
So if u compare saved outputs of at&v (after step 3.) and after at&f, u will find the right init string.
Also your isp may have an example of what it uses, make your init string match theirs.
-- [EMAIL PROTECTED] mailing list