PPP still not working...

PPP still not working...

Post by IT Dep » Fri, 18 Sep 1998 04:00:00



This PPP thing is starting to get on my nerves,

What's happening now is that the line drops after 30 seconds or so.
issuing 'ifconfig' never tells me that a ppp0 device is created.

I get this in /var/log/messages

Sep 17 08:40:04 vitesse pppd[333]: Serial connection established.
Sep 17 08:40:05 vitesse pppd[333]: Using interface ppp0
Sep 17 08:40:05 vitesse pppd[333]: Connect: ppp0 <--> /dev/ttyS2
Sep 17 08:40:08 vitesse pppd[333]: LCP terminated by peer
Sep 17 08:40:11 vitesse pppd[333]: Connection terminated.
Sep 17 08:40:12 vitesse pppd[333]: Exit.

Now, correct me if I'm wrong, but didn't I have to issue a
'route add' at some point ?
I've greped through the /etc/rc.d till the cows come home,
but RH5.1 is no where near as simple (in rc.d terms) as Slackware...

Should I be using routed ?

(just a note for those of you who missed my ealier problems)
This box is supposed to be the gateway to the Internet from an
internal network.

Rob Speed --
IT Dept - Vickers Laboratories Ltd

 
 
 

PPP still not working...

Post by Clifford Ki » Fri, 18 Sep 1998 04:00:00


The time frame of 3 seconds between connect and termination by peer
suggests authentication failure.  Look in hte /var/log/debug to see.
Routing to the ppp interface is handled by pppd if things are set up
correctly.

===


>This PPP thing is starting to get on my nerves,
>What's happening now is that the line drops after 30 seconds or so.
>issuing 'ifconfig' never tells me that a ppp0 device is created.
>I get this in /var/log/messages
>Sep 17 08:40:04 vitesse pppd[333]: Serial connection established.
>Sep 17 08:40:05 vitesse pppd[333]: Using interface ppp0
>Sep 17 08:40:05 vitesse pppd[333]: Connect: ppp0 <--> /dev/ttyS2
>Sep 17 08:40:08 vitesse pppd[333]: LCP terminated by peer
>Sep 17 08:40:11 vitesse pppd[333]: Connection terminated.
>Sep 17 08:40:12 vitesse pppd[333]: Exit.
>Now, correct me if I'm wrong, but didn't I have to issue a
>'route add' at some point ?

--
Clifford Kite                                              Not a guru. (tm)


 
 
 

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. Multi-homed, Routing, masquerading

3. PCMCIA Boot to Jaz drive...???

4. Expect with telnet

5. Capture stills from JVC Video camera

6. LLNL XDIR Version 2.1b2 not working with AIX 4.3.1

7. Sony camera download stills...

8. HOME NETWORK CONNECT TO INTERNET BY PPP NOT WORK !!

9. PPP load balancing works for incoming but not outgoing???

10. How do I get PPP to work for a user, not just root?

11. PPP not working after kernel patch