SLIP: overruns and >38400 baud?

SLIP: overruns and >38400 baud?

Post by David L » Fri, 28 Oct 1994 14:37:41



2 Questions:

        1) How do I get slip to run >38400 baud, I tried 57600 but
           dip forces the speed to 38400 -- is that a Linux limitation?

        2) after some slip usage ifconfig reports:

sl0       Link encap UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
          inet addr 130.62.133.194  P-t-P 130.62.133.47  Mask 255.255.0.0
          UP POINTOPOINT RUNNING  MTU 296  Metric 1
          RX packets 4235 errors 0 dropped 0 overruns 4061
          TX packets 5994 errors 0 dropped 0 overruns 5691

Is it normal to have that many overruns?  I am using a 16550A UART.
Running some sample ftp file transfers I get anywhere from
1.5 Kby/s (compressed files) up to 3.4 Kby/s (uncompressed text),
which seems to indicate the transfer speed isnt suffering.  Still
the overruns reported is disturbing.

--
David Lai

 
 
 

SLIP: overruns and >38400 baud?

Post by Dirk Nehri » Sat, 29 Oct 1994 22:20:45



> 2 Questions:

>    1) How do I get slip to run >38400 baud, I tried 57600 but
>       dip forces the speed to 38400 -- is that a Linux limitation?

Look into 'man setserial' and 'man stty' on crtscts.

Quote:

>    2) after some slip usage ifconfig reports:

> sl0       Link encap UNSPEC  HWaddr
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
> -00
>           inet addr 130.62.133.194  P-t-P 130.62.133.47  Mask 255.255.0.0

                                                                ^^^^^^^^^^^
I think 255.255.255.0 is a better choice.

Dirk
--
Dirk Nehring, Technische Fakult?t
University of Bielefeld (Germany), Room V0-318
Office-Phone: (+49)(0)521/106-4964

---------------------------------------------------------------
Disclaimer - These opiini^H^H damn! ^H^H ^Q ^[ .... :w  :q  :wq  :wq! ^d  X ^?
exit X Q  ^C ^? :quitbye  CtrlAltDel   ~~q  :~q  logout  save/quit :!QUIT
^[zz ^[ZZZZZZ ^H  man vi ^  ^L  ^[c  ^# ^E ^X ^I ^T ? help  helpquit ^D  ^d
man help ^C ^c help exit ?Quit ?q CtrlShftDel"Hey, what does this button d..."

 
 
 

1. Taylor UUCP 1.05 and baud rates > 38400

:  I am using the linux (slackware 2.0 distribution).
:  I see that the serial drivers can support baud rates up to 115.???
:  (escapes me right now) but the Taylor's UUCP 1.05 will not.  I am
:  using the 16550 UARTS and a high speed external modem.   I see that
:  I need to set a flag bit (flags->spd_vhi) ? with a baud rate of
:  38400.   Is there a patch for the unix/serial.c (or other files)
:  that will let me use these higher baud rates?

Its much more easy. You can set this flag by setserial. Say you want to
set cua1 to 115,200 you only have to issue: setserial /dev/cua1 spd_vhi
That's it. Now if an application sets the prt to 38400 it is actually set
to 115,200.

--

Gruss
Joerg

2. Setup won't ru!

3. POSIX.1 method of setting serial communications speed above 38400 Baud

4. Plextor

5. term at 38400 baud

6. select()/fwrite() gets errno==EINTR

7. Why is 38400 baud my max speed between my 2 UART 16550As?

8. Exabyte Eagle96

9. Terminal baud rate more 38400 - how?

10. greater 38400 baud rates

11. any comm packages use 38400+ bauds?

12. Keywords: Sun, zs serial port, 38400 baud limit, V.34 modem (Win95/NT)

13. Wyse 60 + Digiboard @ 38400 = buffer overrun