[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text output with ip-up...



  Hi, I'm trying to use ip-up (and eventually ip-down) with my Mint setup.
  Basically, I'm trying to output my logon stats (such as ip address) to a
  text file /var/log/ip-log. Here is what I've done (but isn't working)
  
#
# My IP-UP File
#
# Put here --> /etc/ppp/ip-up (and ip-down)
#
PATH=/usr/local/bin:/bin:/usr/ucb:/etc:/usr/etc:/etc/ppp:/var/log
#
PROG=$0
IFACE=$1
DEVICE=$2
SPEED=$3
LOCALIP=$4
REMOTEIP=$5
#
$4 > /var/log/ip-log
HOSTNAME=$4
#

  Thanks in advance for any help! ;-)
  

       __________________________________________________________________
      /               /               /                 /               /\
     /    --T--      /   Sysop of The DarkForce! BBS   /     /\        / /
    /  -A T A R I-  /   Phone 1-606-886-9014 Today!   /  Dark><Chyld  / /
   /      --G--    /   The Fuji -still- Lives...!!   /       \/      / /
  /_______________/_______________/_________________/_______________/ /
  \_________________________________________________________________\/