ip-up is executed via PPP I'm pretty sure... also if your running RedHat
then check out the scripts in

/etc/sysconfig/network-scripts/*

as these are run to start the dialling.

Have you tried running `pppd` from the command line with all the parameters
you need to connect? I have modified a demanddial script to use the RedHat
scripts to dial up... here is a copy for you to try and see what's going
on...

This should work as it's a cut down of the crap that RedHat uses... I hate
ppp-watch

<snip>
if [ $UID != 0 ]; then
    if [ -x /usr/sbin/usernetctl ]; then
        if /usr/sbin/usernetctl $CONFIG report ; then
            exec /usr/sbin/usernetctl $CONFIG up
        fi
    fi
    echo "Users cannot control this device." >&2
    exit 1
fi

. /etc/sysconfig/network-scripts/ifcfg-$1

if [ -n "${IPADDR}${REMIP}" ] ; then
  NETWORKIP="${IPADDR}:${REMIP}"
fi

echo $$ > /var/run/$1.pid
/usr/sbin/pppd lock modem crtscts asyncmap 00000000 $LINESPEED \
                nodefaultroute usepeerdns name $PAPNAME \
                connect "/usr/sbin/chat -v -f
/etc/sysconfig/network-scripts/chat-$1" \
                remotename $DEVICE ipparam $DEVICE $NETWORKIP \
                linkname $DEVICE \
                ipcp-accept-local ipcp-accept-remote

rm /var/run/$1.pid >/dev/null 2>&1
</snip>



thanks,
George Vieira
Network Administrator
Citadel Computer Systems P/L
http://www.citadelcomputer.com.au
PGP Fingerprint: C697 F10B F6A0 F4E9 C5DF B3E7 F057 B03A 99E8 7F2C


-----Original Message-----
From: Subba Rao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 August 2000 4:27 AM
To: Sydney Linux Users List
Subject: [SLUG] 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.

Any pointers on how to fix this minor issue appreciated.

Thank you in advance.
-- 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

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


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to