Jump to content

Red5

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

462 profile views

Red5's Achievements

Newbie

Newbie (1/14)

  1. I found this script in this thread. that error comes from the original, i only changed some file links. The sed commands parses through data streams. in this case the cat would generate a stream and pipe output into the input of the first sed looking for the default values and changing them the the values needed for Mark V ICS again piping into another sed command to modify the secondary and tunneling that output to overwrite (or create new if non existant) our temp.bootpd.plist com.apple.NetworkSharing.plist is unmodified only need to be turned off before changing settings and turned back on again to put them into effect in the script it seems in the original post the .plist was left out of the command. and i had modified mine by hand before using the script, while still figuring things out. try this: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.NetworkSharing.plist sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat.plist NAT -dict-add SharingNetworkNumberStart 172.16.42.0 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.NetworkSharing.plist sudo ifconfig bridge100 172.16.42.42 netmask 255.255.255.0 up cat /etc/bootpd.plist | sed "s/172.16.42.1/172.16.42.42/"|sed "s/172.16.42.2/172.16.42.43/" > /tmp/temp.bootpd.plist sudo mv /tmp/temp.bootpd.plist /etc/bootpd.plist
  2. Found a lot of great info in this thread and was able to get ICS running in Yosemite just by modifying a couple lines in a script mentioned above. Just took some poking around and a little bit of guess work to find the answer. sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.NetworkSharing.plist sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 172.16.42.0 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.NetworkSharing.plist sudo ifconfig bridge100 172.16.42.42 netmask 255.255.255.0 up cat /etc/bootpd.plist | sed "s/172.16.42.1/172.16.42.42/"|sed "s/172.16.42.2/172.16.42.43/" > /tmp/temp.bootpd.plist sudo mv /tmp/temp.bootpd.plist /etc/bootpd.plist sudo kill -HUP 'pgrep bootpd' com.apple.InternetSharing.plist was changed to com.apple.NetworkSharing.plist
×
×
  • Create New...