|
|||||||||
|
|||||||||
|
|||
|
To enable this feature, we must first connect with ethernet cable to 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:
sudo kill -9 `ps awx | grep [c]onfig | awk {'print $1'}`
Code:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I Code:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setairportpower on At this point, we need to copy System Preferences to our appletv, and then enable internet sharing in the apple style. If you share your wired connection to Airport, you have an 802.11n access-point. If you share your wireless connection to Ethernet, you have a simple router, or a bridge wireless. 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/unroutable address, look here http://www.samspublishing.com/articl...&seqNum=6&rl=1 ) Now, the goal is, using the Kernel Event Manager with Kicker, building a script, that whenever the system changes, automatically, the script turns-on Airport. Look here for some intresting reference: http://www.macgeekery.com/gspot/2006...n_your_scripts |
|
|||
|
Quote:
Quote:
Is this something you've actually gotten to work, or is this a work in progress? I haven't been able to find complete instructions on how to do this anywhere. Thanks |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|