From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry Kalogirou Subject: Re: webserver stalls [was Re: bug in (linux) slattach] Date: 20 Oct 2002 20:06:54 +0300 Sender: linux-8086-owner@vger.kernel.org Message-ID: <1035133503.2915.64.camel@cool> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: jb1@btstream.com Cc: Linux-8086 > On 19 Oct 2002, Harry Kalogirou wrote: > > > > > Since I had used ELKS for long time on my network and I hardly had > > checksum errors, had other biger problems 8), I think that this has > > >From what I've seen in the mailinglist archives, I think other people have > had similar problems. They probably just gave up when no one answered > their vague, sometimes irrelevant, questions. > > > something to do with the serial line altering bytes that ELKS transmits. > > Can you send me the output of "stty -a -F /dev/ttySX" after you setup > > the connection. Maybe the line is not corectly setup on linux side (XOFF > > XON and stuff). > > After issuing "/bin/stty -F /dev/ttyS0 4800" on the Red Hat 7.0 Linux box, > "stty -a -F /dev/ttyS0" displays: > speed 4800 baud; rows 0; columns 0; line = 0; > intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; > eol2 = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; > lnext = ^V; flush = ^O; 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 > 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 & Harry