Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.hardware > #2865
| From | Moe Trin <ibuprofin@painkiller.example.tld.invalid> |
|---|---|
| Newsgroups | comp.os.linux.hardware |
| Subject | Re: Talk to modem with USB to serial adapter: fail |
| Date | 2015-08-13 21:17 +0000 |
| Organization | International League of Cat Herders, Local 352 |
| Message-ID | <slrnmsq2ef.c6h.ibuprofin@planck.phx.az.us> (permalink) |
| References | <87lhdhqc05.fsf@bogus.nodomain.nowhere> <mqgaos$31j$1@dont-email.me> <8737zn3bb5.fsf@bogus.nodomain.nowhere> |
On 13 Aug 2015, in the Usenet newsgroup comp.os.linux.hardware, in article
<8737zn3bb5.fsf@bogus.nodomain.nowhere>, Mike Spencer wrote:
>> Mike Spencer <mds@bogus.nodomain.nowhere> wrote:
>>> I want to use a USR 56K serial modem with a late-model Acer laptop
>>> (no serial port). Nothing seems to reaching the modem.
>I should have had a clue. Kind persons from another group reminded me
>that I shoud use stty on /dev/ttyUSB0 and sure enough, the adapter
>defaults to 9600. Reset that to 115200 with stty and minicom(1) works
OK
>But chat(8) invoked by pppd from dialer script fails. It appears
>that, using chat, no replies are getting back to chat and the modem
>isn't responding to AT-commands sent.
Commands used? Options? What is in the logs?
----------------------------------------------------------------------
/usr/sbin/pppd user ibuprofin@example.com lock crtscts nodetach 115200
defaultroute modem noipdefault /dev/ttyACM0 connect "/usr/sbin/chat -v
ABORT BUSY \"\" AT\&F1 OK ATDT2662902 CONNECT \"\d\c\""
----------------------------------------------------------------------
That's one long (199 character) line, with a USR 5637 USB modem rather
than an adapter, and /etc/ppp/options is renamed to get it out of the
way. /var/log/messages then shows
Aug 13 12:25:37 planck chat[4933]: abort on (BUSY)
Aug 13 12:25:37 planck chat[4933]: send (AT&F1^M)
Aug 13 12:25:37 planck chat[4933]: expect (OK)
Aug 13 12:25:38 planck chat[4933]: AT&F1^M^M
Aug 13 12:25:38 planck chat[4933]: OK
Aug 13 12:25:38 planck chat[4933]: -- got it
Aug 13 12:25:38 planck chat[4933]: send (ATDT2662902^M)
Aug 13 12:25:38 planck chat[4933]: expect (CONNECT)
Aug 13 12:25:38 planck chat[4933]: ^M
Aug 13 12:26:01 planck chat[4933]: ATDT2662902^M^M
Aug 13 12:26:01 planck chat[4933]: CONNECT
Aug 13 12:26:01 planck chat[4933]: -- got it
Aug 13 12:26:01 planck chat[4933]: send (\d)
Aug 13 12:26:02 planck pppd[4929]: Serial connection established.
You might also add "dryrun" or "dump" to the pppd command to see what
magic spells you are calling from where, and then compare that data to
your minicom setup.
Old guy
Back to comp.os.linux.hardware | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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