* ppp serial line looped back
@ 1998-09-11 9:39 Shane Steven Sturrock
1998-09-11 10:59 ` Paul Tomblin
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Shane Steven Sturrock @ 1998-09-11 9:39 UTC (permalink / raw)
To: axp-list
I thought I would post this for the benefit of the archives.
I had the same problem as many others, a modem (in my case a PCMCIA
14.4 job from my P75 laptop) refused to work with the same script
that worked previously when plugged into my UDB (2.0.34 with PCMCIA,
PPP etc compiled in) complaining about serial line looped back. Nothing
suggested in the PPP-HOWTO would fix the problem but minicom would work
although it always made the connection at 38400 so I figured what the
hey! Changeing the speed in my ppp script to 38400 I tried again and
the thing worked! I did setserial /dev/modem spd_vhi and tried higher
than 38400 but the modem would stop working again.
Anyone got any idea why this might be the case? Either way, at least
it is working and I never got more than about 4KB a second down the
thing
anyway but if I do get a faster modem it would be nice not to be limited
to 38400......
--
Windows *IS* difficult to use. Difficult in the same way a teenager
is
difficult, its immature, unstable and you can never get it to work
properly. Dr Shane Sturrock sss@holyrood.ed.ac.uk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp serial line looped back
1998-09-11 9:39 ppp serial line looped back Shane Steven Sturrock
@ 1998-09-11 10:59 ` Paul Tomblin
1998-09-11 11:54 ` Quant-X Alpha Linux Support
1998-09-11 17:56 ` Michal Jaegermann
1998-09-11 22:00 ` Christopher E. Brown
2 siblings, 1 reply; 8+ messages in thread
From: Paul Tomblin @ 1998-09-11 10:59 UTC (permalink / raw)
To: axp-list
Quoting Shane Steven Sturrock (Shane.Sturrock@ed.ac.uk):
> that worked previously when plugged into my UDB (2.0.34 with PCMCIA,
> PPP etc compiled in) complaining about serial line looped back. Nothing
> suggested in the PPP-HOWTO would fix the problem but minicom would work
> although it always made the connection at 38400 so I figured what the
> hey! Changeing the speed in my ppp script to 38400 I tried again and
> the thing worked! I did setserial /dev/modem spd_vhi and tried higher
> than 38400 but the modem would stop working again.
Correct me if I'm wrong, but I beleive that a PCMCIA modem is like a regular
internal modem - ie. it doesn't use the existing serial ports. So you're not
really using a 16550A UART, you're using whatever is built into the modem.
So stick to 38400 without spd_vhi. Did you try 38400 and spd_hi?
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp serial line looped back
1998-09-11 10:59 ` Paul Tomblin
@ 1998-09-11 11:54 ` Quant-X Alpha Linux Support
1998-09-11 22:07 ` Christopher E. Brown
0 siblings, 1 reply; 8+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-09-11 11:54 UTC (permalink / raw)
To: axp-list
Hi Paul !
> Correct me if I'm wrong, but I beleive that a PCMCIA modem is like a regular
> internal modem - ie. it doesn't use the existing serial ports. So you're not
> really using a 16550A UART, you're using whatever is built into the modem.
> So stick to 38400 without spd_vhi. Did you try 38400 and spd_hi?
Most (if not all) internal modem cards do have 16550 UARTs (
some of them (multiport) have a 16554 (=4x 16550) on it....)
The same is true for PCMCIA. Nearly all those beasts do
a COM emulation (including UART).
Here a snipset from the PCMCIA HOWTO (ftfm ;-})
Another tip-off of a conflict is if
the device is reported to be an 8250; most modern PCMCIA modems
should be identified as 16550A UART's. If you think you're seeing
a port conflict, edit /etc/pcmcia/config.opts and exclude the port
range that was allocated for the modem.
ciao -
Stefan
--
Quant-X Service & Ph: (+43) 4212 6004-0
Consulting Ges.m.b.H. Fax: (+43) 4212 600420
http://www.quant-x.com Email: support@quant-x.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp serial line looped back
1998-09-11 9:39 ppp serial line looped back Shane Steven Sturrock
1998-09-11 10:59 ` Paul Tomblin
@ 1998-09-11 17:56 ` Michal Jaegermann
1998-09-11 18:05 ` Paul Tomblin
1998-09-11 22:00 ` Christopher E. Brown
2 siblings, 1 reply; 8+ messages in thread
From: Michal Jaegermann @ 1998-09-11 17:56 UTC (permalink / raw)
To: axp-list
Shane Steven Sturrock wrote:
>
> I did setserial /dev/modem spd_vhi and tried higher
> than 38400 but the modem would stop working again.
This is not at all surprising as a serial port on UDB is hardware
limited to 38400. Maybe on a good day you could get away with
'spd_hi', i.e. 57600, but you effectively told it to operate
at 115200. A bit too much, I guess.
BTW - "serial line loops back" is, in my experience, a really "generic"
ppp error. You can translate it "for whatever reasons you did not
get a lasting connection". There is a lot of things which can go
wrong - starting with a misconfigured serial port, through misbehaving
modems on both ends, sending stuff the other end does not expect, etc.
pppd and chat have debugging flags and reading your logs from failed
attempts, with debugging on, usually quickly helps. If the other
end is NT you may need 'MS RAS' support - which often means recompiling
pppd. PPP-HOWTO explains details.
--mj
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp serial line looped back
1998-09-11 17:56 ` Michal Jaegermann
@ 1998-09-11 18:05 ` Paul Tomblin
1998-09-12 0:15 ` Michal Jaegermann
0 siblings, 1 reply; 8+ messages in thread
From: Paul Tomblin @ 1998-09-11 18:05 UTC (permalink / raw)
To: axp-list
Quoting Michal Jaegermann (michal@ellpspace.math.ualberta.ca):
> Shane Steven Sturrock wrote:
> >
> > I did setserial /dev/modem spd_vhi and tried higher
> > than 38400 but the modem would stop working again.
>
> This is not at all surprising as a serial port on UDB is hardware
> limited to 38400. Maybe on a good day you could get away with
Really? I've had no problems operating my modem in spd_vhi. I haven't done
major speed tests or anything, though. But remember that Shane isn't using
the built-in serial port, he's using a PCMCIA card which will have its own
UART. And my experience with internal modems says that custom chips that
pretend to be 16550A UARTs may *not* be 16550A or anywhere near as fast as
one.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp serial line looped back
1998-09-11 9:39 ppp serial line looped back Shane Steven Sturrock
1998-09-11 10:59 ` Paul Tomblin
1998-09-11 17:56 ` Michal Jaegermann
@ 1998-09-11 22:00 ` Christopher E. Brown
2 siblings, 0 replies; 8+ messages in thread
From: Christopher E. Brown @ 1998-09-11 22:00 UTC (permalink / raw)
To: axp-list
On Fri, 11 Sep 1998, Shane Steven Sturrock wrote:
> I thought I would post this for the benefit of the archives.
>
> I had the same problem as many others, a modem (in my case a PCMCIA
> 14.4 job from my P75 laptop) refused to work with the same script
> that worked previously when plugged into my UDB (2.0.34 with PCMCIA,
> PPP etc compiled in) complaining about serial line looped back. Nothing
> suggested in the PPP-HOWTO would fix the problem but minicom would work
> although it always made the connection at 38400 so I figured what the
> hey! Changeing the speed in my ppp script to 38400 I tried again and
> the thing worked! I did setserial /dev/modem spd_vhi and tried higher
> than 38400 but the modem would stop working again.
>
> Anyone got any idea why this might be the case? Either way, at least
> it is working and I never got more than about 4KB a second down the
> thing
> anyway but if I do get a faster modem it would be nice not to be limited
> to 38400......
spd_vhi sets the port to 115200, most 14.4 modems did not support
these speeds. spd_hi might work (57600), but with a 14.4 modem anything
past 38400 is of questionable use.
----------------------------------------------------------------------------
Christopher E. Brown (CB421) <cbrown@denalics.net> +907 357-4970
First Law of System Requirements:
"Anything is possible if you don't know what you're talking about..."
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp serial line looped back
1998-09-11 11:54 ` Quant-X Alpha Linux Support
@ 1998-09-11 22:07 ` Christopher E. Brown
0 siblings, 0 replies; 8+ messages in thread
From: Christopher E. Brown @ 1998-09-11 22:07 UTC (permalink / raw)
To: Quant-X Alpha Linux Support; +Cc: axp-list
On Fri, 11 Sep 1998, Quant-X Alpha Linux Support wrote:
> Hi Paul !
>
> > Correct me if I'm wrong, but I beleive that a PCMCIA modem is like a regular
> > internal modem - ie. it doesn't use the existing serial ports. So you're not
> > really using a 16550A UART, you're using whatever is built into the modem.
> > So stick to 38400 without spd_vhi. Did you try 38400 and spd_hi?
>
> Most (if not all) internal modem cards do have 16550 UARTs (
> some of them (multiport) have a 16554 (=4x 16550) on it....)
>
> The same is true for PCMCIA. Nearly all those beasts do
> a COM emulation (including UART).
>
> Here a snipset from the PCMCIA HOWTO (ftfm ;-})
>
> Another tip-off of a conflict is if
> the device is reported to be an 8250; most modern PCMCIA modems
> should be identified as 16550A UART's. If you think you're seeing
> a port conflict, edit /etc/pcmcia/config.opts and exclude the port
> range that was allocated for the modem.
Ahem, is a 14.4 a 'modern' device?
----------------------------------------------------------------------------
Christopher E. Brown (CB421) <cbrown@denalics.net> +907 357-4970
First Law of System Requirements:
"Anything is possible if you don't know what you're talking about..."
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp serial line looped back
1998-09-11 18:05 ` Paul Tomblin
@ 1998-09-12 0:15 ` Michal Jaegermann
0 siblings, 0 replies; 8+ messages in thread
From: Michal Jaegermann @ 1998-09-12 0:15 UTC (permalink / raw)
To: axp-list
Paul Tomblin wrote:
>
> But remember that Shane isn't using
> the built-in serial port, he's using a PCMCIA card which will have its own
> UART.
Ah, ok. Missed that part. You are right.
OTOH there is no way to tell reliably how fast in UART on this thing.
Internal modems habitually lie about that. From what Shane wrote it
looks like that 115200 is too fast. I would try 'spd_hi' and see what
will happen.
> And my experience with internal modems says that custom chips that
> pretend to be 16550A UARTs may *not* be 16550A or anywhere near as fast as
> one.
Exactly!
Michal
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1998-09-12 0:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-11 9:39 ppp serial line looped back Shane Steven Sturrock
1998-09-11 10:59 ` Paul Tomblin
1998-09-11 11:54 ` Quant-X Alpha Linux Support
1998-09-11 22:07 ` Christopher E. Brown
1998-09-11 17:56 ` Michal Jaegermann
1998-09-11 18:05 ` Paul Tomblin
1998-09-12 0:15 ` Michal Jaegermann
1998-09-11 22:00 ` Christopher E. Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox