mike --

While we welcome succinctness, you've taken it to a point that makes things
a bit hard to follow. Still, I suspect your problem is in the chatscript
portion of the ppp command.

You say you send:

> Use this for real connection:  pppd /dev/modem 57600 connect
>'/usr/sbin/chat " " ATDTxxxxxxx  CONNECT " "  Username:  xxxx  Password:
>xxxx ' noipdefault defaultroute
>

Since you've obviously modified this from what you really use (all the x's),
I'm not certain how exactly to read it. But I believe you are waiting for a
space at the start, where you don't want to be waiting for anything. That
is, where your script reads 
                chat " " ATDT
it should read
                chat "" ATDT
without the embedded space.

Not sure of this ... it's been some mnths since I last ysed pppd/chat ...
but I think this is your problem.

Leaving ip_forwarding off is fine in this application.


Is this connection command all 
At 05:16 PM 7/29/00 -0700, mike mcmanus wrote:
>Hi,
>I've just installed linux 5.1 on a second hard drive. i know I need to do a
>lot more reading but I am impatient to get connected to my isp.  i am using
>the MASTERING LINUX Arman Danesh book.
>My problem and details as succinctly as I know how :  redhat
>5.1....ppp2.3.3-4 kernel 2.0.34.  Am trying to connect to isp.  Used mincom
>and can connect and reciever ip addr. 
>
> Use this for real connection:  pppd /dev/modem 57600 connect
>'/usr/sbin/chat " " ATDTxxxxxxx  CONNECT " "  Username:  xxxx  Password:
>xxxx ' noipdefault defaultroute
>
>There is no modem dialing.  I checked /var/log/messages and, typical for
>each attempt,  I get this:
>
>kernel  ppp ver 2.2.0
>kernel ppp dynamic channel....
>kernel  pppline disc. registered
>pppd  pppd 2.3.3 started by root
>chat    failed
>pppd connect script failed
>pppd exit 
>pppd line disc. unregistered
>
>Chat consistently fails  so  is that the prob and if so how to fix.  I have
>gone to /usr/sbin/chat and it is there in hex so it not missing.
>
>only other thing I notice ip forwarding is off.  I'm assuming that's ok.



--
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to