help me get my PPP connection working please!!!

help me get my PPP connection working please!!!

Post by JD » Sat, 26 Sep 1998 04:00:00



Like it says in the subject line.

My system is RH5.1 fresh out the box.

I've followed the instructions for setting up a PPP connection in the
installation manual.  I've also read the PPP-HOWTO, the PPP FAQ, the pppd,
chat and minicom man pages.  I've read everything there is on PPP, SLIP,
and connecting to an ISP from home in the NAG.
Basically I'm stumped.  I'd really appreciate it if someone could explain
how and why I can't connect and what the solution is.

would be considered especially valuable)

Oh, and please remember to reply directly to me when you respond.

Here's my chat script and all the relevant output from /var/log/messages.

'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATDT9411462'
'CONNECT' ''
'28800/' ''
'ogin:--ogin:' 'Ptmcg'
'ord:' 'mFFDGr5'
'~--' ''
'TIMEOUT' '120'

password changed below (of course ;-) ):

Sep 24 21:16:13 ecto-1 ifup-ppp: pppd started for ppp0 on /dev/modem at
115200
Sep 24 21:16:13 ecto-1 kernel: registered device ppp0
Sep 24 21:16:13 ecto-1 pppd[659]: pppd 2.3.3 started by root, uid 0
Sep 24 21:16:14 ecto-1 chat[662]: abort on (BUSY)
Sep 24 21:16:14 ecto-1 chat[662]: abort on (ERROR)
Sep 24 21:16:14 ecto-1 chat[662]: abort on (NO CARRIER)
Sep 24 21:16:14 ecto-1 chat[662]: abort on (NO DIALTONE)
Sep 24 21:16:14 ecto-1 chat[662]: abort on (Invalid Login)
Sep 24 21:16:14 ecto-1 chat[662]: abort on (Login incorrect)
Sep 24 21:16:14 ecto-1 chat[662]: send (ATZ^M)
Sep 24 21:16:14 ecto-1 chat[662]: expect (OK)
Sep 24 21:16:15 ecto-1 chat[662]: ATZ^M^M
Sep 24 21:16:15 ecto-1 chat[662]: OK
Sep 24 21:16:15 ecto-1 chat[662]:  -- got it
Sep 24 21:16:15 ecto-1 chat[662]: send (ATDT9411462^M)
Sep 24 21:16:15 ecto-1 chat[662]: expect (CONNECT)
Sep 24 21:16:15 ecto-1 chat[662]: ^M
Sep 24 21:16:32 ecto-1 chat[662]: ATDT9411462^M
Sep 24 21:16:32 ecto-1 chat[662]: CONNECT
Sep 24 21:16:32 ecto-1 chat[662]:  -- got it
Sep 24 21:16:32 ecto-1 chat[662]: send (^M)
Sep 24 21:16:32 ecto-1 chat[662]: expect (28800/)
Sep 24 21:16:32 ecto-1 chat[662]:  28800/
Sep 24 21:16:32 ecto-1 chat[662]:  -- got it
Sep 24 21:16:32 ecto-1 chat[662]: send (^M)
Sep 24 21:16:32 ecto-1 chat[662]: expect (ogin:)
Sep 24 21:16:34 ecto-1 chat[662]: ^M
Sep 24 21:16:34 ecto-1 chat[662]: ^M
Sep 24 21:16:34 ecto-1 chat[662]: ts24.tr S31 login:
Sep 24 21:16:34 ecto-1 chat[662]:  -- got it
Sep 24 21:16:34 ecto-1 chat[662]: send (Ptmcg^M)
Sep 24 21:16:34 ecto-1 chat[662]: expect (ord:)
Sep 24 21:16:34 ecto-1 chat[662]:  ^M
Sep 24 21:16:34 ecto-1 chat[662]: tor S31 login: Ptmcg^M
Sep 24 21:16:34 ecto-1 chat[662]: Password:
Sep 24 21:16:34 ecto-1 chat[662]:  -- got it
Sep 24 21:16:34 ecto-1 chat[662]: send (MYPASSWORD^M)
Sep 24 21:16:35 ecto-1 chat[662]: expect (~)
Sep 24 21:16:35 ecto-1 chat[662]:  ^M


Quote:}%}&^I`yG}'}~

Sep 24 21:16:56 ecto-1 chat[662]:  -- got it
Sep 24 21:16:56 ecto-1 chat[662]: send (^M)
Sep 24 21:16:56 ecto-1 pppd[659]: Serial connection established.
Sep 24 21:16:56 ecto-1 chat[662]: timeout set to 120 seconds
Sep 24 21:16:57 ecto-1 pppd[659]: Using interface ppp0
Sep 24 21:16:57 ecto-1 pppd[659]: Connect: ppp0 <--> /dev/modem
Sep 24 21:17:27 ecto-1 pppd[659]: LCP: timeout sending Config-Requests
Sep 24 21:17:27 ecto-1 pppd[659]: Connection terminated.
Sep 24 21:17:28 ecto-1 pppd[659]: Exit.

Thanx,
        Tobias

 
 
 

help me get my PPP connection working please!!!

Post by James Carlso » Sat, 26 Sep 1998 04:00:00



> 'ABORT' 'BUSY'
> 'ABORT' 'ERROR'
> 'ABORT' 'NO CARRIER'
> 'ABORT' 'NO DIALTONE'
> 'ABORT' 'Invalid Login'
> 'ABORT' 'Login incorrect'
> '' 'ATZ'
> 'OK' 'ATDT9411462'
> 'CONNECT' ''
> '28800/' ''
> 'ogin:--ogin:' 'Ptmcg'
> 'ord:' 'mFFDGr5'
> '~--' ''

Change that line to:
'~--' '\d\c'




> }%}&^I`yG}'}~
> Sep 24 21:16:56 ecto-1 chat[662]:  -- got it
> Sep 24 21:16:56 ecto-1 chat[662]: send (^M)

That's the error.  The ^M is confusing the server.

You're about the 300th person with this problem.  There must be a bad
FAQ entry out there somewhere.

--

IronBridge Networks / 55 Hayden Avenue  71.246W    Vox:  +1 781 372 8132
Lexington MA  02421-7996 / USA          42.423N    Fax:  +1 781 372 8190
"PPP Design and Debugging" --- http://people.ne.mediaone.net/carlson/ppp

 
 
 

help me get my PPP connection working please!!!

Post by Paul Matthew » Sat, 26 Sep 1998 04:00:00




> > 'ABORT' 'BUSY'
> > 'ABORT' 'ERROR'
> > 'ABORT' 'NO CARRIER'
> > 'ABORT' 'NO DIALTONE'
> > 'ABORT' 'Invalid Login'
> > 'ABORT' 'Login incorrect'
> > '' 'ATZ'
> > 'OK' 'ATDT9411462'
> > 'CONNECT' ''
> > '28800/' ''
> > 'ogin:--ogin:' 'Ptmcg'
> > 'ord:' 'mFFDGr5'
> > '~--' ''

> Change that line to:
> '~--' '\d\c'




> > }%}&^I`yG}'}~
> > Sep 24 21:16:56 ecto-1 chat[662]:  -- got it
> > Sep 24 21:16:56 ecto-1 chat[662]: send (^M)

> That's the error.  The ^M is confusing the server.

> You're about the 300th person with this problem.  There must be a bad
> FAQ entry out there somewhere.

James,

Wouldn't it be nice if one of the pppd developers would fix that?  Maybe if
we wrote Al Longyear an email he would at least post a fix.

Regards,

Paul Matthews

 
 
 

help me get my PPP connection working please!!!

Post by donol » Sun, 27 Sep 1998 04:00:00



>Like it says in the subject line.

>My system is RH5.1 fresh out the box.

>I've followed the instructions for setting up a PPP connection in the
>installation manual.  I've also read the PPP-HOWTO, the PPP FAQ, the pppd,
>chat and minicom man pages.  I've read everything there is on PPP, SLIP,
>and connecting to an ISP from home in the NAG.
>Basically I'm stumped.  I'd really appreciate it if someone could explain
>how and why I can't connect and what the solution is.

>would be considered especially valuable)

>Oh, and please remember to reply directly to me when you respond.

>Here's my chat script and all the relevant output from /var/log/messages.>

Tobias

I had the same problem and when I configured the system to dial at boot time
it solved the whole thing.  Startx and then go to the netcfg.  Somewhere in
there you can set it to dial at boot time.  Reboot and see what happens.
Donoli.

 
 
 

1. PPP working, /etc/ppp/ip-up not working, HELP Please

The title explains it all. . .

Current status:  I walked through the entire ppp document again, and was
able to create a chat script to autologin using information inside the
/etc/ppp/options file, ppp-on, ppp-on-dialer, and ppp-off.

But I can't get ip-up to run.  I was careful to follow the exact
tutorial that the PPP HOWTO gave, and it wouldn't run.

In /var/log/messages I can see 'cannot execute /etc/ppp/ip-down, Exec
format error'

It indeed was not the correct format.  I have added a #!/bin/sh to the
first line, and have changed this to #!/bin/bash, and have messed with
all kinds of permissions.  Inside each corresponding file I just edited
down each file until they say:

echo IPUP is RUNNING > ipup.log

or

echo IPDOWN is RUNNING > ipdown.log

And I can run these files by hand and they work, but damned if it will
run with a ppp network layer comes up.  ip-down looked like it has tried
to run as mentioned above, but I can't recreate it.  ip-up has never
tried, according to the /var/log/messages.  I bring the ppp connection
down using ppp-off.  I also have added recommendations accordingn to
documentation and they don't run with exact syntax lifted from these
documents.

I am completely stumped.  Can anyone help?   I cannot find anything
anywhere that gives me a clue about what I might be missing.

I can manually alter the client routing on dialup, and I have an idea on
how to get the server side to alter the routing based on a mickey mouse
script I can write, but it is not the way it should work. If ip-up and
ip-down worked, it would be a piece of cake.  But I can't figure out
this last piece. . .

Help anyone??  Thanks, I would be very grateful.  Have installed and run
several other items under Linux and it all makes sense.  Have used dip
sacripts as well as chat scripts, and they all work fine.  But
/etc/ppp/ip-up and ip-down just flat aren't executing and I can't figure
out why.

Am running PPPD 2.2 under RedHat Linux 4.0.  Everything else works like
a champ.

tx, david

-------------------------------------------------

-------------------------------------------------

2. What's your opinion/experience with LiS???

3. VT220 Emulation on IBM3151

4. Need help with Apache Redirect

5. Problem getting PPP working on 386/33, please help.

6. How to identify a disk

7. help me get my PPP connection working please!!!

8. PPP connection works well ,while SLIP connection doesn't work,why and how?

9. Getting a PPP connection to work.

10. Getting Samba working over a PPP connection

11. Getting a PPP connection working.