On Fri, Jul 23, 1999 at 07:15:32PM -0400, MAURICIO RODRIGUEZ wrote:
> Hi, Can somebody HELP ME OUT PLEASE
> 
> I am using AT&T Worldnet service to connect to the Internet. AT&T  uses
> standardPPP (Point-to-Point
> Protocol) with CHAP. I am following instructions found in their site
> http://www.wurd.com/wurd/software/dialers/linux.html, and my machine seems
> to connect and then 0.6 minutes later the connection drops. I have done
> everything you can imagine but have not been able to get it to work. So,
> please help me out. The following is the information you request in the file
> README.linux that comes with Red Hat Linux 6.0 Operating system.
> 
> Packages installed on my computer: (My computer works with either NT or
> Linux)
> 
> kernel-2.2.5-15
> ppp-2.3.7-2
> xchat-0.9.4-3
> Modem: internal modem 33.3 kbps
> 
> This is the script used to establish the connection:
> 
> /usr/sbin/ppp-on
> 
> #!/bin/bash
> # Script to establish connection from my machine(LINUX OS) to
> # worldnet via PPP and CHAP authentication.
> 
> /usr/sbin/pppd name "[EMAIL PROTECTED]" \
> -d connect '/usr/sbin/chat -t 30 -v ABORT BUSY "" ATDTxxxxxxx \
> CONNECT ""' /dev/modem 57600 noipdefault kdebug 25 modem defaultroute
> crtscts
> 
> # where xxxxxxx is the number I dial
> # end of the script ppp-on
> 
> *****************************************************************
> I also edited the following file
> 
> /etc/ppp/chap-secrets
> 
> login * "password" *
> 
> ******************************************************************
> and the following file
> 
> /etc/resolv.conf
> 
> domain worldnet.att.net
> nameserver yyy.xxx.xxx.y
> nameserver xxx.yyy.yyy.x
> nameserver yyy.xxx.xxx.y
> nameserver xxx.yyy.yyy.x
> 
> ******************************************************************
> I am also providing the messages(pertaining to the problem) written to
> 
> /var/log/messages
> 
> Jul 22 22:38:19 localhost kernel: CSLIP: code copyright 1989 Regents of the
> University of California
> Jul 22 22:38:19 localhost kernel: PPP: version 2.3.3 (demand dialling)
> Jul 22 22:38:19 localhost kernel: PPP line discipline registered.
> Jul 22 22:38:19 localhost kernel: registered device ppp0
> Jul 22 22:38:19 localhost pppd[857]: pppd 2.3.7 started by root, uid 0
> Jul 22 22:38:20 localhost chat[858]: abort on (BUSY)
> Jul 22 22:38:20 localhost chat[858]: send (ATDT5731453^M)
> Jul 22 22:38:20 localhost chat[858]: expect (CONNECT)
> Jul 22 22:38:36 localhost chat[858]: ATDT5731453^M^M
> Jul 22 22:38:36 localhost chat[858]: CONNECT
> Jul 22 22:38:36 localhost chat[858]:  -- got it
> Jul 22 22:38:36 localhost chat[858]: send (^M)
> Jul 22 22:38:36 localhost pppd[857]: Serial connection established.
> Jul 22 22:38:36 localhost kernel: ppp_ioctl: set dbg flags to 190000
> Jul 22 22:38:36 localhost kernel: ppp_ioctl: set flags to 190000
> Jul 22 22:38:36 localhost pppd[857]: Using interface ppp0
> Jul 22 22:38:36 localhost pppd[857]: Connect: ppp0 <--> /dev/modem
> Jul 22 22:38:36 localhost kernel: ppp_tty_ioctl: set xasyncmap
> Jul 22 22:38:36 localhost kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
> Jul 22 22:38:36 localhost kernel: ppp_ioctl: set flags to 190000
> Jul 22 22:38:36 localhost kernel: ppp_ioctl: set mru to 5dc
> Jul 22 22:38:36 localhost kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
> Jul 22 22:38:36 localhost kernel: ppp_ioctl: set flags to 190000
> Jul 22 22:39:11 localhost pppd[857]: Hangup (SIGHUP)
> Jul 22 22:39:11 localhost pppd[857]: Modem hangup
> Jul 22 22:39:11 localhost pppd[857]: Connection terminated.
> Jul 22 22:39:11 localhost pppd[857]: Connect time 0.6 minutes.
> Jul 22 22:39:11 localhost kernel: ppp: channel ppp0 closing.
> Jul 22 22:39:12 localhost pppd[857]: Exit.
> 

This is maybe be shot in the dark, but I get a similar hangup with RH6.0
if I specify a pppd option speed greater than my tty speed. In ppp-on,
before you start pppd, try adding:

 stty 57600 < /dev/modem

see if that helps. This was not a problem for me before upgrading (but
maybe I did this and don't remember). You can do the same with
setserial, but get a sort-of error message in the logs.

FWIW, the speed option here is not your rated modem speed, but the speed
at which your system communicates with your modem, or something like
that. You should be able to use 115200 instead, which, at least, in my
case makes a dramatic difference in download speeds, but does not really
effect connection speed.

HTH

-- 
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