I am reposting this, as I have not seen it on the list. Pardon me if the
shows up twice...


I have developed a strange ppp related problem after upgrading from
RH5.1 linux to RH6.0 and ppp-2.3.7-2. Not really sure it is a ppp
problem per se, but maybe somebody could point me in the right
direction?

I have no problems connecting, and the connection and transfer rates,
etc are good (maybe seem even a little better than before). My problem
is disconnecting. I sometimes wind up with a dead modem. I've checked
thru quite a bit of written docs, mailing lists, news groups, etc and
don't find a reference to this particular problem. I have posted this
problem on the RH mailing list, without any response to speak of. Leads
me to think maybe something in my config is screwy since no one else
seems to having this problem. Again, sometimes I seem to disconnect
cleanly, sometimes not so it is intermittent.

In a nutshell, I am using the same scripts as before (which are not the
default RH scripts), same exact hardware -- nothing different except the
upgrade. I have two serial devices -- mouse and modem. The modem is an
external Diamond SurpaExpress on ttyS0. The symptom is that after
disconnecting and trying to reconnect, chat refuses to dial. In fact it
stops at the first AT command, and I eventually have to kill it.  Trying
'echo AT > /dev/modem' in an xterm, also hangs (ie, no bash prompt, no
nothing).  CTRL-C kills it, and I get 'bash: /dev/modem Interrupted
system call'.  Any AT commands (ATZ, etc) from any script or xterm are
the same -- it hangs indefinitely. statserial also hangs in this
situation.  setserial -a looks normal to me, and compared to another
user on a mailing list is identical: 

     /dev/modem, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
      Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait:
       3000, closing_wait2: infinte Flags: spd_vhi skip_test

strace echo AT > /dev/modem also seems to hang also. The modem lights
are off, so it at least is physically disconnecting.  ifconfig shows no
ppp*. ps and top show no remnants of any related process. I've tried
various init strings, and played with a few of the ppp options -- but
nothing has any effect. Everything else on the system seems to work
flawlessly.  I have installed all the RH updates -- except the kernel
update. This is a standalone, home machine (P-166) with nothing really
fancy running connecting to a typical ISP. Kernel version is 2.2.5-15
and is the stock 586 RH kernel. Most services are turned off in
inetd.conf. I did add the following lines to conf.modules as suggested by
RH:

     alias ppp-compress-26 ppp_deflate
     alias ppp-compress-24 ppp_deflate
     alias ppp-compress-21 bsd_comp


pppd is started (after chat has completed):

     /usr/sbin/pppd lock modem /dev/modem 115200         \
     defaultroute   \ 
     crtscts \
     debug \ 
     kdebug 1 \ 
     0.0.0.0:0.0.0.0 \ 
     noipdefault \ 
     nopersist \
     netmask 255.0.0.0 \ 
     user $ACCOUNT 

(I've played around with the options some, but this is its current
incarnation.)


The only way to get the modem back is to reboot or: I start minicom,
letting it initialize modem, then exit *without* resetting the modem.
This does the trick every time. Turning modem off/on does not help.


One log: notice some messages are duplicated ???? These messages are not
always duplicated, but I have noticed this on several occasions. This
particular session seem to end 'normally'.

Jun 25 11:55:43 hals chat[7448]: ATDT992-0029^M^M^M
Jun 25 11:55:43 hals chat[7448]: CONNECT
Jun 25 11:55:43 hals chat[7448]:  -- got it 
Jun 25 11:55:43 hals chat[7448]: send (^M)
Jun 25 11:55:43 hals pppd[7450]: pppd 2.3.7 started by hal, uid 500
Jun 25 11:55:43 hals kernel: ppp_ioctl: set dbg flags to 10000 
Jun 25 11:55:43 hals kernel: ppp_ioctl: set flags to 10000 
Jun 25 11:55:43 hals pppd[7450]: Using interface ppp0
Jun 25 11:55:43 hals pppd[7450]: Connect: ppp0 <--> /dev/modem
Jun 25 11:55:43 hals kernel: ppp_tty_ioctl: set xasyncmap 
Jun 25 11:55:43 hals kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff 
Jun 25 11:55:43 hals kernel: ppp_ioctl: set flags to 10000 
Jun 25 11:55:43 hals kernel: ppp_ioctl: set mru to 5dc 
Jun 25 11:55:43 hals kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff 
Jun 25 11:55:43 hals kernel: ppp_ioctl: set flags to 10000 
Jun 25 11:55:44 hals kernel: ppp_tty_ioctl: set xmit asyncmap 0 
Jun 25 11:55:44 hals kernel: ppp_ioctl: set flags to f010003 
Jun 25 11:55:44 hals kernel: ppp_ioctl: set mru to 5dc 
Jun 25 11:55:44 hals kernel: ppp_tty_ioctl: set rcv asyncmap 0 
Jun 25 11:55:44 hals kernel: ppp_ioctl: set flags to f010003 
Jun 25 11:55:48 hals pppd[7450]: Remote message: ^D^EM-j^B^F
Jun 25 11:55:48 hals kernel: ppp_ioctl: set flags to f010043 
Jun 25 11:55:48 hals kernel: PPP BSD Compression module registered 
Jun 25 11:55:48 hals kernel: PPP Deflate Compression module registered 
Jun 25 11:55:48 hals kernel: ppp_ioctl: set flags to f010003 
Jun 25 11:55:49 hals kernel: ppp_ioctl: set maxcid to 16 
Jun 25 11:55:49 hals kernel: ppp_ioctl: set flags to f01000f 
Jun 25 11:55:49 hals pppd[7450]: local  IP address 204.255.239.59
Jun 25 11:55:49 hals pppd[7450]: remote IP address 204.255.239.10
Jun 25 11:55:51 hals kernel: ppp_ioctl: set flags to f01000b 
Jun 25 11:55:51 hals kernel: ppp_ioctl: set maxcid to 16 
Jun 25 11:55:51 hals kernel: ppp_ioctl: set flags to f01000f 
Jun 25 11:55:51 hals pppd[7450]: local  IP address 204.255.239.59
Jun 25 11:55:51 hals pppd[7450]: remote IP address 204.255.239.10
Jun 25 11:56:06 hals identd[7544]: Connection from iglou2.iglou.com
Jun 25 11:56:06 hals identd[7544]: from: 192.107.41.8 ( iglou2.iglou.com
) for: 1565, 110
Jun 25 11:56:06 hals identd[7544]: Returned: 1565 , 110 : NO-USER
Jun 25 12:14:39 hals kernel: ppp_ioctl: set flags to f01000b 
Jun 25 12:14:39 hals kernel: ppp_ioctl: set flags to f01000b 
Jun 25 12:14:39 hals kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff 
Jun 25 12:14:39 hals kernel: ppp_ioctl: set flags to f010008 
Jun 25 12:14:39 hals kernel: ppp_ioctl: set mru to 5dc 
Jun 25 12:14:39 hals kernel: ppp_tty_ioctl: set rcv asyncmap 0 
Jun 25 12:14:39 hals kernel: ppp_ioctl: set flags to f010008 
Jun 25 12:14:39 hals pppd[7450]: Terminating on signal 2.
Jun 25 12:14:39 hals pppd[7450]: Connection terminated.
Jun 25 12:14:39 hals kernel: ppp: channel ppp0 closing. 
Jun 25 12:14:39 hals pppd[7450]: Connect time 19.0 minutes.
Jun 25 12:14:39 hals pppd[7450]: Sent 9246 bytes, received 36760 bytes.
Jun 25 12:14:40 hals pppd[7450]: Exit.


There are some other curiosites. If I use wmppp (windowmaker dock app),
it *always* reports ERROR when I disconnect. It also often attempts to
redial as if it thinks the connection was just dropped. First line in
chat is " ''    ATZ ". Sometimes the modem goes 'off hook' at this
point as evidenced by a dialtone. Don't know that any of these mean
anything by themselves, but something is squirrelly.

Hope this isn't unnecessarily lengthy.

Help!!! and TIA


-- 
Hal B
[EMAIL PROTECTED]
--
            Linux helps those who help themselves

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to