Subject: port-i386/13085: problems using Ricochet GT USB modem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mtepel@post.harvard.edu>
List: netbsd-bugs
Date: 06/01/2001 22:33:26
>Number:         13085
>Category:       port-i386
>Synopsis:       cannot reconnect to ricochet when diconnected
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 01 19:32:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Tepel
>Release:        NetBSD-current May 26 snapshot
>Organization:
	
>Environment:
	
System: NetBSD gw 1.5V NetBSD 1.5V (GENERIC) #47: Sat May 26 12:20:02 PDT 2001 chs@pc:/usr/chs/netbsd/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	The Ricochet GT USB modem is detected as a Ricochet GS modem,
in theory would be okay since they are allegedly the same.
If the modem is connected and on when the machine is booted, pppd
cannot connect successfully.  One has to turn the mode off and then
on.  Then pppd can connect.
If ricochet disconnects me, or if pppd is killed with HUP, pppd is
unable to connect thereafter to ricochet.  After turning the modem off and
then on one is able to connect again.
The problem is troubling because the internet connection is
unreliable.  The "persist" option doesn't work (since pppd can't reconnect).
This is the output from /var/log/messages for pppd failing to connect:
Jun  1 19:06:55 gw pppd[322]: pppd 2.4.0 started by root, uid 0
Jun  1 19:06:56 gw chat[324]: report (CONNECT)
Jun  1 19:06:56 gw chat[324]: abort on (NO CARRIER)
Jun  1 19:06:56 gw chat[324]: abort on (ERROR)
Jun  1 19:06:56 gw chat[324]: send (AT^M)
Jun  1 19:06:57 gw chat[324]: expect (OK)
Jun  1 19:07:42 gw chat[324]: alarm
Jun  1 19:07:42 gw chat[324]: Failed
Jun  1 19:07:42 gw pppd[322]: Connect script failed
Jun  1 19:07:44 gw pppd[322]: Exit.
>How-To-Repeat:
Connect to ricochet (pppd call ricochet with /etc/ppp/peers/ricochet).
skill -1 pppd or kill -1 the process.
try pppd call ricochet it fails.

>Fix:
Turn mode off and then on when ricochet disconnects, which is
relatively often.




















>Release-Note:
>Audit-Trail:
>Unformatted: