/dev/cua? speeds...14.4k modem stuff

/dev/cua? speeds...14.4k modem stuff

Post by Tim Mill » Mon, 10 Jan 1994 02:15:32



I recently got a 14.4k baud (V.42) modem for Christmas.  Since I,
unfortunately, am mor familiar with MS Windows, I opted to first install
it under DOS and work the bugs out there.  Well, I plugged the card
in and reconfigured Procomm Plus for Windows.  The output, after dialing
was EXTREMELY lagged.  So, I went to the Control Panel and changed
COM3's speed.  That fixed the problem completely.

Now, I am having the same problem with Linux.  I am going to assume,
since I am otherwise clueless on the internal workings of Linux,
that it is the same problem.  The question is, how do I change /dev/cua2's
port speed to 14400, or even 57600?  (Yes, the modem has MNP5 and supports
that high speed)  [Disclaimer: I think I just set my MS Windoze to 14.4
though...can't remember]

Thanks ahead of time!
Tim Miller

 
 
 

/dev/cua? speeds...14.4k modem stuff

Post by Steven M. Gal » Mon, 10 Jan 1994 06:10:38



>that it is the same problem.  The question is, how do I change /dev/cua2's
>port speed to 14400, or even 57600?  (Yes, the modem has MNP5 and supports
>that high speed)

There are a couple of things:
(1)  The speed of the port is the speed at which the computer talks to the
     modem (DTE).  If you are using a 14.4 modem it probably uses compression
     and you want to set your port speed to something like 19200 or 38400.
     There is no entry for 14400, anyway you want to send at a higher speed
     to the modem so it can take advantage of the compression.  You want to
     set your modem to use hardware flow control (RTS/CTS).  This allows the
     modem to tell the computer when to send data.
(2)  The speed that the modems communicate with each other is 14400 (DCE).
     Read your modem manual and make sure it is set up to connect at 14.4
     and the compression is enabled and all of that stuff.
(3)  If you use kermit you can type:
        set line /dev/cua2 (this is COM3 under ms-dos)
        set baud 38400

If you need more help e-mail me.

Steve
--
Steven M. Gallo                         "...If you don't expect too much from
SUNY at Buffalo, Dept. of Comp. Sci.     me you might not be let down..."


 
 
 

/dev/cua? speeds...14.4k modem stuff

Post by Carl Boernec » Tue, 11 Jan 1994 08:24:24



>Now, I am having the same problem with Linux.  I am going to assume,
>since I am otherwise clueless on the internal workings of Linux,
>that it is the same problem.  The question is, how do I change /dev/cua2's
>port speed to 14400, or even 57600?  (Yes, the modem has MNP5 and supports
>that high speed)  [Disclaimer: I think I just set my MS Windoze to 14.4
>though...can't remember]

Just dump a line such as the following into your /etc/rc.local
file, and it'll make sure that everything is setup correctly
when it boots.  Also, you might want to think about disabling
MNP-5 and use V.42bis instead.  When I was running UUCP with MNP
5 (because I was lazy, and hadn't changed it yet), I was getting
around 1300-1400 cps over my 14.4k modems.   When I removed the
MNP 5 initalization from the dial string, and only turned on
V.42/V.42bis, it jumped to a constant 1600-1690.  Pretty big
differance.

        # Set port speed (on /dev/cua2) to 57,600 bps
        echo "Setting serial port to 57,600 DTE rate..."
        setserial /dev/cua2 spd_hi

Good luck.  However, I wonder if this is really the problem, as
Linux should automagically set the speed to 38,400 bps; normally
enough for the average 14.4k modem.  I could be wrong, though.

--

   "If bankers can count, how come they have eight windows and
   only four tellers?"

 
 
 

1. Need help w/ DIP and connecting at modem speeds over 14.4K

I am trying to use DIP and a 28.8k modem to complete a SLIP connection
at 28.8k.  I can get a connection at 14.4k (I force the modem to
connect at 14.4k). When I try to connect at 28.8k or let the modem
connect at the highest speed available, it doesn't work.  The modem
just makes a lot of varying tones, but will not connect.  The modems
and lines on each side are ok.  Any ideas?  BTW, I do have a 16550
chip on the serial port.  Would using setserial help?  Your help
is welcome.  Thanks for your help in advance.  Could you reply

Ted Milkovich

2. Sun Sparc 10/Solaris 2.3 Max TCP

3. SLIP problems: getting 9600 equivalent speed from 14.4k?

4. Sendmail under 2.4

5. Help - SLIP and DIP at speeds greater than 14.4K

6. Running Progress on Linux

7. 2.4 -> 14.4k modem migration problems

8. Sensor

9. external USR Sporster 14.4k fax/modem

10. 14.4k Modem under DOSEMU

11. Using 14.4k modems via minicom

12. efax+US.Robutistic Sporter 14.4K data/fax modem

13. PPP with 14.4K modem