Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > AppleTV

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2007, 12:01 PM
aole
Status: Offline
Junior Member
 
Join Date: Apr 2007
Posts: 4
Rep Power: 0
aole is on a distinguished road
Default Apple TV as AccessPoint, Bridge, or Simple Router - howto

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'}`
At this point,the Airport interface is power off according with
Code:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I
So we have to re-turn-on airport.
Code:
sudo /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/documenta...rksetup.8.html )
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2009, 03:28 PM
peller
Status: Offline
Trial Member
 
Join Date: Apr 2009
Posts: 1
Rep Power: 0
peller is on a distinguished road
Default

Quote:
Originally Posted by aole View Post
Code:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -setairportpower on
This path doesn't seem to exist in the 2.3 release.

Quote:
At this point, we need to copy System Preferences to our appletv, and then enable internet sharing in the apple style.
Could you elaborate? How is this done on the AppleTV?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 01:26 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105