Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #2868

Re: Talk to modem with USB to serial adapter: fail

From Mike Spencer <mds@bogus.nodomain.nowhere>
Newsgroups comp.os.linux.hardware
Subject Re: Talk to modem with USB to serial adapter: fail
Date 2015-08-16 00:43 -0300
Organization Bridgewater Institute for Advanced Study - Blacksmith Shop
Message-ID <877fovgapa.fsf@bogus.nodomain.nowhere> (permalink)
References (1 earlier) <mqgaos$31j$1@dont-email.me> <8737zn3bb5.fsf@bogus.nodomain.nowhere> <slrnmsq2ef.c6h.ibuprofin@planck.phx.az.us> <87wpwx86lf.fsf@bogus.nodomain.nowhere> <slrnmsvnbl.8de.ibuprofin@planck.phx.az.us>

Show all headers | View raw


Moe Trin <ibuprofin@painkiller.example.tld.invalid> writes:

> On 15 Aug 2015, in the Usenet newsgroup comp.os.linux.hardware, in article
> <87wpwx86lf.fsf@bogus.nodomain.nowhere>, Mike Spencer wrote:
> 
>>Coming to my rescue again?  I'm still grateful for last time.
> 
> Well, there's only so many people still using dialin   ;-)

There are so many that *aren't* that we get forgotten.  Grumble.

>> No other data from pppd or chat is logged. When pppd runs and tries
>> to run the chat script, DTR lights on the modem.  Then there is one
>> blink on RD and one on SD. And that's it; hangs, then exits with
>> error 3. I never get far enough to have a problem with the config of
>> pppd itself.
> 
> OK - that answers one of my questions - you are able to talk TO the
> modem, but it sounds as if the modem can't talk back to you. 

Yes, that seems to be the case.  Or rather, that chat doesn't
understand what the modem sends back. 

> Question for you - what is minicom using for an init-string (minicom
> -s -> Modem and dialing -> A)?

Default is s7=45 S0=0 L1 V1 X4 &c1 E1 Q0.  Inserting that into the
very first line of the chat script doesn't help.

> 
> >That E-with-a-hat line appears to be 0x81 0xCA 0x0A followed by
> >another extraneous 0x0A.  Might that cause chat to give up?
> 
> Perhaps - but that MAY be a "locale" problem (isn't "i18n" wonderful?)
> with your shell. Redirect the 'cat' output to a file, then use
> '/usr/bin/hexdump' to view the file. 

That's essentially how I got the hex values cited.

> It would help to get syslog configured (depending on your distro, it
> could be /etc/rsyslog.conf, or some other strange filename), as what
> we're interested in is the "chat -v" dialog.  Chat is ROUGHLY
> running a language called "expect" and you see this in the log
> outputs:

Did that. And it looks like I may have progress to report after making
a tiny change in the chat script.  But of course, I can only test it
on the *other* modem, the one not connected to the phone line because,
you know, I'm *using* the phone line to read c.o.l.h.

> COMMENT: noauth shouldn't be needed - it's for the case where your
> routing table shows a _pre-existing_ route to the IP of the peer, or a
> _pre-existing_ default route (where pppd then assumes you're acting as
> an ISP, and gets paranoid).  Not hurting anything.

I have a default route to my LAN router.  pppd insisted it didn't want
to play without nouauth.

> I'm still amazed you can get a working text based login twenty years
> after microsoft invented dial-up access (or what-ever).

Yeah.  Local ISP is keeping it simple.  The last problem was with our
*other* ISP, a big corporation that apparently whapped all of an
existing ISP's system into their own hardware (among other
corp/contract/biz-related problems.)

> Bottom line - I'd suggest it's still something about the way the serial
> line is set up...

My thought, too.  But I see that I'm getting more blinkenlights and
more logged chat(8) data than before so I'm keen to get off line, plug
in the other modem and see what that means.

More later...

-- 
Mike Spencer                  Nova Scotia, Canada

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-12 03:03 -0300
  Re: Talk to modem with USB to serial adapter: fail Jerry Peters <jerry@example.invalid> - 2015-08-12 20:36 +0000
    Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-13 04:19 -0300
      Re: Talk to modem with USB to serial adapter: fail Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-08-13 21:17 +0000
        Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-15 02:26 -0300
          Re: Talk to modem with USB to serial adapter: fail Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-08-16 00:45 +0000
            Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-16 00:43 -0300
              Re: Talk to modem with USB to serial adapter: fail Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-08-16 20:09 +0000
            Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-16 01:41 -0300
              Re: Talk to modem with USB to serial adapter: fail Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-08-16 20:10 +0000
                Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-16 22:28 -0300
                Re: Talk to modem with USB to serial adapter: fail Michael Black <et472@ncf.ca> - 2015-08-16 22:48 -0400
                Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-17 03:35 -0300
                Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-17 03:22 -0300
                Re: Talk to modem with USB to serial adapter: fail Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-08-17 23:50 +0000
                Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-18 16:16 -0300
                Re: Talk to modem with USB to serial adapter: fail Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-08-21 03:31 +0000
                Re: Talk to modem with USB to serial adapter: fail Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-08-25 01:58 -0300
                Re: Talk to modem with USB to serial adapter: fail Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-08-27 02:28 +0000
                All better now (Re: Talk to modem with USB to serial adapter: fail) Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-09-03 18:53 -0300
                Re: All better now (Re: Talk to modem with USB to serial adapter: fail) Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-09-04 20:00 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter: fail) Richard Kettlewell <rjk@greenend.org.uk> - 2015-09-04 21:09 +0100
                Re: All better now (Re: Talk to modem with USB to serial adapter: fail) Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-09-04 23:14 -0300
                Re: All better now (Re: Talk to modem with USB to serial adapter: fail) Richard Kettlewell <rjk@greenend.org.uk> - 2015-09-05 10:08 +0100
                Re: All better now (Re: Talk to modem with USB to serial adapter: fail) Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-09-05 18:08 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter:  fail) Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-09-06 01:31 -0300
                Re: All better now (Re: Talk to modem with USB to serial adapter:  fail) Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-09-06 19:17 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter:   fail) Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-09-17 01:26 -0300
                Re: All better now (Re: Talk to modem with USB to serial adapter:   fail) Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-09-17 05:53 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter:    fail) Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-09-17 04:02 -0300
                Re: All better now (Re: Talk to modem with USB to serial adapter:    fail) Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-09-17 18:02 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter:     fail) Mike Spencer <mds@bogus.nodomain.nowhere> - 2015-09-18 02:05 -0300
                Re: All better now (Re: Talk to modem with USB to serial adapter:    fail) Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-09-17 19:14 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter:    fail) Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-09-18 01:55 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter:    fail) Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-09-18 21:22 +0000
                Re: All better now (Re: Talk to modem with USB to serial adapter:   fail) Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2015-09-17 19:12 +0000

csiph-web