[590] in RedHat Linux List

home help back first fref pref prev next nref lref last post

kill pppd does not hang up modem

daemon@ATHENA.MIT.EDU (Julien Maillard)
Wed Oct 23 15:15:58 1996

To: redhat-list@redhat.com
Reply-To: maillard@vt.edu
Date: Wed, 23 Oct 1996 15:12:33 -0400
From: Julien Maillard <maillard@tulipe.val.org>
Resent-From: redhat-list@redhat.com

I set up ppp on my Intel box running RedHat 4.0 (with all updates) with 
netcfg. As root i can start and end ppp connections with no problem using the 
scripts from netcfg, i.e.
/etc/sysconfig/network-scripts/ifup /etc/sysconfig/network-scripts/ifcfg-ppp0
and
/etc/sysconfig/network-scripts/ifdown /etc/sysconfig/network-scripts/ifcfg-ppp0

now to run the above as a regular user, i installed sudo (contrib rpm) and set 
the two above command with visudo, so i can do:
sudo /etc/sysconfig/network-scripts/ifup /etc/sysconfig/network-scripts/ifcfg-p
pp0
and 
sudo /etc/sysconfig/network-scripts/ifdown /etc/sysconfig/network-scripts/ifcfg
-ppp0

so far everything works great... now:
i try to run the two above command from the Net client of tkgoodstuff... the 
first command to open ppp link works normally, but the second command does 
something that i just don't understand: 
it runs the command alright since looking at `ps -aul` i don't see pppd of 
ifdown left running, however killing pppd there does not hang up my modem, 
actually the ppp0 link still shows up in ifconfig. 

Has anyone else tried to run these script from tkgoodstuff? any hint as what i 
might try? again, everything works perfectly if run from a shell...
Thanks
-- 
Julien Maillard                                       maillard@vt.edu
Virginia Tech
                tel: (540) 231 4285,  fax: (540) 231 8836



--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post