Jump to content

Bl1tz3dShad0w

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Bl1tz3dShad0w

  1. Also,

    Please take note that when reviewing the script it is advised to set the portion

    #Backup old NAT files and bootpd
    if [ -e /Library/Preferences/SystemConfiguration/com.apple.nat.plist ]; then
    mv /Library/Preferences/SystemConfiguration/com.apple.nat.plist /plistbackups/
    echo "Backed up old NAT file"
    fi
    if [ -e /Library/Preferences/SystemConfiguration/com.apple.nat.lockfile ]; then
    mv /Library/Preferences/SystemConfiguration/com.apple.nat.lockfile /plistbackups/
    echo "Backed up old NAT lock file"
    fi
    if [ -e /etc/bootpd.plist ]; then
    mv /etc/bootpd.plist /plistbackups/
    echo "Backed up old bootpd file"
    fi
    sleep 1

    to replace with below

    #Backup old NAT files and bootpd
    if [ -e /Library/Preferences/SystemConfiguration/com.apple.nat.plist ]; then
    cp /Library/Preferences/SystemConfiguration/com.apple.nat.plist /plistbackups/
    echo "Backed up old NAT file"
    fi
    if [ -e /Library/Preferences/SystemConfiguration/com.apple.nat.lockfile ]; then
    cp /Library/Preferences/SystemConfiguration/com.apple.nat.lockfile /plistbackups/
    echo "Backed up old NAT lock file"
    fi
    if [ -e /etc/bootpd.plist ]; then
    cp /etc/bootpd.plist /plistbackups/
    echo "Backed up old bootpd file"
    fi
    sleep 1

    That is if you prefer to have the files copied instead of being moved.

  2. DAC,

    Considering you are using OS X , what version?

    Apple has a fancy way of doing things and is forcing the 192.168.1.X subnet rather than the 172.16.42.X for sharing ( assuming this is what you are trying to do)

    What is the contents of /etc/bootpd.plist and /Library/Preferences/SystemConfiguration/com.apple.nat.plist?

×
×
  • Create New...