]
From: Harry Kalogirou <[email protected]>
To: [email protected]
Cc: Linux-8086 <[email protected]>
Subject: Re: webserver stalls [was Re: bug in (linux) slattach]
Date: 21 Oct 2002 12:55:03 +0300
Quoted 33 lines · Harry Kalogirou
Quoted 2 lines
Quoted 2 lines · Harry Kalogirou
...
Quoted 19 lines
As I suspected, misconfigued line. Configure your like this :
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>;
eol = <undef>; eol2 = <undef>; start = <undef>; stop = <undef>; susp = <undef>;
rprnt = <undef>; werase = <undef>; lnext = <undef>; flush = <undef>; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon(quoted diff) +0
-3-ixoff -iuclc -ixany -imaxbel -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0bs0 vt0
ff0(quoted diff) +0
-2-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echokeQuoted 6 lines
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:
Quoted 3 lines
stty 4800 -F /dev/ttyS0 -crtsctsbecause 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