Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Unruh <unruh-spam@physics.ubc.ca>
Subject: Re: HELP: pppd won't answer/authenticate my dial-in
Date: 31 Jan 2006 16:45:30 GMT	[thread overview]
Message-ID: <dro47a$df0$1@nntp.itservices.ubc.ca> (raw)
In-Reply-To: 1138645529.218562.62360@g47g2000cwa.googlegroups.com

mark.bergman@thales-is.com writes:


>James Carlson wrote:
>> mark.bergman@thales-is.com writes:
>> > So just to confirm, the speed parameter I pass to pppd must exactly
>> > match the speed that the modems are talking at?
>>
>> Yes.

>OK, I have now had some limited success!

>As I mentioned, I was having problems getting the modems to connect at
>high speeds.

>Firstly, I put the modems between 2 PCs, using Hyperterminal on each at
>57600, and dialled manually - Hey Presto I had a 57600 connection.  -
>this eliminated concerns about our internal telephone exchange.

>Secondly, I put the receiving modem back to the Digital Unix box, and
>ran "tip 57600" (with pppd not running) - modems connected at 1200.
>I examined stty for the port, and its speed was 1200.
>I killed the connection, and with tip still open, set the port speed
>with stty to 57600.
>Dial in again, and connection at 57600 - this shows that the port speed
>must be set to 57600 to get the modems to connect at this speed.

>Thirdly, I closed tip.  Port speed went back to 1200.
>I reinstated pppd (in /etc/inittab) - port speed still at 1200.
>I used stty to set speed to 57600, and dialling in from the PC I
>sometimes got a successful ppp connection, but many times the pppd died
>and restarted (after I set the port speed), losing the speed setting,
>so I was battling trying to set the speed and keep pppd running.

It sounds to me like Digital Unix is messing with the port. Ie, each time
it is reset it also resets the speed. 
Yes, you can give pppd the port speed to run at. 
Just put in the number
pppd .... 57600


>So, questions at the moment:
>1) Should pppd be setting the port speed (in the same way that stty
>does)

Its default is 1200.

>2) If I set the port speed with stty, should it get reset (e.g. if a
>process that has the port open closes it or dies)?

Ask the writers of Digital Unix. Noone else has access to the source code.


>3) Is there anyway to retain the port speed (this is a XP1000 box
>running Digital Unix 4.0F)

tell pppd the port speed you want.

In fact with most modern modems and serial cards, a better port speed is
115200, the max speed the port can be set at. The port speed on most modems
is independent of the connection speed and because of modem compression,
should be higher than the modem to modem rate.



>(We do have this working to some equipment on another site, and I am
>trying to recreate it on some support equipment.  On site the receiving
>modem is a Multitech (rather than a US Robotics), so I am going to try
>and obtain a Multitech modem to see if that is any better.)

>Mark
>mark . bergman @ thales - is . com



  parent reply	other threads:[~2006-01-31 16:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-25 18:38 HELP: pppd won't answer/authenticate my dial-in mark.bergman
2006-01-25 19:16 ` James Carlson
2006-01-26 10:26   ` mark.bergman
2006-01-26 10:26   ` mark.bergman
2006-01-26 10:37   ` mark.bergman
2006-01-26 11:46     ` James Carlson
2006-01-26 13:02       ` mark.bergman
2006-01-26 13:13         ` James Carlson
2006-01-26 17:57           ` mark.bergman
2006-01-26 18:06             ` James Carlson
2006-01-27  9:31               ` mark.bergman
2006-01-27 18:01                 ` Clifford Kite
2006-01-27 22:45                 ` James Carlson
2006-01-30 18:25               ` mark.bergman
2006-01-30 18:42                 ` James Carlson
2006-01-31 14:35                   ` mark.bergman
2006-01-31 14:55                     ` James Carlson
2006-01-31 16:45                 ` Unruh [this message]
2006-01-28 15:31             ` jpd
2006-01-27  2:33         ` Unruh
2006-01-27  2:30     ` Unruh
2006-01-25 21:53 ` Unruh
2006-01-25 22:38   ` James Carlson
2006-02-01 12:58 ` mark.bergman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox