Re: [SLE] (SOLVED!!!)(Revisited) Works in Windoze, NOT in SuSE!?!?!?!?!?!?

From: Basil Chupin (blchupin_at_tpg.com.au)
Date: 10/06/03

  • Next message: David Soltero-Lugo: "[SLE] Re: AW: [suse-security] Mail missplaced or lost"
    Date: Mon, 06 Oct 2003 22:04:23 +1000
    To: suse-linux-e@suse.com
    
    

    Bernd Koepsell wrote:
    > On Saturday 04 October 2003 04:09, Basil Chupin wrote:
    > <snip>
    >
    >>Congratulations! Double congratulations in fact: not only are you
    >>staying on-line for 5 hours but you haven't lost your marbles! :-).
    >
    >
    > Who says I haven't???

    <Shrug> Just a hunch. :-)

    >>I am going to try and get a copy of the manual for your modem from the
    >>Robotics site because I still don't like the init string(s) you are
    >>feeding the modem (ATZ and AT&F1, in this order) simply because as far
    >>as I am concerned there is a contradiction between ATZ (=ATZ0) and AT&F1.
    >
    >
    > I saw the same thing in the manual. It is a contradiction! Z = reset to Y
    > command, which I am not issuing directly, but may be programmed within the
    > 'current' configuration. I'm so afraid to touch anything right now, to even
    > find out. Although I'm 'successfully' using kinternet now, I have no
    > terminal program to allow direct keyboard input to the modem. The way that I
    > have executed my ATI commands, was to modify wvdial.conf, save it, then
    > execute wvdial in the shell and view the output.

    See the message from Joe Morris. Install minicom. I just installed it
    and it is exactly what I have been looking for for a while.

    Run minicom and, in your case, type ATI4 and then ATI5 to see what
    settings are being used by the modem. The manual explains I4 and I5
    commands.

    I wouldn't fool around with the S Registers as you mention below re line
    noise and drop delays - there is no need to touch the Registers. The
    only one which needs setting is ATS0=0 so that your modem will not
    answer an incoming phone call.

    > The manual says that I should be using Z4, which resets to default profile 1
    > (&F1). Things went screwy in the modem (probably my fault, even though I
    > swear I didn't program anything into the profiles) which caused the dns not
    > to function properly. Because of this, I don't think the Z commands point to
    > the right profile, or maybe &F commands don't, or both. When I tried just AT
    > as my init 1, like in windoze, I got an 'ok' back, but the next init string
    > wasn't liked all too well. &F is to a Generic template, &F1 to the
    > Hardware template, and &F2 to the Software template.
    >
    > Yes, ATZ is a contradiction with AT&F1.
    >
    > But then again...
    >
    > - Z could be ignored because no Y command is issued.
    > - Z could be used because there is a properly issued Y in the 'current'
    > programmed profile.

    There is no Y command issued because it is part of the internal check
    which the modem performs when it is powered on. However, it IS possible
    to include it in the init string.
    >
    > Anyhow, I have a not-so-healthy respect and fear for my modem's "mysterious"
    > operations.
    >
    > I would like to be able to input some appropriate S-registers for line noise
    > and drop delays, etc., but I'm afraid they may conflict with what is behind
    > door number '&F1'.
    >
    > It is working at present. Although, I would like to have control of my modem.
    >
    >
    >>However, if it ain't broke don't fix it --until, that is, I look at the
    >>manual (if I can download it) :-).
    >
    >
    > I have it, obviously. It's a 301Kb pdf file. If you'd like I could attach it
    > to an e-mail direct to you.

    I've downloaded it, thanks.

     From what you have said it now appears that you are able to connect and
    stay on-line for at least 5 hours so I think this "case" may not be
    considered closed; although I have to say that I am not especially happy
    with the init string(s) issued to the modem in Linux (as I have already
    said). But, you are on-line so let's not worry about it too much.

    The only thing I will add here is that if you can get the model number
    and/or the number Robotics has assigned to your modem then you could try
    and find what the init string is issued to it by Windows.

    Heree I am talking about Windows XP. If you go to \Windows\inf
    sub-directory you will find a series of files called mdm*.inf. These are
    the information files necessary to get "your" modem up and running, and
    when "your" modem is recognised by Windows this info file is compiled by
    Windows into mdm*.PNF file.

    There are a series of files called mdmusr?.inf for the Robotics modems
    and if you can find the one which relates to your modem then you will be
    able to see the init string Windows uses for your modem. All you would
    need to do is to use the same string in Linux AS INIT 1 because you can
    forget about init 2 (useless).

    Keeping in mind that XP came out at the end of 2001 it is possible that
    your modem is not in this mdmusr?.inf series of info files. However, if
    you go to Start/Control Panel/Performance and System/Admin/Device
    Manager and have a look at the driver(s) used for your modem you may be
    able to pinpoint the info (*.inf) file used.

    The other thing, of course, but here I just don't remember what happens
    because it has been a looooooong time since I've used Win to access the
    Web, is that there (??) should be a log file generated when you dial and
    this will contain the init string issued to the modem. If so, then this
    will save going thru looking for it in the mdm*.inf files :-).

    > Again, Thanks to Everyone!!!!!
    >
    > Bernd

    Not a problem. One of the reasons why this group exists - Penguinees
    Helping Penguinees (c) :-).

    Cheers.

    -- 
    If logic ruled the World, men would ride side-saddle.
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: David Soltero-Lugo: "[SLE] Re: AW: [suse-security] Mail missplaced or lost"

    Relevant Pages

    • Configure modem initialization
      ... MS Fax is using custom AT commands to init every modem used. ... chance to change these settings? ...
      (microsoft.public.win2000.fax)
    • Re: FC3 And kppp
      ... have changed recently is the init default from init 3 to init 5 to boot ... You said this is an external modem - RS-232, ... of the things that does during boot is to remove stale lock files. ... same output from fuser /dev/ttyS0 of inputattach. ...
      (comp.protocols.ppp)
    • Re: FC3 And kppp
      ... changed recently is the init default from init 3 to init 5 to boot into the ... message in kppp of "The modem is busy" and kppp quits, ... You said this is an external modem - RS-232, ... of the things that does during boot is to remove stale lock files. ...
      (comp.protocols.ppp)
    • Re: [SLE] (Revisited) Works in Windoze, NOT in SuSE!?!?!?!?!?!?
      ... I'm looking for a command I can send the modem that will print the defaults to ... 3rd day waiting for a response from the manufacturers techs!!! ... As there is no 'Y' command in the init, ...
      (SuSE)
    • Re: [Full-Disclosure] Ancient Trivia: +++ath0
      ... Some folks using Windows and a dialup line couldn't respond ... > using some sort of non-Hayes modem. ... These commands are only ... triggering of the escape sequence; on their modems, ...
      (Full-Disclosure)