"Fossies" - the Fresh Open Source Software Archive

Member "fake-1.1.11/.fakerc" (8 Jul 2009, 1032 Bytes) of package /linux/misc/old/fake-1.1.11.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ############################################################
    2 # Set up basic environment for fake
    3 # Variables are set as bash variables
    4 # i.e. <VARIABLE>=<value>
    5 #
    6 # Must set:
    7 #  ARP_DELAY: Delay in seconds between gratuitous arp
    8 #  PID_DIR: Directory where pid files are kept
    9 #  INSTANCE_CONFIG_DIR: Directory where specific 
   10 #   configuration files for an IP address takeover are kept
   11 #  CLEAR_ROUTERS_FILE: New line delimited list of routers to rsh
   12 #    to and execute "clear arp-cache"
   13 #  FAKE_RSH: Programme to use to "rsh" to another machine
   14 #    to obtain macaddress by running ifconfig
   15 #
   16 # PATH can be set here to ensure that send_arp is in the 
   17 #  path
   18 ############################################################
   19 
   20 FAKE_HOME="/etc/fake"
   21 
   22 #PATH=/sbin:/usr/sbin:/bin:/usr/bin
   23 
   24 ARP_DELAY=1
   25 CLEAR_ROUTERS_FILE="$FAKE_HOME/clear_routers"
   26 PID_DIR="/var/run"
   27 INSTANCE_CONFIG_DIR="$FAKE_HOME/instance_config"
   28 
   29 #Only needed if you wish to send gratuitous arp
   30 #advertising the "real" mac address when turning fake off
   31 #FAKE_RSH=ssh
   32 
   33