Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 1996 09:29:36 -0800 (PST)
From:      "Jordan K. Hubbard" <jkh>
To:        CVS-committers, cvs-all, cvs-usrsbin
Subject:   cvs commit:  src/usr.sbin/ppp command.c defs.h main.c modem.c phase.h ppp.8
Message-ID:  <199612221729.JAA12773@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

jkh         96/12/22 09:29:35

  Modified:    usr.sbin/ppp  command.c defs.h main.c modem.c phase.h ppp.8
  Log:
  For /usr/sbin/ppp, you must choose between running ppp in the background or
  connecting to a host immediately in the foreground.
  
  I would like to be able to run ppp from a script so that my script can be
  sure that it is connected to the 'net before it continues running:
  
    # Dial up the internet.
    ppp -background myprovider || exit 1
  
    do-some-net-command
  
    # Hang up the modem.
    kill -HUP `cat /var/run/ppp.tun0.pid`
  
  Another problem is that the current ppp calls its process id file
  `/var/run/PPP.server', which may conflict if you have more than one IP
  tunnel interface available.
  
  Closes PR#1469
  Submitted by:	Gord Matzigkeit <gord@enci.ucalgary.ca>
  
  Revision  Changes    Path
  1.27      +6 -7      src/usr.sbin/ppp/command.c
  1.8       +6 -1      src/usr.sbin/ppp/defs.h
  1.26      +80 -32    src/usr.sbin/ppp/main.c
  1.26      +13 -3     src/usr.sbin/ppp/modem.c
  1.3       +3 -2      src/usr.sbin/ppp/phase.h
  1.23      +63 -21    src/usr.sbin/ppp/ppp.8



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612221729.JAA12773>