Talk:Enable Internet Sharing

From AwkwardTV
Jump to: navigation, search

Aole: 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 ..

kill -9 `ps awx | grep [c]onfig | awk {'print $1'}`

At this point, we have to turn-on airport.

/System/Library/CoreServices/RemoteManagement/ -setairportpower on

(If you need come kind of encryption look here for a help )

At this point, we need to copy System Preferences, and then enable internet sharing..

So WE have a fully function 802.11n WLAN access point or a bridge wirless with basic routing.

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 )

Aole: Ok, I've enabled Internet Sharing from System Preferences but stills a problem. My Internet Connection is provided by Wlan, when I attached the network cable, Finder uses only cable connection. I knew that is a problem of interfaces's priority, but if I change the priority of Ethernet Interface in System Preferecens placing in the top of the list Airport, the problem remains.

So what about interfaces's priority ? Suggestions ?

Heliode: Just thinking out loud: people have managed to install System Couldn't internet sharing be enabled from this? btw, not sure if you already are, but you should really try fseventer to gather information on what changes are made on the file system when you enable internet sharing.

Comment Removed, incorrect page.

Uh, unless I'm really confused, WebDav is not at all the same thing as Internet Sharing. Internet Sharing would enable the Apple TV to share its Ethernet connection to wireless clients, or vice versa, as a bridge from wireless to Ethernet. See: Mac OS X 10.4 Help: Sharing your Internet connection --Jonathan 20:12, 29 March 2007 (CEST)

-- In Mac OS X System Preferences, the Sharing icon presents a variety of things. The main tab, "Services," turns on AFP, SMB, WWW, FTP, Etc, while the "Internet" sharing tab offers one button "Internet Sharing," which sets up routing, NAT and DHCP automatically, turning the device into an ultra simple router. Danieleran 06:20, 30 March 2007 (CEST)

-- did aynone have any further success on it? The problem seems to be that /usr/libexec/InternetSharing fails, cause the Airport-Interface gets automatically disabled, when a cable is plugged in. A solution is to kill configd. Then both interfaces are operating, but InternetSharing wants to write to configd, so thats no solution. Anyone got more information on this or any solutions? --Appletv ger 20:13, 7 June 2007 (CEST)

proxy server

prasys: How about setting up a proxy server or squid with it. I mean , it will be nice to create a sort of envoriment for the rest of the folks. I know 256MB of RAM is not enough , but then if you have 3-4 computers it will be handy !

worked for a while

my appletv (1.0, up to 2.4) lacked some of the specified files, I got them from a 10.4.10 installation disk. started InternetSharing, both interfaces were operational and it worked, until I added the InternetSharing in rc.local and rebooted - now I can't enable both the ethernet and the wireless connection.

Edit: It works, the trick is that the ethernet port must be empty during the booting process (even unconnected cable messes it) and to kill the configd daemon after that. All described files from the front page are necessary.