🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26343

Using newsx-0.11, why pppd-2.2.0 got tcgetattr: I/O error

#26343
From: tyro01
Date: Tue, 17 Feb 1998 00:00
62 lines
2672 bytes
I use korean ISP's PPP services(dynamic IP ), and
installed inn-1.7.2, newsx-0.11 on my PC (Slackware
3.4(with kernel 2.0.33))

I can do local posting, feeding news to my ISP inn-1.7.kr
using newsx, etc.  Most articles ( even if encoded in
korean lang)are transfered successfully with newsx.

Everythig ok before transfering one article( encoded in
korean lang).

Only one articles (maybe it including some special data)
can't be tranfered using newsx.  I got "tcgetattr: I/O error"
in syslog file.

I used this script for feeding
!/bin/sh
PATH=/usr/news/bin:$PATH;LOG="/var/log/news/newsx.log"
OPTIONS="-i --window 10 -dd -l $LOG --stat $LOG "
NEWSX="/usr/news/bin/newsx"; NEWSSERVER=" news.dacom.co.kr"
${NEWSX} ${OPTIONS} $* ${NEWSSERVER}

here are my log files( I inserted kdebug 31 in ppp/options)

TIA
---


syslog
------
 ......
02:06:34..pppd[3552]: pppd 2.2.0 started by root, uid 0
02:06:54..pppd[3552]: Serial connection established.
02:06:55..pppd[3552]: Using interface ppp0
02:06:55..pppd[3552]: Connect: ppp0 <--> /dev/cua2
02:06:58..pppd[3552]: local  IP address 210.120.146.61
02:06:58..pppd[3552]: remote IP address 164.124.203.21
    -- starting newsx-0.11 --
02:10:17..pppd[3552]: Hangup (SIGHUP)
02:10:17..pppd[3552]: Modem hangup
02:10:17..pppd[3552]: Connection terminated.
02:10:17..pppd[3552]: tcgetattr: I/O error
                      ~~~~~~~~~~~~~~~~~~~~
02:10:17..pppd[3552]: Exit.
02:10:17..pppd[3595]: Hangup (SIGHUP)

messages
--------
    ......
  ---  starting newsx-0.11 ---
 innd: f:news.dacom.co.kr
 kernel: ppp_dev_stats called<6>ppp_dev_stats called<7>ppp_dev_xmit [ppp0]: skb 00095f3c  <- What does this message mean ?
 pppd[3552]: Hangup (SIGHUP)
 pppd[3552]: Modem hangup
 pppd[3552]: Connection terminated.
 pppd[3552]: Exit.
 pppd[3595]: Hangup (SIGHUP)
 kernel: ppp: channel ppp0 closing.
 kernel: ppp: channel ppp0 going down for IP packets!

Technical Details
Message-ID: <6ccsq5$1eo$1@newstmp1.bora.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6ccsq5$1eo$1@newstmp1.bora.net>
Subject: Using newsx-0.11, why pppd-2.2.0 got tcgetattr: I/O error
Date: Tue, 17 Feb 1998 00:00:00 +0000
From: tyro01@chollian.net
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 325977300
Summary: Using newsx-0.11, why pppd-2.2.0 got tcgetattr: I/O error
Reply-To: tyro01@chollian.net
Organization: DACOM Internet Service
User-Agent: tin/pre-1.4-980202 (UNIX) (Linux/2.0.33 (i586))
Newsgroups: news.software.nntp,comp.os.linux.networking