On Sat, Jun 13, 1998 at 03:00:11PM -0600, David Pellegrino wrote:
> Hello all,
> I've been trying to get ppp up and running on my Linux box, to no avail. I
> have read almost everything I can get my hands on trying to get ppp working,
> HOWTOs, the pppd manual, etc. I've configured my options, pap-secrets, etc.
> I dial in to my ISP using minicom, log in and it starts ppp at the server
> end. I exit out of minicom without resetting the modem and give the command
> "pppd -d /dev/cua1 115200 &" (which is straight out of the PPP-HOWTO, with
> my modem settings) and then I hear my modem hang up. It does that
> everytime. I've gone back and checked my settings in the various files and
> make sure their right and they seem to be. I just DON'T get it. I can't
> believe something so fundamental to using a computer, would be so difficult
> to implement. I must be missing something simple. If anyone can give me a
> hand, is willing to take a look at my configuration files, anything, please
> let me know.
Have you tried it with 'chat' instead of minicom? Here's a shellscript
I use to dial my office. Using the same thing with different phone
numbers and passwords works just as well dialing my ISP:
#!/bin/sh
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
export PATH
pppd connect 'chat -v "" ATDT1xxxyyyzzzz CONNECT \\r\\d\\r Userid:
mylogin word mypassword E_BO ppp' /dev/cua3 38400 debug crtscts modem
mru 296 mtu 296 asyncmap 0
The line starting with "pppd" and the two lines following it are all
supposed to be a single line.
To use this you would replace:
xxxyyyzzzz with the phone number you want to dial;
Userid: with the prompt your ISP gives you when it answers the phone;
mylogin with your login name;
word with the password prompt your ISP gives;
mypassword with your password
E_BO with the shell prompt you get once logged in
the \\r\\d\\r stuff sends a carriage return, pauses, then sends another
carriage return. You may or may not need to do that, replace it with whatever
magic incantation it takes to get the first login prompt from your host.
The "mru 296 mtu 296" is unnecessary, it is there for reasons of my own
that have nothing to do with whether or not it'll work, you won't need 'em.
BTW, I got this straight out of the HOWTO document, and it worked first
time without any hassle.
Fred
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
But God demonstrates his own love for us in this:
While we were still sinners,
Christ died for us.
------------------------------- Romans 5:8 (niv) ------------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.