From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 103eaf,6b0aad965a983f3e X-Google-Thread: 1020c6,6b0aad965a983f3e X-Google-Thread: fa528,6b0aad965a983f3e X-Google-Attributes: gid103eaf,gid1020c6,gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!elk.ncren.net!newsflash.concordia.ca!cs.ubc.ca!nntp.itservices.ubc.ca!not-for-mail From: Unruh Newsgroups: comp.protocols.ppp,comp.unix.admin,comp.unix.tru64 Subject: Re: HELP: pppd won't answer/authenticate my dial-in Date: 31 Jan 2006 16:45:30 GMT Organization: ITServices, University of British Columbia Message-ID: References: <1138214286.979883.192580@g14g2000cwa.googlegroups.com> <1138271829.748575.185100@g43g2000cwa.googlegroups.com> <1138280536.101346.180660@o13g2000cwo.googlegroups.com> <1138298261.007434.120630@g49g2000cwa.googlegroups.com> <1138645529.218562.62360@g47g2000cwa.googlegroups.com> X-Trace: nntp.itservices.ubc.ca 1138725930 13792 142.103.234.23 (31 Jan 2006 16:45:30 GMT) X-Complaints-To: abuse@interchange.ubc.ca User-Agent: nn/6.6.4 Xref: g2news1.google.com comp.protocols.ppp:243 comp.unix.admin:839 comp.unix.tru64:246 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