[EMAIL PROTECTED] wrote:
> hi,
>
> now iam fully confused and gave up trying it myself.
>
> the problem is that iam trying to log into my server
>
> using PPP. for this, it requires me to start ppp on
>
> the server using the account 'ppp' at the server.
>
> so i tried to place that in 'ppp-on' script.
>
> Sep 20 00:29:16 indigo pppd[1246]: Connect: ppp0 <--> /dev/ttyS1
> Sep 20 00:29:20 indigo pppd[1246]: local IP address 144.16.67.20
> Sep 20 00:29:20 indigo pppd[1246]: remote IP address 144.16.67.232
> Sep 20 00:49:39 indigo -- MARK --
> Sep 20 00:51:59 indigo pppd[1246]: Modem hangup
> Sep 20 00:51:59 indigo pppd[1246]: Connection terminated.
> Sep 20 00:51:59 indigo pppd[1246]: Connect time 22.8 minutes.
> Sep 20 00:51:59 indigo pppd[1246]: Sent 15559 bytes, received 8951 bytes.
> Sep 20 00:52:00 indigo pppd[1246]: Exit.
>
Since you did not get the help you were looking for I will try.
First, I do not know what the -detach is trying to do. There is a nodetach
and updetach in the pppd man page that talks of not detaching from the
terminal that is controlling it. from the looks of the log, everything
worked. If you did not get returned to the command prompt it may be because
of the -detach not forking.
It would appear that the two outputs you sent are not from the same session
at least from the connect times, one at 22.8 minutes and the other at 4.1
minutes. It may be the server is killing your session after not traffice
for some time. I don't know.
I think that it may actually be working and you just don't know it. Try it
again and from another terminal session send us the output of ifconfig and
route. You might also try pinging something on the web and see what that
returns.
>
> and i get some send and recieve strings on the terminal itself :
>
> snip
> rcvd [CCP ConfAck id=0x4]
> rcvd [IPCP ConfReq id=0x1 <addr 144.16.67.232> <compress VJ 0f 01>]
> sent [IPCP ConfAck id=0x1 <addr 144.16.67.232> <compress VJ 0f 01>]
> local IP address 144.16.67.20
> remote IP address 144.16.67.232
> Script /etc/ppp/ip-up started (pid 1328)
> Script /etc/ppp/ip-up finished (pid 1328), status = 0x0
>
All this looks ok
>
> and after some time,.......
>
> Modem hangup
> Script /etc/ppp/ip-down started (pid 1217)
> Connection terminated.
> Connect time 4.1 minutes.
> Sent 372 bytes, received 320 bytes.
> Waiting for 1 child processes...
> script /etc/ppp/ip-down, pid 1217
> Script /etc/ppp/ip-down finished (pid 1217), status = 0x0
>
> i never got any prompt at all.....
>
What prompt were you looking for? One on the remote machine to type ppp
on? It looks like by logging in as user ppp the shell is the script to
start the ppp connection on the remote end. To this point everything points
to your being connected.
>
> i read so many FAQ's and checked many mailing lists also, and got
> confused much and cannot go further on it on my own.
>
There is a lot of info out there. much of it outdated. You might try
linuxconf and set up the ppp connection that way since every thing really
looks pretty simple. Seems like there is a ppp guide on the redhat supprot
site that maybe of use. If you are using a recent version of redhat there
is also a pppdialer tool that has a gui to setup the connection that has
worked for me in the past but I have slept since I used it.
> thanks
> Madhu P
>
Hope this helps
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list