TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PPP and ip-up




My PPP connection is working fine. However, when it runs, it executes ip-up
script twice. I am not able to figure out why it is running twice. The man pages
for pppd did not help.
 
The log files show that ip-up is being invoked by pppd. Even the debug option
for pppd, reveals the same information in the syslog.

The following is the output from the pstree (executed in ip-up) debugging information.


 |-pppd(28274) -d /dev/ttyS1 115200 bsdcomp 15,15 connect chat\040-v\040""\040atdt1234567\040"CONNECT"
 |  `-ip-up(28299) /etc/ppp/ip-up ppp0 /dev/ttyS1 115200 172.227.51.108 172.97.214.34
 |     `-pstree(28303) -pa


 |-pppd(28274) -d /dev/ttyS1 115200 bsdcomp 15,15 connect chat\040-v\040""\040atdt1234567\040"CONNECT"
 |  `-ip-up(28678) /etc/ppp/ip-up ppp0 /dev/ttyS1 115200 172.227.51.108 172.97.214.34
 |     `-pstree(28680) -pa

Is my invocation of pppd correct?

#!/bin/sh

PATH=/sbin:/usr/sbin:/usr/local/sbin

/usr/sbin/pppd -d /dev/ttyS1 115200 bsdcomp 15,15 connect 'chat -v "" atdt1234567 "CONNECT"'

Thank you for any pointers.

-- 

Subba Rao
subb3@attglobal.net
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com