well done !
so, to enable this feature, we must first connect with cable our appletv. When you plug the cable, normally appletv disconnects from WLAN.Ok
logging into the appletv, then we have to kill configd so ..
CODE
kill -9 `ps awx | grep [c]onfig | awk {'print $1'}`
At this point, we have to turn-on airport.
CODE
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setairportpower on
(If you need come kind of encryption look here for a help http://developer.apple.com/documentation/D...rksetup.8.html)
At this point, we need to copy System Preferences, and then enable internet sharing..
Keep on mind, that you MUST use another subnet for this segment of network.
for example. If my net is 192.168.0.x connected to airport, you must change ip address on the interface wired (for example 192.168.1.x ), allowing nat and routing between interfaces. (Be careful with routable address, look here http://www.samspublishing.com/articles/art...Num=6&rl=1)
If you have any questions, write here.
Excuse me for my poor english, but I'm Italian.