From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry Kalogirou Subject: [Fwd: Re: webserver stalls [was Re: bug in (linux) slattach]] Date: 21 Oct 2002 13:12:55 +0300 Sender: linux-8086-owner@vger.kernel.org Message-ID: <1035195173.2915.98.camel@cool> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: Linux-8086 From: Harry Kalogirou To: jb1@btstream.com Cc: Linux-8086 Subject: Re: webserver stalls [was Re: bug in (linux) slattach] Date: 21 Oct 2002 12:55:03 +0300 > On 20 Oct 2002, Harry Kalogirou wrote: > > > > On 19 Oct 2002, Harry Kalogirou wrote: > ... > > As I suspected, misconfigued line. Configure your like this : > > > > intr = ; quit = ; erase = ; kill = ; eof = > > ; > > eol = ; eol2 = ; start = ; stop = ; susp = > > ; > > rprnt = ; werase = ; lnext = ; flush = ; > > min = 1; time = 0; > > -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts > > ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon > > -ixoff > > -iuclc -ixany -imaxbel > > -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 > > bs0 vt0 > > ff0 > > -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop > > -echoprt -echoctl -echoke > > > > > > Basicaly the above configuration is done by the -L parameter of > > slattach, except the -crtscts. What I do just to be sure is : > > > > # slattach -p [c]slip -L -e /dev/ttyS0 > > # stty -F /dev/ttyS0 -crtscts > > # slattach -p [c]slip -s 4800 -m /dev/ttyS0 & > > I did as you suggested (with one exception), confirmed that the settings > were exactly like yours, and found *no* difference; the 99-byte webpage > file works, the 100-byte byte webpage files don't. The exception was: > stty 4800 -F /dev/ttyS0 -crtscts > because my slattach program doesn't seem to change the baud rate. Also, > I still getting frequent seemingly-random errors when I ping the ELKS box. Mmm.. weird.. I probably got you tired with all this but can you try and see if the failures are realy random? A good aid at this the -p parameter of ping. I'm just convinsed that there is a problem after the packets leave ELKS. Harry